Linux Tips

Handling batch jobs

 * if you want to send a job on a computer and logout without killing the job:

Transferring files
:> rsync -avub -e ssh server:data/*.gz data/ be careful with the slash after directory names, with or without is no exactly the same behavior. Look at man rsync before using it.
 * the scp command:
 * if you do some regular updates, there is no -update option to scp. Then, better use the rsync command. For instance with

Working with zip files
Linux usually provides a couple of command piping gzip zgreg, zcat, zdiff, zless, zmore, zegrep,... Here is a simple extension of tail and head for zipped files, that you can call ztail and zhead (example is for tail, replace "tail" with "head" everywhere to get zhead) and add to your own /bin directory:

The coma to point conversion in French environment
if you are working with a configuration of Linux which has not the dot "." as a standard format for floating points data (for instance the coma "," in French), you can add the following two lines in your .bashrc file: LC_NUMERIC=en_US export LC_NUMERIC this will make the job without too many side effects.