Tuesday, April 27, 2010

List of useful Linux commands

For myself:

1. tar zcf output Folder
Archive the folder to .tar.gz

2. ls -lt
Listing, sort by modified time

3. tar ztf file
See tar file content

4. find directory -name '*key'
Finding all files ending with 'key'

5. Ctrl+Z, fg, bg
Suspend the process, bring the process to foreground, background respectively

6. a2ps -o output ascii_file
Convert the Ascii file into ps, for better printing

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home