Jun 18, 2022
In Welcome to the Forum
In our last episode, we learned about the terminal process and how to run commands in Unix or Linux. We have listed several important commands to commit to memory. Man pages Industry Email List (ual) No one is supposed to memorize the entire Unix manual (although some have read it in its entirety). We are going to show you how you can refer to the Unix manual to expand your knowledge with the commands we introduce, or which you can discover on your Industry Email List own as part of your learning path. You will learn how to query the manual using its interface to get the Specific information you need for your script or command line instruction. For example, the shell's manual browser can Industry Email List be accessed by using the shortcut "$man <enter>" followed by a utility or other query. If you enter only the passphrase, you will receive the message Industry Email List "Which man page did you want?" as in the following: ~$man Which man page do you want? ~ $ man grep The Unix man page for the grep utility will open in your terminal with details on how to use the program and specs on available options. You can find the associated man page for each program that ships with Unix (or Linux, depending on which system you're currently using). When you issue commands, you can specify one or more options using letters preceded by Industry Email List one or two dashes. Most programs have the ability to display some form of help text. For example, when browsing the man pages, you can type 'h' at any time to get its help text. This is important because it tells you how to get out! (Exit at any time by typing 'q'.) Note that you will be navigating Industry Email List primarily by keys rather than moving a cursor around the screen with your mouse. We will explore the concept in more detail with the Vim text editor.