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) | |
4 Comments
October 24th, 2007 at 9:14 am
Good for you.
BTW, “computer bigot” is maybe a little extreme.
October 24th, 2007 at 9:58 am
I know Bigot is extreme but is a fun way to describe my self. I had a comment once where a guy said “obliviously this writer thinks all computer users are single white males, because this is only about PC not macs”
October 26th, 2007 at 8:01 pm
ITS CALLED TERMINAL.
October 27th, 2007 at 7:30 am
I am sorry I offended your LInux sensibility
Leave a Reply