Saturday, July 31, 2010
Linux Commands
Do you like this story?
Command Description
- apropos whatis --- Show commands persistance to string.
- man -t man | ps2pdf - > man.pdf --- make a pdf of a manual page which command Show full path name of command time command See how long a command takes
- time cat --- Start stopwatch. Ctrl-d to stop.
- cd- --- Go to previous directory
- cd --- Go to $HOME directory (cd dir & command) Go to dir, execute command and return to current directory.
- pushd --- Put current dir on stack so you can popd back to it file searching
- alias l='ls -l --color=auto' --- quick directory listing
- ls -lrt --- List files by date. See also newest and find_mm_yyyy
- ls /usr/bin | pr -T9 -W$COLUMNS --- Print in 9 columns to width of terminal
- find -type f ! -perm -444 --- Find files not readable by all (useful for web site)
- find -type d ! -perm -111 --- Find dirs not accessible by all (useful for web site)
- locate -r 'file[^/]*\.txt' --- Search cached index for names. This re is like glob *file*.txt
- look reference --- Quickly search (sorted) dictionary for prefix
- grep --color reference /usr/share/dict/words --- Highlight occurances of regular expression in dictionary
This post was written by: Anto Dominic
Anto Dominic is a part time blogger and crazy in networking and servers. Follow him on Twitter
Subscribe to:
Post Comments (Atom)
0 Responses to “Linux Commands”
Post a Comment
Share your valuable comments