Networking

Hardware

Software

Consultation

 
Continue Running A Script After Closing The Terminal  
 

Have you ever wanted to leave a terminal session before your command has finished running.
It's actually quite easy.

"^z" means to press your control button and the "z" button at the same time, it will not function as a pasted command.

^z ← "ctrl-z"
bg
disown %1
exit

This will stop the current command, send it to process in the background, disown it, and then finally close the session...
DONE...

 
 
 
Copy All Files With .mp3 Extension, Retaining Directory Hierarchy  
 

Open up a command line and type:

find ./Music/ -iname '*.mp3' -exec cp -b --parents {} ./New_Music/ \;

All mp3's from ./Music will be copied to ./New_Music including the directories.

 
 
 
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.

 
 
StartPrev12345678910NextEnd

Page 2 of 12