Introduction to UNIX
|Duration: 3 days|
|Participants: Technical and non-technical personnel, including technical managers, programmers, system and network administrators.|
Upon successful completion of this course you will be able to:
- Organize and protect your own file and directory structure.
- Create and modify files using the vi editor.
- Select lines from files using the grep command and RE metacharacters.
- Direct file input and output from/to the proper file or process using redirection and pipes.
- Control the execution of foreground and background jobs.
- Use shell command line features such as filename generation to perform work in an efficient manner.
- Tailor the interactive environment by using aliases and variables established in .profile and the ksh ENV file.
|Overview: This course provides a detailed introduction to UNIX. It is designed for those who need a robust understanding of UNIX.|
|Format: Lecture and discussion (50%) with hands-on exercises (50%).|
- Introductory Concepts and Simple Commands
Login and logoff, passwd, ignoreeof
Command line format
Erase and interrupt characters
Metacharacters and backslash, single and double quotes
stty, date, who, echo, ls, banner, cal, man
- File System
File system structure
Types of UNIX files: ordinary, special, directory, links
Full and relative pathnames
pwd, ls options -lpadiFR, cd
File permission modes, chmod, umask
mkdir, rmdir, rm, mv, cp
- File Processing Commands
cat, pr, pg, more, nl, wc, grep, sort, cut, tr
-  vi Editor
- Re Metacharacters with grep, pg, and vi
- Shell Features Requested on the Command Line
I/O redirection of standard input, standard output, and standard error
Process and job control: ps, jobs, kill, wait, nohup, sleep, fg, and bg
Filename generation with * ? [! ] and dot files
- Shell Environment
Environment variables: TERM, HOME, PATH, LOGNAME, USER, PS1, PS2
set and env
Profile and the ksh ENV file
- Korn Shell Features
Command history, editing, and re-execution
Options such as ignoreeof and noglob