Practical Bash Scripting On Linux and Mac OSX
What you'll learn
- Build small scripts and automate things in Linux. Students should be able to use linux commands to efficient work.
Requirements
- PC with any Linux distribution like Ubuntu, fedora, centos, kali etc
Description
Learn the Shell scripting by example on various platforms like Linux, Mac OS X as well as different flavors of Linux distribution like Fedora, Redhat, Suse, CentoS etc.
Take each isolated script and go through various parts and understand the nitty gritty of the scripts and how to efficiently join them to make a functional script.
Create scripts from set of Linux commands and integrate with some useful real life applications.
Easy to understand example at the same time maintaining the practicality and isolation.
Automate the boring stuff with shell scripts.
Built an expertise in Linux command line like grep, find , awk, date, chmod, chown, trap etc.
Understand system internals and boot process of Linux.
Very detailed description with practical example as to how to do file operations using shell script.
File redirection topic covered with details to output the console to a file and to any other file description
Detailed description of Background and foreground processes and how to switch between them.
How to check the process details and memory consumption with top and ps commands.
How to trap a signal and send a signal to a shell script, which would help in preventing your program from abnormal termination due to ctrl +C press or due to other signals.
Overview of inode and how to create a symbolic link.
Learn about case statement in Linux and examples of the same.
How to use iteration in Linux like for, while and different ways to achieve the same.
Detailed explanation with example as to how to read user input and process the same.
How to effectively use array and how to represent them.
Who this course is for:
- Students willing to make their career in Linux environment. Also for professionals who wanted to delve in Linux as career.
Course content
- Preview10:17
- 16:09uname, hostname, diskutil, fdisk, terminal, Mac oterm2
- 07:19File System and Directory Hierarchy
- Preview05:06
- 13:42Shell and env variables
- 18:43Common Commands
- Preview13:36
- 11:57cp, mv, clear, inode
- 10:09who, whoami, tty, which, locate
- Preview14:16
- 17:16Vi Editor Part 1
- 07:30Vi editor part 2
- Preview12:02
- 08:19chown, chmod, getent, chgrp
- 08:03Background and foreground jobs and no hangup
- 06:42Sort and Uniq command
- 06:55Top and ps command
- Preview13:46
- 11:49Pipes and redirection Part 2
- Preview09:52
- 08:04Find Part 1
- 11:00find Part 2
- Preview09:27
- Preview10:59
- Preview06:52
- 12:10grep Part 2
- 10:49grep part 3
- 09:47grep part 4
- 10:17Various Components of Shell Script
- Preview13:04
- 08:50While Loop
- 04:20Until Loop
- Preview08:27
- 11:10if condition
- Preview18:14
- 04:59read user input
- 04:22Case statement AKA Switch
- Preview12:52
- 10:12Exit Status of a shell
- 05:11Random Number and its use case
- Preview19:09
- Preview11:48
- Preview11:07
- 13:22Trap and signals Part 2
- 06:01Trap and signals part 3
- 08:51Trap and signals part 4
- Preview09:41
- 14:16Date and time
- 11:56dd and od command and how to copy file using dd
- Preview19:42
- 07:02dmidecode, lscpu, lspci, SMBIOS, DMI
- Preview09:16
- Preview08:16
- 09:40ssh, scp and sshpass
- Preview06:23
Instructor
Over 15 years of total experience in software development, focusing on C/C++/Linux/Symbian C++, different flavors of UNIX (SCO, HP-UX, SunOS, AIX and RedHat Linux). Knowledge of LINUX Internals/ System programming/Inter Process Communication and Shell Scripting.
Worked on Symbian OS features like TLS/descriptors/ threads/ semaphore/IPC/ Active Objects/ Dynamics Arrays/Cleanup Stack/Client –server/Binary Compatibility.
Experience in all stages of development of large project using C/C++/ Clearcase/Subversion/GIT on Linux and LynxOS platform.
Worked on Linux Device driver and System programming.
Worked on HP bootloader, Board Support Package and grub.
Knowledge of Virtual File system, ext3, I/O Scheduler.
Good knowledge of Socket, TCP/IP and routing protocol like BGP, RIP.
Good knowledge of porting and cross-compilation. Ported FreeBSD-libc to Symbian Platform.
Worked on Linux Device Driver(Parallel port Control panel, USB mass storage driver), System programming, ELF32,DWARF, binary optimization.
Worked on GNU Tools chain like Cross-Compiler, Makefile, Auto Conf.
Worked on drivers for SPI, UART, I2C, GPIO Bus as part of board bringup.
Good Knowledge of Multithreading, Semaphore, Message queue, Shared memory and other IPC mechanism.
Bring up of Board and enhanced product for power star energy consumption by implementing various sleeping mode in Devices like scanner, Fax, Hard drive etc.
Knowledge of GNU tool chain and cross compilation
Participated in Code reviews, Risk management, design document as well as implementation phase.
Good knowledge of Object oriented Analysis and design.
Good Knowledge of Xen/ Qemu and virtualization.
Worked on Malware Analysis and disassembly
Very good and through knowledge of Hypervisor like Xen, KVM.