Linux for Programmers with Shell Programming
Course
Inhouse
Description
-
Type
Course
-
Methodology
Inhouse
-
Start date
Different dates available
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.
Facilities
Location
Start date
Start date
About this course
System and application programmers, testers, configuration managers, and future system administrators.
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.
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.
Reviews
This centre's achievements
All courses are up to date
The average rating is higher than 3.7
More than 50 reviews in the last 12 months
This centre has featured on Emagister for 6 years
Subjects
- Linux
- Programming
Course programme
#text-block-8 { margin-bottom:0px; text-align:left; }
#text-block-11 { margin-bottom:0px; text-align:left; }
1. Linux Filters
Perspective grep sort
head and tail tr
cut od
paste split uniq sed
gawk
more and less tee lp
2. Bash Shell Programming
Shells
Scripting Rationale
Scripting Prerequisites Creating a bash Script bash Startup Scripts
A Script’s Environment
Exporting Variables Exit Status
Programming the bash Shell Parameter Passing Operators
Decision Making – if Complex Decisions
Arithmetic
Looping Constructs – for
Input and Output – echo and
read
Looping Constructs – while Functions Interrupts
3. Bash Shell Arithmetic
Introduction expr
bash Arithmetic Typed Variables Arrays
4. Networking Tools
TCP/IP
IP Addresses
Network Configuration Files Client / Server Computing telnet ping ftp
Non-Interactive ftp ssh scp
#text-block-12 { margin-bottom:0px; text-align:left; }
5. Administrative Tools
date
adduser chown sudo df
du
gzip and gunzip tar at
crontab yum
6. Software Tools
Building a Linux Utility
Creating a Utility
The C Compiler make
Libraries
Shared Libraries
Appendix A: The Visual (vi) Editor
vi Modes
Starting and Stopping vi
Last Line Mode Commands Cursor Movement Commands Delete and Search Command2
Linux for Programmers with Shell Programming