| 
 
|  |  | 
	
		|  |  
		| 
            | Linux  Training   Overview 
 
 
				
This 2-day course is an introduction to writing Linux shell scripts. Topics include the use of pipes and
filters, shell variables, start-up scripts, looping and decision constructs, and script exit status. Hands-on
exercises include writing scripts to schedule recurring tasks, automate system maintenance, create
archives and backups, connect to remote machines, and send and retrieve files across the network.
Students are also introduced to software tools available under Linux.
 Audience
 
 
   System and application programmers, testers, configuration managers, and future system
   administrators.
		Prerequisites
				
 Students should be comfortable using Linux and be able to edit text files using a text
 editor. Prior experience using a programming language is recommended.
 Linux  Training   Course duration
 
 2 days
 
 Linux  Training   Course outline
 
 1. Linux Filters
 
2. Shell ProgrammingPerspective
grep
sort
head and tail
tr
cut
od
paste
split
uniq
sed
gawk
more and less
tee
lp
 
3. Networking ToolsShells
Scripting Rationale
Scripting Prerequisites
Creating a bash Script
bash Startup Scripts
A Script’s Environment
Exporting Variables
Exit Status
Programming the Shell
Parameter Passing
Operators
Decision Making - if
Complex Decisions
Arithmetic
Looping Constructs - for
Input and Output - echo and read
Looping Constructs - while
Functions
Interrupts
 
4. Software ToolsTCP/IP
IP Addresses
Network Configuration Files
Client / Server Computing
telnet
ping
ftp
ssh
scp
 
5. Administrative ToolsBuilding a Linux Utility
Creating a Utility
The C Compiler
Libraries
Static vs. Shared Libraries
make
Data Compression
 
6. Appendix A: The Visual (vi) EditorSetting the Date
Adding Users
Ownerships
sudo
df
du
tar
at
crontab
Managing Software
rpm
yum
 
vi Modes
Starting and Stopping vi
Last Line Mode Commands
Cursor Movement Commands
Delete and Search Command
 
 |  |  |  |