Networking

Hardware

Software

Consultation

 
Creating Files From The Command Line  
 

The simplest way to create a file, and fill it, from the command line is:

cat > myfile <<EOF
###########################
# The Content of the file #
###########################
# Note that the file will #
# look exactly as it is   #
# typed here.             #
###########################
EOF

That's it !!

 
 
 
Disable "On This Computer" in Evolution  
 

If your are setting up email accounts for the non-technical it is important to simplify as much as possible. To this end lets disable the "On This Computer" folder in Evolution.

First make sure that Evolution is NOT running.

Then open up a terminal, and move to /home//.evolution/mail and then type the following:

rm -drf local
ln -s /dev/null local

Open Evolution, note that the "On This Computer" header does not have a "+" next to it and can not be opened.

Currently any email account has it's "Drafts" and "Sent" folders pointed to a non existent location. So...

Open Evolution Preferences, it's in the Edit menu, and for each of your accounts click "Edit", go to the Defaults tab and relocate the "Drafts" and "Sent" folder locations.

 
 
 
Disable Local Domain SSH Strict Checking  
 

Suppose you want to bypass key checking for a particular subnet (192.168.0.0/24).

Add the following lines to the beginning of the SSH configuration file.

Host 192.168.0.*
StrictHostKeyChecking no
UserKnownHostsFile=/dev/null


Note that the configuration file should have a line like Host * followed by one or more parameter-value pairs.

Host *means that it will match any host.

Essentially, the parameters following Host * are the general defaults.

Because the first matched value for each SSH parameter is used, you want to add the host-specific or subnet-specific parameters to the beginning of the file.

 
 
StartPrev12345678910NextEnd

Page 3 of 15