Linux Basics and Shell Scripting Outline
Linux Basics and Shell Scripting Outline
Outline
Presentation from Uplatz
3
3. Linux Utilities
➢Disk utilities (du, df)
➢Process utilities (ps and all options)
➢Text processing utilities (head, tail, wc, find,
grep etc)
➢Miscellaneous commands
➢Compressing and archiving (backup and
restore) utilities
4
4. System Administrative Basics
➢Networking (ftp, tftp, scp, telnet, ssh)
➢File systems and devices
➢Accessing administrator (root) privileges
➢Package management
5
5. Shells and Shell Programming (BASH)
➢ Command line interpreters and SSH
➢ Variables in shell (Local and Global (export))
➢ Environment variables
➢ How to write the script?
➢ Quotes (Single and Double along with variables)
➢ Test commands or [ expr ]
➢ Conditional statements (if … fi, if … else … fi, if … elif … else … fi, case
statement)
➢ Repetitive statements (for and while loops)
➢ Conditional execution (&& and ||)
➢ Functions
➢ Signal Handling (Default action, Handling Signals and Ignoring
Signals)
➢ Commands such as kill, trap, shift
➢ Command line processing and command line arguments
➢ Processing command line options (getopts)
➢ Utilities: cut, join, tr, sed, uniq, awk
6