Wednesday, October 24th, 2007...8:11 am

Linux Command Line


If you are new to the site, sign up for the RSS Feed. All new sign ups get punch and pieRSS feed. Thanks for visiting!


Again I have been told I’m a computer bigot and I should give some tips for LINUX. I hate all operating systems equally but that is besides the point. If you are a linux user or starting to use linux these tips might make your life a whole lot easier.

Tips found at Pixelbeat.com

Command Description
apropos word Show commands pertinent to word. See also threadsafe
  which command Show full path name of command
  time command See how long a command takes
time cat Start stopwatch. Ctrl-d to stop. See also sw
nice info Run a low priority command (info in this case)
renice 19 -p $$ Make shell (script) low priority. Use for non interactive tasks
look reference Quickly search (sorted) dictionary for prefix
grep –color
reference /usr/share/dict/words
Highlight occurances of regular expression in dictionary
  gpg -c file Encrypt file
  gpg file.gpg Decrypt file
alias hd=’od -Ax -tx1z -v’ Handy hexdump. (usage e.g.: • hd /proc/self/cmdline | less)
alias realpath=’readlink -f’ Canonicalize path. (usage e.g.: • realpath ~/../$USER)
set | grep $USER Search current environment
ls /usr/bin | pr -T9 -W$COLUMNS Print in 9 columns to width of terminal
  touch -c -t 0304050607 file Set file timestamp (YYMMDDhhmm)
, , ,

StumbleUpon It!

4 Comments

Leave a Reply