A shell is a program whose primary purpose is to read commands and
run other programs.
This lesson uses Bash, the default shell in many implementations of
Unix.
Programs can be run in Bash by entering commands at the command-line
prompt.
The shell’s main advantages are its high action-to-keystroke ratio,
its support for automating repetitive tasks, and its capacity to access
networked machines.
The shell’s main disadvantages are its primarily textual nature and
how cryptic its commands and operation can be.
mv [old] [new] moves (renames) a file or
directory.
rm [path] removes (deletes) a file.
* matches zero or more characters in a filename, so
*.txt matches all files ending in .txt.
? matches any single character in a filename, so
?.txt matches a.txt but not
any.txt.
Use of the Control key may be described in many ways, including
Ctrl-X, Control-X, and ^X.
The shell does not have a trash bin: once something is deleted, it’s
really gone.
Most files’ names are something.extension. The
extension isn’t required, and doesn’t guarantee anything, but is
normally used to indicate the type of data in the file.
Depending on the type of work you do, you may need a more powerful
text editor than Nano.
find finds files with specific properties that match
patterns.
grep selects lines in files that match patterns.
--help is an option supported by many bash commands,
and programs that can be run from within Bash, to display more
information on how to use these commands or programs.
man [command] displays the manual page for a given
command.