TAILIEUCHUNG - Suse Linux 9.3 For Dummies- P19
Suse Linux For Dummies- P19:This part is all about getting you started on your way to a lasting relationship with SUSE Linux. Before you can begin your SUSE Linux experience, I spend a chapter explaining what SUSE Linux is and what you can do with SUSE Linux (pretty much anything you can do with a PC that runs Windows). | 250 Part III Doing Stuff with SUSE__ the current directory. To copy these files to the mnt floppy directory use the following command cp image .pcx mnt floppy Bash replaces the single question mark with any single character and copies the four files to mnt. The third wildcard format . matches a single character from a specific set of characters enclosed in square brackets. You may want to combine this format with other wildcards to narrow down the matching filenames to a smaller set. To see a list of all filenames in the etc X11 xdm directory that start with x or X type the following command Is etc X11 xdm xX Repeating previously typed commands To make repeating long commands easy for you bash stores up to 500 old commands as part of a command history basically just a list of old commands . To see the command history type history. bash displays a numbered list of the old commands including those that you entered during previous logins. If the command list is too long you can limit the number of old commands that you want to see. For example to see only the ten most recent commands type this command history 10 To repeat a command from the list that the history command shows simply type an exclamation point followed by that command s number. To repeat command number 3 type 3. You can repeat an old command without knowing its command number. Suppose you typed more usr lib X11 xdm xdm-config a few minutes ago and now you want to look at that file again. To repeat the previous more command type the following more Often you may want to repeat the last command that you just typed perhaps with a slight change. For example you may have displayed the contents of the directory by using the ls -l command. To repeat that command type two exclamation points as follows Please purchase PDF Split-Merge on to remove this watermark. Chapter 16 What s a Shell and Why Do I Care 251 Sometimes you may want to repeat the .
đang nạp các trang xem trước