script
Commandnano
Text Editorinfo
Systemapropos
script
in Homework 2putty
Blank Screen Problempwd
- Show Your Current Directorycd
- Change Directoryls
- List the Contents of a Directorycat
- Print the Contents of a Filerm
- Delete a Filemkdir
- Create a Directoryrmdir
- Delete a Directorycp
- Copy Filesmv
- Move a File or Directoryecho
- Print Text to the Terminalhostname
- Print the Name of Your Host Machinegrep
- Finding Strings inside Fileshead
- View the Top of a Filetail
- View the Bottom of a Filesort
- Print a File in Sorted Orderuniq
- Eliminate Duplicate Linesdiff
- Differences between Filesfile
- Show the File Typedate
- Get the Date and Timewc
- Counting characterswhich
- Finding a Program Filewhereis
- Finding Files Used by a Programlocate
- Search for Any Filefind
- Search for Files Using Different Criteriawho
- See Users Logged Onfinger
- Get information on Usersbzip2
gzip
- the GNU Compression Utilitytar
- Packaging Files for Transfer or Storagechmod
chmod
with Numeric Argumentschmod
Practiceln
chmod
ls
Commandchmod
Chantcat
and Redirectionssh
and Pseudo-terminalschmod
Twice to Change Permissionsls
to Construct a Long Pathnameread
commandenv
- Show All Global Variablespushd
- Pushes a Directory onto the Stackpopd
- Pops a Directory off the Stackdirs
- Displays the Directory Stackfc
to Edit and Run an Old Commandsource
Built-inif
Statementsif
... then
Constructtest
test
operatorstest
Operators for Comparing Numberstest
String Operatorstest
test
if ... then ... else ...
Constructif ... then ... elif ...
Constructbasename
for ... in ...
Loopsfor
Loopsfor
Loopswhile
Loopsuntil
Loopscontinue
break
for
Loop Examplescase
Statementselect
Statementread
Commandread
Commandcase
and for
in a Real World Scriptshift
- Promotes Command Line Argumentsset
- Initialize Command Line Argumentsset
awk