Category Archives: Shells
Filename Expansion: *, ?, [ ]
Filenames are the most common arguments used in a command. Often you will know only part of the filename, or you will want to reference several filenames that have the same extension or begin with the same characters. The shell … Continue reading
Matching Multiple Characters
The asterisk (*) references files beginning or ending with a specific set of characters. You place the asterisk before or after a set of characters that form a pattern to be searched for in filenames. If the asterisk is placed … Continue reading
Command and Filename Completion
The BASH command line has a built-in feature that performs command line and file name completion. Automatic completions can be effected by pressing the TAB key. If you enter an incomplete pattern as a command or filename argument, you can … Continue reading
History
The BASH shell keeps a history list, of your previously entered commands. You can display each command, in turn, on your command line by pressing the UP ARROW key. Press the DOWN ARROW key to move down the list. You … Continue reading
Command Line Editing
The BASH shell, which is your default shell, has special command line editing capabilities that you may find helpful as you learn Linux. You can easily modify commands you have entered before executing them, moving anywhere on the command line … Continue reading

