
Zip file has the entire resource of this course including scripts, ppt and doc file so that its easy for the students to refer to the material.
Explore how to run bash scripts on macOS, compare terminal options like iTerm2 and the default Terminal, and understand cross-platform nuances of hostname, uname, and diskutil in macOS and Linux.
Definition of Shell, different types of Shell, definition of kernel and passwd configuration files.
Explore environment variables in Linux and Mac bash environments, learn how to define, export, and unset variables, and manage PATH and library paths while spawning child shells.
Explore the Linux file system hierarchy, starting at the root, and examine common directories like /bin, /usr, /lib, /home, and /proc, with notes on mounting and Linux-versus-Unix differences.
Explain the concept of Multi-tasking, Multi-user and SMP system.
Explore essential Linux commands such as cat, rm, and history. Learn to view, create, and delete files and directories, use redirection and pipes, and perform recursive deletions.
Identify who is logged in with the who command and verify your user with whoami. Use which and locate to find command paths, and navigate with cd and ls.
Explore the Linux calendar and date commands using cal to view calendars. Use date to format or set times, including time zones and custom formats like %m-%d-%Y.
Master vi and vim basics: switch between insert and normal modes, edit with i and escape, delete with dd or x, copy with yy, join lines with J, search /.
Learn vi basics: save with :w, quit with :q or :q!, save and quit with :wq; yank and paste; manage tabs and splits with :vsp and :sp; navigate with hjkl.
Master linux file permissions with chmod, setting read, write, and execute for user, group, and others. Explore octal and symbolic modes, including sticky bits and setuid/setgid.
Explore how to use chown, chgrp, and chmod to manage file ownership and permissions, including recursive changes on directories, and retrieve system users and groups with getent.
Learn to manage background and foreground jobs in bash, using jobs and %1, bring tasks to the foreground, stop with ctrl-c, and redirect output.
Learn to use top and ps to monitor system status, processes, and resource usage, and to harvest output in batch mode for scripting and logging.
Explore wild cards in the Linux command line, using ?, *, and bracket ranges to match characters and file patterns; escape spaces with backslashes and explore grep and regex.
Find command and options like Max depth, iname etc
Find Command to find directory or regular file "and or" operations.
Find command to find users permissions and access.
Find files of certain sizes and operations like deletion or listing on them using xargs.
Explanation of grep and some of its common usage
Grep command and common usage.
Grep command and common usage.
Grep command and common usage.
Shell scripts are interpreted and use hash comments. Learn debugging with bash -x and syntax checking with bash -n, while handling script name $0 and arguments $1, $2.
Demonstration of function and command line arguments.
Demonstration of while loop and its different variants.
Demonstrate the bash until loop syntax.
Various Types of for loop in Bash Shell script
If statement demonstration
Test the if conditions with respect to file like block, or character or regular file. There are other use cases like checking for empty string etc.
Reading user input from stdin using read command in Script
Case statement demonstration in Bash shell
Various ways to read, open, manipulate files.
Demonstrate exit status from a shell
Random number generation in certain range.
Different ways to access and create arrays in Bash Shell
Demonstrate Multi-line comment and ftp automated script using here document in shell script.
Handling signals and how to trap and process signals
Handling signals and how to trap and process signals
Some more details about traps and signal handler.
Signal handler and inheritance by child process
Explore trap and signal handling in bash, restoring signals after cleanup, customizing sigint behavior on control-C, and implementing time-based double-press logic.
Discover disk usage with df and du, using human-readable formats and awk. Inspect open files and network activity with lsof and netstat on Mac and Linux.
Attach a new disk, identify the device, and partition it with a partitioning tool. Format the partition with a filesystem and mount it to a directory.
Use nmap for network and port scanning, revealing open ports and services as a security scanner. Install and run it on macOS or Linux, tuning timing and addressing firewall blocks.
Learn how to securely connect to a remote Linux machine with ssh, copy files with scp, and use sshpass and options like port, username, and X11 forwarding to streamline logins.
Learn to use tcpdump to capture traffic across an interface, save to a pcap file, and inspect icmp and port traffic, with verbose options for deeper analysis.
Description:
This course offers a detailed, hands-on approach to making students familiar with the concepts of Bash programming. It is designed to groom students across various areas including commands, analysis, and debugging — all with the help of live examples and practical exercises. All examples are downloadable.
What You'll Learn:
Solve common interview questions with confidence using shell scripting knowledge.
Automate the boring stuff with shell scripts.
Build expertise in the Linux command line.
Understand system internals and the boot process.
Learn how to use the command line effectively.
Be able to write your own shell scripts from scratch.
Automate tasks using shell scripts.
Make decisions by using if-else statements.
Make decisions based on strings, variables, or files.
Use arithmetic expressions in your scripts.
Loop through files and folders using for and while loops.
Use functions and learn different ways of writing them.
Take a practical approach to shell scripting to solve real-world problems.
Understand core shell scripting concepts thoroughly.
Understand Unix filters like awk, cut, and sed.
Automate repetitive tasks across different admin areas — including Linux Admins, Middleware Admins, Database Admins, DevOps Admins, and AWS Cloud Admins.
Write basic to advanced-level shell scripts.
Write shell scripts that can be used on Linux, Mac, and Unix operating systems.
Automate tasks using shell scripts to save time and reduce manual effort.
Create fairly complex scripts that take advantage of advanced Bash shell features.