Unix / Linux Fundamentals
Duration: 15 days
Course Contents:
· Introduction to Unix / Linux
· Evolution of Unix / Linux
· Comparison of Unix / Linux with other operating systems
· Getting Started
· Unix / Linux users and superuser
· Signing on to Unix / Linux
· Unix / Linux system prompt
· Introduction to some Unix / Linux commands: cat, ls, date, cal, logname
· Stopping a command
· Halting output temporarily
· Getting on-line help: the man command
· Signing off
· The vi editor
· The command mode
· Line positioning and cursor positioning
· Word positioning
· Positioning the cursor by sentence
· Positioning the cursor by paragraph
· Positioning the cursor in the window
· Positioning the cursor to a specified line
· Scrolling the text
· Inserting and appending text
· Deleting text
· Exiting with and without saving
· Saving and continuing to edit a document
· Creating a new file
· Searching for a pattern
· Replacing text
· Copy, cut and paste operations
· User defined registers
· Marking text
· Other useful commands
· Commands at the colon prompt
· Line numbering
· Reading and writing across files
· Customizing the vi editor
· Unix / Linux file structure
· Features of the file structure
· Inode concept
· Different types of files
· Rules for file names
· Working with Directories
· Checking the current directory: pwd command
· Changing directory: cd command
· Listing directory contents: ls commands
· Various options of the ls command: -x, -f, -a, -l, -t, -r, ?, *, [ ], -F, -R
· Creating user directories with mkdir
· Deleting directories with rmdir
· Working with Files
· Determining the type of a file using file command
· Viewing the contents of a file: cat command
· Page-wise display of a file: pg command
· Pausing the output: more filter
· Changing file permissions: chmod
· Creating files using cat
· Copying files using cp
· Moving and renaming files using mv
· Removing files using rm
· Counting words and characters: wc command
· Printing a file: lp command
· Comparing files: cmp, comm and diff commands
· Communication Utilities
· Sending messages: write, talk commands
· Controlling messages: mesg command
· Sending mail: mail, elm, pine commands
· General Purpose Utilities
· Using calendar: cal command
· Viewing system date: date
· Login details: who
· Changing your password: passwd
· The Shell
· Redirecting the standard output
· Redirecting the standard input
· The tee command
· Connecting commands with pipes
· Filters
· Paginating files: pr
· Viewing the beginning of a file: head
· Viewing the end of a file: tail
· Rearranging files: cut, paste and join
· Sorting text files: sort command
· Extracting unique values: uniq command
· Translating characters: tr
· The Process
· Listing of processes: ps command
· Premature termination of a process: kill
· Background processing
· Job execution with low priority: nice
· Scheduled execution: 'at' and 'batch'
· Running jobs periodically: cron
· Pattern Search
· Finding text patterns in a file: grep
· sed: The Stream Editor
· Replacing character strings: sed
· The Environment
· System variables
· Settings of .profile file
· Setting terminal characteristics: stty
· Backing Up Files
· tar and cpio
· Shell Programming
· Introduction to Unix / Linux shells
· Introduction to shell programming
· Naming shell procedures
· Shell variables
· System variables
· Arguments to shell procedures
· The echo command
· The set command
· The tput command
· Looping with 'for' statement
· Conditional execution with 'if', 'else', 'elif'
· The 'exit' statement
· More on shell programming
· The 'while' and 'until' statements
· Altering loop execution with 'break' and 'continue'
· 'true' and 'false'
· Selective execution using 'case' statement
· Doing arighmetic with 'expr'
· User input to shell procedures
· Passing the standard input
· The 'read' statement
· The 'awk' Utility
· Simple awk filtering
· Splitting a line into fields
· Formatting output
· Logical and relational operators
· Number processing
· Variables, positional parameters
· BEGIN and END sections
· Making awk interactive: getline
· Arrays
· Functions
· IF statement
· Looping with for and while
No comments:
Post a Comment