Unix Shell Scripting
CloudLabs
Projects
Assignment
24x7 Support
Lifetime Access
.
Course Overview
Unix is a multitasking, multi-user computer operating system that exists in many variants. The original Unix was developed at AT&T’s Bell Labs research center by Ken Thompson, Dennis Ritchie, and others. From the power user’s or programmer’s perspective, Unix systems are characterized by a modular design that is sometimes called the “Unix philosophy,” meaning the OS provides a set of simple tools that each perform a limited, well-defined function, with a unified filesystem as the main means of communication and a shell scripting and command language to combine the tools to perform complex workflows.
At the end of the training, participants will be able to:
Pre-requisite
UNIX Fundamental course
Duarion
5 days
Course Outline
- Introduction
- Features
- History
- Command Names
- Philosophy
- Characteristics
- Logging In and Logging Out
- Terminating a Session
- Parts of the Unix Operating System
- Functions of the Shell
- Shell as a Command Line Interpreter
- Command Characteristics
- Command Line Formats
- How to Get Help – man
- stty – Display Terminal Options
- The Shell as a User Interface
- The Standard Output File
- Redirection of the Standard Output File
- Appending to the Standard Output File
- Redirection of the Standard Input File
- Standard Input Examples
- Pipes
- The Standard Error File
- Standard Error Examples
- Special I/O Symbols Interpreted by the Shell
- Shell Variables
- Quoting Mechanisms
- Command Substitution
- The Shell Prompt Variables – PS1, PS2
- File Name Generation Characters
- Aliases
- Functions
- The History Mechanism
- Command Line Shortcuts
- File System Picture
- User View of the File System
- File Types
- File System Concepts
- The /etc/passwd File
- Directory Commands
- File Access Permissions
- Groups
- The chmod Command
- Using chmod
- The ed Editor
- Sample ed Session
- Searching and Substituting with ed
- The vi Editor
- The vi Editor – Editing an Existing File
- The vi Editor – Adding Text
- Cursor Movement Commands
- Deleting Text
- Changing Text
- Copying and Moving Text
- Searching for Text
- Last Line Mode
- vi Customization
- Odds and Ends
- Relative vs. Complete Pathnames
- The Shell’s Search Algorithm
- ls Command
- cat Command
- cat Examples
- The rm Command
- mv Command
- cp Command
- ln Command
- ln Examples
- cmp and diff Commands
- Exit Codes
- Examples of Exit Codes
- file Command
- pg Command
- grep – Print Lines Matching a Pattern
- grep Examples
- grep – Special Pattern Matching Characters
- grep – Other Considerations
- wc – The Word Count Command
- sort – Sort Lines of a File
- head(tail) – Display Beginning/End of a File
- tail – Display Last Few Lines
- tr – Translate Characters
- tr Options
- cut
- od – Octal Dump
- paste
- paste Examples
- split
- uniq
- lp Command
- Shells
- Scripting Rationale
- Creating a bash Script
- bash Startup Files
- A Script’s Environment
- Exporting Variables
- Exit Status
- Programming the Shell
- Parameter Passing
- Operators
- if
- Arithmetic
- Looping Constructs
- Input and Output
- Interrupts
- Processes
- Parent and Child Processes
- System Startup
- Shell Initialization
- Foreground vs. Background
- ps Command
- The kill Command
- Suspending Jobs
- jobs Command
- fg and bg Commands
- C Language and UNIX
- Creating Programs in C
- Creating a Library
- Using the Library
- Static vs. Shared Libraries
- make
- Revision Control
- Concurrent Versioning System (CVS)
- Other Languages
- Duties of the System Administrator
- Bringing up the System
- Multi-User Mode
- Shutting Down the System
- Adding Users
- The /dev Directory
- The awk Language
- awk Scripts
- awk Odds and Ends
- The sed Command
- Special sed Characters
- The find Command
- Backing up Files
- cpio
- tar
- File System Commands
- The at Command
- The crontab Command
- TCP/IP
- Client/Server Model
- Ports
- DNS
- NFS
- ping
- ftp
- telnet
- ssh
Reviews
"The corporate training provided by Greater Insights was truly exceptional. The trainers were highly knowledgeable and engaging, making the sessions both informative and enjoyable. I gained valuable insights and practical skills that I immediately applied in my work. I highly recommend Greater Insights for their professionalism and expertise."
Rahul NiraniaSamsung
"As a participant of the corporate training program organized by Greater Insights, I was thoroughly impressed with the level of customization they offered. They took the time to understand our specific needs and tailored the training accordingly. The trainers were fantastic, and the interactive sessions fostered an environment of active learning. I am grateful for the valuable knowledge and skills I acquired."
Bhawna TiwariSamsung
"I cannot express enough gratitude to Greater Insights for the outstanding corporate training they provided. The trainers were not only experts in their respective fields but also incredible communicators. They created a dynamic and collaborative learning environment, which allowed us to learn from one another. The training surpassed my expectations, and I would eagerly participate in any future programs they offer."
Ashutosh SinghSamsung
"Attending the corporate training sessions organized by Greater Insights was a game-changer for me. The trainers were not only experienced professionals but also inspiring mentors. They equipped me with practical tools and strategies that have significantly enhanced my productivity and efficiency at work. I wholeheartedly recommend Greater Insights to anyone looking to excel in their professional endeavors."
Somashekar MuniyappaInfogain
"The corporate training program offered by Greater Insights was an enlightening experience. The trainers had a deep understanding of the subject matter and were able to break down complex concepts into easily digestible information. The interactive activities and case studies made the training engaging and relevant to our day-to-day work challenges. This training has undoubtedly boosted my confidence and competence."
Amresh DiwanInfogain
"I had the privilege of participating in a corporate training program organized by Greater Insights, and I must say it was a transformative experience. The trainers' expertise and passion for their subjects were evident in every session. The training materials provided were comprehensive and well-structured, enabling us to grasp the content effectively. I am grateful for the valuable skills I acquired, which have greatly contributed to my professional growth."
Namratha BabuTorry Harris
"The corporate training sessions conducted by Greater Insights were simply outstanding. The trainers went above and beyond to ensure that we understood the concepts thoroughly. The interactive nature of the sessions encouraged active participation and enhanced our learning experience. I am truly grateful for the practical strategies and techniques I learned, which have had a positive impact on my work performance."
Rahul BhashyamTorry Harris
"Participating in the corporate training program organized by Greater Insights was an enlightening experience. The trainers were not only knowledgeable but also skilled at delivering the content in an engaging manner. The training materials were well-designed, and the real-life examples provided valuable insights. I am confident that the knowledge and skills I gained will significantly contribute to my professional growth."
Deepti JainTorry Harris
"I can confidently say that the corporate training provided by Greater Insights was top-notch. The trainers were highly experienced and had a knack for simplifying complex concepts. The training sessions were interactive and encouraged open discussions, which fostered a collaborative learning environment. The practical skills I acquired during the training have proven to be invaluable in my day-to-day work."
HARSHAL TRIVEDIL&T TS
"Greater Insights exceeded my expectations with their corporate training program. The trainers were not only experts in their fields but also exceptional communicators. They effortlessly connected with the participants and ensured everyone's active involvement. The training content was comprehensive and provided a solid foundation for professional growth. I am grateful for the opportunity to learn from such seasoned professionals."
Namrata PillayL&T TS
"The corporate training facilitated by Greater Insights was exceptional in every aspect. The trainers were engaging and created a positive and inclusive learning environment. The training materials were well-structured and easy to follow, making the learning process enjoyable. The practical exercises and case studies allowed me to apply the knowledge immediately, resulting in improved job performance. I highly recommend Greater Insights for their commitment to excellence."
Sandhya M SanuHoneywell
"I recently attended a corporate training program organized by Greater Insights, and I am incredibly impressed. The trainers were not only knowledgeable but also highly skilled at delivering the content in a relatable manner. The training sessions were interactive and encouraged open dialogue, which made the learning experience engaging and dynamic. The practical skills I gained have already made a significant impact on my professional growth."
Neha SahayHoneywell
"I had the privilege of participating in a corporate training program conducted by Greater Insights, and it was truly transformative. The trainers were passionate and dedicated professionals who took the time to address our individual needs. The training sessions were interactive and encouraged active participation, allowing us to learn from one another's experiences. I am grateful for the knowledge and skills I acquired, which have undoubtedly propelled my career forward."
Abishek KalliparambilAllianz
"The corporate training program offered by Greater Insights was a remarkable experience. The trainers had a wealth of knowledge and were adept at imparting it effectively. The training materials were comprehensive and provided valuable resources for further exploration. The interactive activities and practical exercises helped me internalize the concepts and apply them in real-world scenarios. This training has been instrumental in my professional development."
Kishor KumarITC Infotech
"I cannot thank Greater Insights enough for the incredible corporate training they provided. The trainers were not only subject matter experts but also skilled at creating a positive and inclusive learning environment. The training sessions were well-structured, and the trainers ensured that we understood the content thoroughly. I am grateful for the valuable insights and skills I gained, which have already made a noticeable difference in my professional life."
Anitha PrashanthIndegene
Previous
Next