Linux redhat commands cheat sheet

broken image

mydirectory/myfile.txt (a file in a subdirectory of current directory) mydirectory/myfile.txt (same as above, a file in a subdirectory of current directory). myfile.txt (a file in current directory). Which commandname find the path to a commandname whatis commandname tells you what a command is and does. Useful information available through info include: Basically, navigate using tab key to select a node, return key to enter a node, ‘l’ key to go back, ‘q’ to quit. Somewhat obscure to navigate, but quite useful. Man -l commandname list all the man pages available for commandname man -l intro interesting reading– when you have the time man -K keyword searches all man pages for keywords info the other major way to find information about commands. To see other sections, you’ll need to use the -s flag. man alone will display the lowest-numbered section only. Sometimes the same command will exist in more than one section. Revised Getting information man commandname display the manual page for a particular command named commandname man -S sectionnumber commandname display the manual page under a specific section numbered sectionnumber for the command named commandname.

broken image