Web server iis - For example, in the GUI after you have
For example, in the GUI after you have a terminal window open, type the fol- lowing command at the prompt: mahjonggAfter a few seconds, the Mahjongg game is displayed. You can start any pro- gram at a command prompt that you can click from the GNOME menu if youknow what the underlying program name is. Note that if you re in a virtualterminal (press Alt+F1) instead of the GUI, you may see an error message. Some programs require a graphical environment in which to run, which acharacter-based terminal obviously doesn t have. Putting Wildcard Expansion to Good UseComputing life would be tedious if you had to repeat the same command onmultiple files. After all, aren t repetitive tasks what the computer was designedto do? Wildcard expansionrefers to the ability of one command to be executedagainst many files. The asterisk (*) and the question mark (?) are two wildcardcharacters that are used to match any filename, or a portion of a filename. Forexample, you can use the following command to see a long directory listingthat includes only files that end with a .docfilename extension: ls -l *.docThe files listed may include resume.doc, cover_letter.doc, andto_editor.doc, for example. Working with Long CommandsAs you become used to the command line, you should learn some shortcutsto ease your typing chores. In this section, I show you some features of thebashshell designed to make your life on the command line as pleasant aspossible. These features include command-line completion, editing, and usingthe history of previously entered commands. Asking Linux to complete a command or filename for youConsidering that you do much more typing on the command line in Linuxthan you may normally do in a GUI environment, a feature that providestyping shortcuts wherever possible is great. Command completion is a function of the shell that completes filename and system commands. 282Part III:Getting Up to Speed with Linux