UNIX Fundamental
UNIX Fundamental
OBJECTIVES
- Prepare for our HP-UX system administration and software development courses
- Learn to use your UNIX system effectively and save time by automating tasks with shell programs
- Customize your UNIX system to meet your system through hands-on lab exercises
WHO SHOULD ATTEND?
General Computer Literacy
COURSE OUTLINE
Introduction to UNIX:
- UNIX structure and capability overview
- UNIX history
- UNIX standards
Logging in and general orientation
- Logging in and logging out
- Viewing online man pages
- Executing basic UNIX commands
Navigating the file system
- UNIX file system layout concepts
- Absolute and relative pathname concepts
- Navigating and viewing directories with cd, pwd
- Creating and removing directories with mkdir and rmdir
- Searching directories with find
Managing Files
- File concepts
- File characteristics
- Viewing files with cat, more, head, and tall
- Printing files with Ip, Ipstat, and cancel
- Managing files with cp, mv, In, and rm
File permissions and access
- UNIX file permission concepts
- Managing file permissions with chmod and umask
- Managing other attributes with chgrp, chown, and touch
- Changing user and group identities with su and chgrp
Introduction to the vi editor
- Editing files with the vi editor
Shell basics
- Shell features
- Shell lypes
- Using command allasing
- Using command line recall and editing
- Modifying TERM, PATH, and other environment variables
Shell advanced features
- Defining local and environment variables
- Variables substitution
- Alias substitution
- Command substitution
- Tilde substitution
File name generation
- File name generation character concepts
- File name generation characters
Quoting
- Quoting concepts
- Quoting characters
Input and output redirection
- Redirecting standard input, standard output, and standard error
- Using sort, wc, and grep filters
Pipes
- Shell pipeline concepts
- Using tee, cut, tr, more, and pr filters
Network Services
- Local Area Networks (LANs)
- Hostnames
- Testing connectivity: ping
- ARPA services: telnel, llp
- Berkeley services: rlogin, remsh, rcp
- Secure shall services: ssh, scp, sftp
Process Management
- Process overview
- Listing processes with ps
- Starting processes in the background with “&”
- Starting processes in the background with nohup
- Moving jobs to the background and foreground with bg and fg
- Prioritizing processes with nice
- Terminating processes signals
- Terminating processes with kill
- Scheduling processes with cron and crontab
- Scheduling processes with at
Introduction to shell programming
- Writing simple shell programs
- Using environment variables in shell scripts
- Using positional parameters in shell scripts
- Using read in shell scripts
Shell programming branches
- Using and generating return codes
- Using string, integer, and file tests
Shell programming loops
- Performing arithmetic in the shell
- Shell script while loops
- Shell script until loops
- Shell script for loops
Offline file storage
- Creating and using tar archives
- Creating and using cpio archives