Master Linux Commands & Shell Scripting with this comprehensive Linux course that bridges theory with practical application, equipping you with essential command-line proficiency and powerful shell scripting capabilities crucial for modern system administration.

Linux Commands & Shell Scripting

What you'll learn
Master Linux components, bootup processes, and essential command-line operations for system management.
Navigate and manipulate Linux file systems, directories, inodes, and implement effective file handling strategies.
Develop powerful BASH scripts using variables, control structures, loops, and decision-making constructs for task automation.
Apply advanced Linux commands for system administration, I/O redirection, and network operations.
Skills you'll gain
Tools you'll learn
Details to know

Add to your LinkedIn profile
99 assignments
See how employees at top companies are mastering in-demand skills

There are 10 modules in this course
Master core components of Linux operating systems and essential command-line tools for everyday operations.
What's included
16 videos5 readings11 assignments2 ungraded labs
16 videos•Total 130 minutes
- Command Line Interfaces and Scripting•3 minutes
- Meet Your Instructor: Dr. Saikishor Jangiti•2 minutes
- Meet Your Instructor: Prof. Chandra Shekar RK•1 minute
- Introduction to Linux•21 minutes
- Day-to-Day Use of Commands•9 minutes
- File and Directory Structure: Part 1•16 minutes
- File and Directory Structure: Part 2•4 minutes
- File and Directory Structure: Part 3•8 minutes
- What Is a Linux Shell?•4 minutes
- Logging into a Linux System•3 minutes
- Manual Help and Linux Basic Commands: passwd, date, who, who am i, write, and man•18 minutes
- Linux Basic Commands: ln, pwd, and ls with options•12 minutes
- Linux Basic Commands: touch, tr, and pr•5 minutes
- Linux Commands: hostname, ping, traceroute, and nmap•9 minutes
- Linux Basic Commands: ssh, scp, and /etc/ssh•12 minutes
- Module Wrap-Up: Introduction to Linux•3 minutes
5 readings•Total 50 minutes
- Course Overview and Information•10 minutes
- Essential Reading: Basics of Linux Operating System •10 minutes
- Essential Reading: Basic Commands•10 minutes
- Essential Reading: Network-Related Commands•10 minutes
- Lab Solutions: Basic Commands•10 minutes
11 assignments•Total 102 minutes
- Practice Quiz: Introduction to Linux•9 minutes
- Practice Quiz: Day-to-Day Use of Commands•9 minutes
- Practice Quiz: File and Directory Structure•9 minutes
- Practice Quiz: What Is a Linux Shell?•9 minutes
- Practice Quiz: Logging into a Linux System•9 minutes
- Practice Quiz: Manual Help and Linux Basic Commands: passwd, date, who, who am i, write, and man •9 minutes
- Practice Quiz: Linux Basic Commands: ln, pwd, and ls with options•9 minutes
- Practice Quiz: Linux Basic Commands: touch, tr, and pr•9 minutes
- Practice Quiz: Linux Commands: hostname, ping, traceroute, and nmap•9 minutes
- Practice Quiz: Linux Basic Commands: ssh, scp, and /etc/ssh•9 minutes
- Test Yourself: Linux Fundamentals•12 minutes
2 ungraded labs•Total 90 minutes
- Lab: Basic Commands•30 minutes
- Lab: Network-Related Commands•60 minutes
Navigate the Linux file hierarchy and perform essential file management operations.
What's included
11 videos3 readings11 assignments1 ungraded lab
11 videos•Total 79 minutes
- Basics of Files and Linux File System•10 minutes
- File Permissions•12 minutes
- What Is an Inode?•8 minutes
- Inode Structure in Linux File System and Links in Linux•13 minutes
- Inode Associated with Directories and Access Permissions•4 minutes
- Navigate and List the Files in the Directory •7 minutes
- Create and Delete Files and Directories•5 minutes
- Copy and Move Files and Directories•6 minutes
- Permissions and Ownership of a File or Directory•7 minutes
- Commands for Disk Usage and Links •4 minutes
- Module Wrap-Up: Linux Files and Directories•2 minutes
3 readings•Total 30 minutes
- Essential Reading: Linux Files and Directories•10 minutes
- Essential Reading: File and Directory Commands•10 minutes
- Lab Solutions: File and Directory Commands•10 minutes
11 assignments•Total 108 minutes
- Practice Quiz: Basics of Files and Linux File System•9 minutes
- Practice Quiz: File Permissions•9 minutes
- Practice Quiz: What Is an Inode?•9 minutes
- Practice Quiz: Inode Structure in Linux File System and Links in Linux•9 minutes
- Practice Quiz: Inode Associated with Directories and Access Permissions•9 minutes
- Practice Quiz: Navigate and List the Files in the Directory•9 minutes
- Practice Quiz: Create and Delete Files and Directories•9 minutes
- Practice Quiz: Copy and Move Files and Directories•9 minutes
- Practice Quiz: Permissions and Ownership of a File or Directory•9 minutes
- Practice Quiz: Commands for Disk Usage and Links •9 minutes
- Test Yourself: Linux Files and Directories•18 minutes
1 ungraded lab•Total 60 minutes
- Lab: File and Directory Commands•60 minutes
Understand filesystem architecture, superblocks, inodes, and links for effective data management.
What's included
9 videos3 readings9 assignments1 ungraded lab
9 videos•Total 56 minutes
- Open Files and Descriptor Management Services•14 minutes
- In-Memory File System Structure•6 minutes
- File System Layout and File System Implementation•6 minutes
- What Is a Superblock?•4 minutes
- Conversion of a Path Name to an Inode•4 minutes
- Exploring the Options in a Link•6 minutes
- Assignment and Freeing of Datablocks and Inodes•6 minutes
- Complete Data Structure for Inode in Linux File System•5 minutes
- Module Wrap-Up: Linux File System•3 minutes
3 readings•Total 30 minutes
- Essential Reading: File System and Superblock•10 minutes
- Essential Reading: Inode and Links•10 minutes
- Lab Solution: Inode and Links•10 minutes
9 assignments•Total 84 minutes
- Practice Quiz: Open Files and Descriptor Management Services•9 minutes
- Practice Quiz: In-Memory File System Structure•9 minutes
- Practice Quiz: File System Layout and File System Implementation•9 minutes
- Practice Quiz: What Is a Superblock?•9 minutes
- Practice Quiz: Conversion of a Path Name to an Inode•9 minutes
- Practice Quiz: Exploring the Options in a Link•9 minutes
- Practice Quiz: Assignment and Freeing of Datablocks and Inodes•9 minutes
- Practice Quiz: Complete Data Structure for Inode in Linux File System•9 minutes
- Test Yourself: Linux File System•12 minutes
1 ungraded lab•Total 60 minutes
- Lab: Inode and Links•60 minutes
Learn how Linux interacts with hardware through kernel I/O structures and device management commands.
What's included
10 videos3 readings10 assignments2 ungraded labs
10 videos•Total 59 minutes
- I/O in Linux: Kernel I/O Structure•11 minutes
- I/O Devices: Block and Character Devices•7 minutes
- Device Drivers•3 minutes
- I/O Queuing and Interrupt Handling•6 minutes
- Inspect the Hard Disks and Sectors•10 minutes
- lsblk, fdisk, and df Commands •7 minutes
- hwinfo and parted Linux Commands•3 minutes
- cfdisk, sfdisk, and smartctl Linux Commands•5 minutes
- Command Line Tool to Check the Health of a Disk Drive on a Linux System •3 minutes
- Module Wrap-Up: I/O Devices and Linux•4 minutes
3 readings•Total 30 minutes
- Essential Reading: I/O in Linux•10 minutes
- Essential Reading: Disk Commands•10 minutes
- Lab Solutions: Disk Commands•10 minutes
10 assignments•Total 99 minutes
- Practice Quiz: I/O in Linux: Kernel I/O Structure•9 minutes
- Practice Quiz: I/O Devices: Block and Character Devices•9 minutes
- Practice Quiz: Device Drivers•9 minutes
- Practice Quiz: I/O Queuing and Interrupt Handling•9 minutes
- Practice Quiz: Inspect the Hard Disks and Sectors•9 minutes
- Practice Quiz: lsblk, fdisk, and df Commands •9 minutes
- Practice Quiz: hwinfo and parted Linux Commands•9 minutes
- Practice Quiz: cfdisk, sfdisk, and smartctl Linux Commands•9 minutes
- Practice Quiz: Command Line Tool to Check the Health of a Disk Drive on a Linux System •9 minutes
- Test Yourself: I/O Devices and Linux •18 minutes
2 ungraded labs•Total 120 minutes
- Lab: Disk Commands•60 minutes
- Additional Lab: Linux Fundamentals•60 minutes
Develop proficiency in the powerful vi text editor for efficient file creation and modification.
What's included
7 videos2 readings7 assignments1 ungraded lab
7 videos•Total 33 minutes
- Creating a File Using vi Editor•8 minutes
- vi: Basic Operating Modes, Insert Mode, Command Mode, and Ex Command Mode•5 minutes
- Commands for Deleting File Content and Shortcut Keys•4 minutes
- Miscellaneous vi Commands•4 minutes
- vi Editor: Copy and Paste Text•3 minutes
- Pattern Searching and Substitution of Text•6 minutes
- Module Wrap-Up: vi Editor•3 minutes
2 readings•Total 20 minutes
- Essential Reading: Working with vi Editor•10 minutes
- Lab Solution: Working with vi Editor•10 minutes
7 assignments•Total 69 minutes
- Practice Quiz: Creating a File Using vi Editor•9 minutes
- Practice Quiz: vi: Basic Operating Modes, Insert Mode, Command Mode, and Ex Command Mode•9 minutes
- Practice Quiz: Commands for Deleting File Content and Shortcut Keys•9 minutes
- Practice Quiz: Miscellaneous vi Commands•9 minutes
- Practice Quiz: vi Editor: Copy and Paste Text•9 minutes
- Practice Quiz: Pattern Searching and Substitution of Text•9 minutes
- Test Yourself: vi Editor•15 minutes
1 ungraded lab•Total 60 minutes
- Lab: Working with vi Editor•60 minutes
Master file recovery techniques and input/output redirection for advanced system operations.
What's included
15 videos3 readings15 assignments
15 videos•Total 61 minutes
- Auto Recovery, Backup, and Version Control•7 minutes
- Recovery After Crash•5 minutes
- Undelete and Recover from Buffer•5 minutes
- Mark Command•3 minutes
- Standard Input Redirection•4 minutes
- Standard Output Redirection and Appending Output•3 minutes
- Standard Error Redirection•4 minutes
- Using /dev/null•4 minutes
- sort Command•5 minutes
- head Command•4 minutes
- tail Command•3 minutes
- grep Command•4 minutes
- pipe Command•4 minutes
- tee Command•4 minutes
- Module Wrap-Up: Recovery and I/O Redirection•3 minutes
3 readings•Total 30 minutes
- Essential Reading: Recovery Files in Vi Editor•10 minutes
- Essential Reading: I/O Redirection•10 minutes
- Essential Reading: Filters: sort, head, tail, grep, pipe, and tee•10 minutes
15 assignments•Total 144 minutes
- Practice Quiz: Auto Recovery, Backup, and Version Control•9 minutes
- Practice Quiz: Recovery After Crash•9 minutes
- Practice Quiz: Undelete and Recover from Buffer•9 minutes
- Practice Quiz: Mark Command•9 minutes
- Practice Quiz: Standard Input Redirection•9 minutes
- Practice Quiz: Standard Output Redirection and Appending Output•9 minutes
- Practice Quiz: Standard Error Redirection•9 minutes
- Practice Quiz: Using /dev/null•9 minutes
- Practice Quiz: sort Command•9 minutes
- Practice Quiz: head Command•9 minutes
- Practice Quiz: tail Command•9 minutes
- Practice Quiz: grep Command•9 minutes
- Practice Quiz: pipe Command•9 minutes
- Practice Quiz: tee Command•9 minutes
- Test Yourself: Recovery and I/O Redirection •18 minutes
Create basic shell scripts with variables, interactive input, and arithmetic operations.
What's included
9 videos4 readings10 assignments1 ungraded lab
9 videos•Total 35 minutes
- Need for Shell Script•6 minutes
- Structure of a Shell Script•3 minutes
- Wild Cards Interpreted by Shell•3 minutes
- Meta Characters•3 minutes
- Special Variables in Shell Scripting•2 minutes
- Variables in Shell Scripting: System Variables•4 minutes
- Variables in Shell Scripting: User-Defined Variables•3 minutes
- Interactive Shell Scripts •5 minutes
- Arithmetic Expression “expr” •6 minutes
4 readings•Total 40 minutes
- Essential Reading: Introduction to Shell Scripting•10 minutes
- Essential Reading: Interactive Shell Scripts•10 minutes
- Essential Reading: Example Codes•10 minutes
- Lab Solution: Working with Shell Scripts•10 minutes
10 assignments•Total 108 minutes
- Practice Quiz: Need for Shell Script•9 minutes
- Practice Quiz: Structure of a Shell Script•9 minutes
- Practice Quiz: Wild Cards Interpreted by Shell•9 minutes
- Practice Quiz: Meta Characters•12 minutes
- Practice Quiz: Special Variables in Shell Scripting•9 minutes
- Practice Quiz: Variables in Shell Scripting: System Variables•12 minutes
- Practice Quiz: Variables in Shell Scripting: User-Defined Variables•9 minutes
- Practice Quiz: Interactive Shell Scripts•12 minutes
- Practice Quiz: Arithmetic Expression “expr”•12 minutes
- Test Yourself: Shell Scripting•15 minutes
1 ungraded lab•Total 60 minutes
- Lab: Working with Shell Scripts•60 minutes
Implement conditional logic, loops, and file operations in your scripts.
What's included
11 videos6 readings12 assignments1 ungraded lab
11 videos•Total 40 minutes
- Test and [ expression ]•3 minutes
- if Statement•6 minutes
- if....else….fi Statement•4 minutes
- Case statement for Multilevel if-then-else-fi•3 minutes
- String Operations Using if Statement•2 minutes
- Logical Operations•4 minutes
- for Loop with Example•4 minutes
- While and until Loops with an Example Along with “break” and “‘continue”•3 minutes
- Introduction to Arrays•4 minutes
- Operations on Arrays•3 minutes
- File Handling with Example•4 minutes
6 readings•Total 60 minutes
- Essential Reading: Decision-Making in Shell Scripts•10 minutes
- Essential Reading: Complex Decision-Making Constructs•10 minutes
- Essential Reading: Looping Constructs•10 minutes
- Essential Reading: Arrays and String Operators•10 minutes
- Essential Reading: File Handling•10 minutes
- Lab Solution: Decision-Making Constructs and File Handling•10 minutes
12 assignments•Total 147 minutes
- Practice Quiz: Test and [ expression ]•12 minutes
- Practice Quiz: if Statement•9 minutes
- Practice Quiz: if....else….fi Statement•12 minutes
- Practice Quiz: Case statement for Multilevel if-then-else-fi•12 minutes
- Practice Quiz: String Operations Using If Statement•12 minutes
- Practice Quiz: Logical Operations•12 minutes
- Practice Quiz: for Loop with Example•12 minutes
- Practice Quiz: While and until Loops with an Example Along with “break” and “‘continue”•12 minutes
- Practice Quiz: Introduction to Arrays•12 minutes
- Practice Quiz: Operations on Arrays•12 minutes
- Practice Quiz: File Handling with Example•12 minutes
- Test Yourself: Decision-Making Constructs and File Handling in Shell •18 minutes
1 ungraded lab•Total 60 minutes
- Lab: Decision-Making Constructs and File Handling•60 minutes
Understand operating system modes and process creation through system calls.
What's included
8 videos3 readings9 assignments1 ungraded lab
8 videos•Total 21 minutes
- Process Definition and Life Cycle of a Process•2 minutes
- Kernel Mode vs. User Mode •2 minutes
- System Call for Process Creation•3 minutes
- Example Using fork()•2 minutes
- Process Coordination•2 minutes
- Signal Definition and Signal Handler•3 minutes
- Sending Signal•3 minutes
- Difference Between System Call and Function Call•2 minutes
3 readings•Total 30 minutes
- Essential Reading: Linux OS—Working Modes•10 minutes
- Essential Reading: Signals and Handling•10 minutes
- Lab Solution: Linux OS—Working Modes•10 minutes
9 assignments•Total 105 minutes
- Practice Quiz: Process Definition and Life Cycle of a Process•12 minutes
- Practice Quiz: Kernel Mode vs. User Mode•12 minutes
- Practice Quiz: System Call for Process Creation•12 minutes
- Practice Quiz: Example Using fork()•12 minutes
- Practice Quiz: Process Coordination•12 minutes
- Practice Quiz: Signal Definition and Signal Handler•9 minutes
- Practice Quiz: Sending Signal•12 minutes
- Practice Quiz: Difference Between System Call and Function Call•9 minutes
- Test Yourself: System Calls•15 minutes
1 ungraded lab•Total 60 minutes
- Lab: Linux OS—Working Modes•60 minutes
Apply low-level file operations and advanced administrative commands.
What's included
4 videos3 readings5 assignments2 ungraded labs
4 videos•Total 15 minutes
- Low-Level File Operations: Part 1—open() and close()•5 minutes
- Low-Level File Operations: Part 2—read() and write()•3 minutes
- Advance Commands for System Administration: Part 1•5 minutes
- Advance Commands for System Administration: Part 2•3 minutes
3 readings•Total 30 minutes
- Essential Reading: Low-Level File I/O Operations•10 minutes
- Essential Reading: System Administration: Advance Commands•10 minutes
- Lab Solution: Low-Level File I/O Operations and System Administration Commands•10 minutes
5 assignments•Total 51 minutes
- Practice Quiz: Low-Level File Operations: Part 1—open() and close()•9 minutes
- Practice Quiz: Low-Level File Operations: Part 2—read() and write()•9 minutes
- Practice Quiz: Advance Commands for System Administration: Part 1•9 minutes
- Practice Quiz: Advance Commands for System Administration: Part 2•9 minutes
- Test Yourself: System Calls for File I/O and System Administration Commands•15 minutes
2 ungraded labs•Total 120 minutes
- Lab: Low-Level File I/O Operations and System Administration Commands•60 minutes
- Additional Lab: Build Shell Scripts•60 minutes
Build toward a degree
This course is part of the following degree program(s) offered by Birla Institute of Technology & Science, Pilani. If you are admitted and enroll, your completed coursework may count toward your degree learning and your progress can transfer with you.¹
Instructor

Why people choose Coursera for their career

Felipe M.

Jennifer J.

Larry W.

Chaitanya A.
Explore more from Computer Science

Course

Course


