|
|
|
|
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
- Perspective
- grep
- sort
- head and tail
- tr
- cut
- od
- paste
- split
- uniq
- sed
- gawk
- more and less
- tee
- lp
2. Shell Programming
- Shells
- 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
3. Networking Tools
- TCP/IP
- IP Addresses
- Network Configuration Files
- Client / Server Computing
- telnet
- ping
- ftp
- ssh
- scp
4. Software Tools
- Building a Linux Utility
- Creating a Utility
- The C Compiler
- Libraries
- Static vs. Shared Libraries
- make
- Data Compression
5. Administrative Tools
- Setting the Date
- Adding Users
- Ownerships
- sudo
- df
- du
- tar
- at
- crontab
- Managing Software
- rpm
- yum
6. Appendix A: The Visual (vi) Editor
- vi Modes
- Starting and Stopping vi
- Last Line Mode Commands
- Cursor Movement Commands
- Delete and Search Command
|
|
|
|
|