Professional Documents
Culture Documents
Payilagam Software Training Institute, No:4/67E, Sri Balajis Ishwarya, Vijaya Nagar 3rd Cross Street, Velachery, Chennai 600042. 044-22592370, 8344777333, 8883775533. Mail : info@payilagam.com, Website : www.payilagam.com UNIX UNIX Fundamentals:
Learn UNIX concepts, terms, and commands in this powerful hands-on course that covers all flavors of UNIX. Get a foundational overview of UNIX operating system commands and utilities in this course. You will learn to navigate the UNIX file systems and to work with files, directories, and permissions. You will learn to manage UNIX processes and use regular expressions to create powerful search strings. You also will learn to create advanced shell scripts using shell built-ins and conditionals, and you will learn powerful commands used to perform advanced text processing operations. Hands-on labs are run in a real-world UNIX environment, structured to allow you to learn by doing and developed to simulate real-world situations. You will build your UNIX knowledge and command skills in a clear and concise manner. Working in a controlled UNIX classroom environment with an expert instructor, you will learn UNIX concepts and commands, and you will receive professional tips and techniques that will help you build your UNIX skills and confidence. What You'll Learn Prevalence of UNIX Various commands in the UNIX shell Manipulating and editing files Shell scripts File system tools Regular expressions UNIX filters Process commands: ps, pstree, pgrep, kill, and pkill Who Needs to Attend Professionals who use UNIX-based systems and applications
1
2. UNIX Interfaces
2
Fundamental Concepts Fair and Secure Resource Sharing The Kernel Root Users Resources Payilagam Software Training Institute | www.payilagam.com | 83 44 777 333 | 8883 77 55 33 |
3. Getting Help
Customizing Google Choosing the Paginator Navigation Searching Manual Pages Man Page Sections The man Command Keyword Search Dissecting a Man Page Linux info Command
Hierarchical Directory Structure One Root Directory, Hard Drives Hidden from Users Rules for Naming Files Payilagam Software Training Institute | www.payilagam.com | 83 44 777 333 | 8883 77 55 33 |
Directories Common UNIX Directories and Their Uses /tmp /usr/bin /usr/lib /proc /etc /var Your HOME Directory Your PATH The Difference between Relative and Absolute Pathnames Special Directory Names "." ".." "~" "-" File Details The file Command The od Command Revisiting the 1s and cd Commands Determining File Attributes with 1s -1 Using the cd Command with Relative and Absolute Pathnames Payilagam Software Training Institute | www.payilagam.com | 83 44 777 333 | 8883 77 55 33 |
Payilagam Software Training Institute 6. File Attributes Part 1: File Creation, File Ownership, and Links
The touch Command Creating Files Modifying Timestamps Inodes File Ownership User and Group Ownership Password, Group, and Shadow Files The chon and change group Commands Hard and Soft Links Inodes and Data Blocks The 1n Command Practical Uses
8. Manipulating Files
Copying Files Moving Files Removing Files Archiving Files with tar Compressing Files with gzip
9. Editing Files
Survey of Available Editors pico vi vim gedit emacs xemacs vim Ten Commands to be Functional Seventeen Commands to be Advanced Looking like an Expert The .exrc and .vimrc Files Basics of gedit
10. Processes
Basic Definitions Processes Threads Linux: UNIX Differences Kernel Threads Daemons Child Processes The ps Command Viewing Your Processes Viewing All Processes Viewing a Given User's Processes The pstree Command The pgrep Command
Wildcards also known as Globbing [],*,?,[!] Use with Commands Hidden File Exceptions Shell Variables Displaying Setting Exporting Payilagam Software Training Institute | www.payilagam.com | 83 44 777 333 | 8883 77 55 33 |
Redirecting Standard Out and Standard Error Redirecting Both Standard Output and Standard Error to Same Place Throwing Away Unwanted Output with /dev/null Appending as Opposed to clobbering Payilagam Software Training Institute | www.payilagam.com | 83 44 777 333 | 8883 77 55 33 |
Exit Status
Zero Success
Displaying Exit Status Four Ways to Test "||" and "&&" The "test" Command "[ ]" "[[ ]]" What to Test On File Test Permission Test Numeric Test String Comparisons Test Number of Arguments Given a Script Structured if Statement if,then,fi elif,then Real-World Example, Part 2 Using ping to Determine if a Machine is on the Network
A for Loop Looping over a Set Number of Items Looping over an Unknown Number of Items Looping over all the Arguments in a Script A while Loop Looping over all the Arguments in a Script Looping over a Numeric Range Infinite Loops Payilagam Software Training Institute | www.payilagam.com | 83 44 777 333 | 8883 77 55 33 |
19. Filters
9
The grep Family fgrep grep egrep Word Count (wc) Sort UNIX version Linux version Intro to awk, sed, Perl, Python Finishing the Real-World Example, Part 5 Payilagam Software Training Institute | www.payilagam.com | 83 44 777 333 | 8883 77 55 33 |
20. Processes
Backgrounding and Foregrounding Processes with bg and fg Scheduling a Process to Execute Once with "at" Scheduling a Process to Execute Repeatedly with "chron" The kill and pkill Commands The proc File System Viewing System-Wide Information Viewing Process-Specific Information
Labs:
1. Introduction to the lab environment and using the shell 2. Using, navigating, and searching man pages. Using the Linux info command. 3. Explore different file types: files, directories, devices, and links. Use basic commands to navigate and explore files and directories (cd, 1s, pwd, cat, and date). 4. Explore top-level directories. Use shortcut names to navigate and view directories, Use the file and od commands to view file and directory details. Use the 1s -1 command to view file attributes, Use the cd command with relative and absolute pathnames. 5. Use the touch command to create files and modify timestamps. Use the chon command to change file ownership. Use the 1n command to create a link to a file. 6. Use the chmod command to modify file permissions. Use the umask command to set the default permissions. 7. Copy, move, and remove files. Use tar to archive files. Use gzip to compress files. 8. Perform basic editing and navigation in vi. Operate effectively in both command and insert modes. 9. Explore processes using the ps, pstree, and pgrep commands. 10. Perform globbing with different commands. Quote special characters in the shell. Use command-line shortcuts, such as file completion, command completion, command history, and repeating commands, to more efficiently work in the UNIX shell. 11. Modify your UNIX profile, including your unmask, setting your path, setting your own variables, setting aliases, setting options, and defining functions. Edit the .forward file.
10
12. Create a shell script using a text editor, such as vi. Include comments, white space, and the shbang line. Include the echo and read commands in the script. Give yourself execution permission for the script. Run the script to make sure that it works. Address any problems that prevent the script from running correctly. 13. Redirect the output of standard out and standard error to files. Implement noclobber to prevent file destruction. Use piping to send the standard out of one command to the standard in of another command. 14. Use the four methods for performing conditional testing (|| and &&, test command, [ ], and [[ ]]) to write conditional statements into a script. Use if, then, if and elif statements. 15. Introduce various types of loops (for, while, until) into your script. Use the seq command. Implement abnormal loop termination. 16. Use find and locate to find files based on partial information. Use the du and df commands to monitor disk usage. 17. Use various regular expressions to force a command to display only a specific portion of its full output. 18. Use grep and egrep to find regular expressions within a file. Use wc to return word count. Sort files. Use sed and awk to manipulate the data within a file.
Warm Regards
Payilagam software training institute, 8344777333, 8883775533. Mail: info@payilagam.com Website: www.payilagam.com
11