From 56e538cdb788de68cf1417570bb22f123f9cddc4 Mon Sep 17 00:00:00 2001 From: Ankam Ravi Kumar Date: Fri, 15 Jun 2018 19:07:59 +0530 Subject: [PATCH 1/5] Set theme jekyll-theme-cayman --- _config.yml | 1 + index.md | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 _config.yml create mode 100644 index.md diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..c419263 --- /dev/null +++ b/_config.yml @@ -0,0 +1 @@ +theme: jekyll-theme-cayman \ No newline at end of file diff --git a/index.md b/index.md new file mode 100644 index 0000000..1632337 --- /dev/null +++ b/index.md @@ -0,0 +1,37 @@ +## Welcome to GitHub Pages + +You can use the [editor on GitHub](https://github.com/techtutorials/shell-scripting-tutorial/edit/master/index.md) to maintain and preview the content for your website in Markdown files. + +Whenever you commit to this repository, GitHub Pages will run [Jekyll](https://jekyllrb.com/) to rebuild the pages in your site, from the content in your Markdown files. + +### Markdown + +Markdown is a lightweight and easy-to-use syntax for styling your writing. It includes conventions for + +```markdown +Syntax highlighted code block + +# Header 1 +## Header 2 +### Header 3 + +- Bulleted +- List + +1. Numbered +2. List + +**Bold** and _Italic_ and `Code` text + +[Link](url) and ![Image](src) +``` + +For more details see [GitHub Flavored Markdown](https://guides.github.com/features/mastering-markdown/). + +### Jekyll Themes + +Your Pages site will use the layout and styles from the Jekyll theme you have selected in your [repository settings](https://github.com/techtutorials/shell-scripting-tutorial/settings). The name of this theme is saved in the Jekyll `_config.yml` configuration file. + +### Support or Contact + +Having trouble with Pages? Check out our [documentation](https://help.github.com/categories/github-pages-basics/) or [contact support](https://github.com/contact) and we’ll help you sort it out. From fcfe9e98c56226f1f73aeaba6ddbbcd134cae1c3 Mon Sep 17 00:00:00 2001 From: Ankam Ravi Kumar Date: Fri, 15 Jun 2018 19:08:43 +0530 Subject: [PATCH 2/5] Update index.md --- index.md | 176 ++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 154 insertions(+), 22 deletions(-) diff --git a/index.md b/index.md index 1632337..937edcc 100644 --- a/index.md +++ b/index.md @@ -1,37 +1,169 @@ -## Welcome to GitHub Pages +# shell-scripting-tutorial -You can use the [editor on GitHub](https://github.com/techtutorials/shell-scripting-tutorial/edit/master/index.md) to maintain and preview the content for your website in Markdown files. +Keep in touch with for any kind of technical questions +[Facebook](https://www.facebook.com/Linuxarkit/) +[Email List](https://feedburner.google.com/fb/a/mailverify?uri=arkit) +[Linkedin](https://in.linkedin.com/in/ravi-kumar-94530121) +[Google Plus](https://plus.google.com/u/0/+RedhatEnterpriseLinuxStepbyStepGuide/posts) +[Twitter](https://twitter.com/aravikumar48) +[Youtube](https://www.youtube.com/Techarkit?sub_confirmation=1) +[Email Address](aravikumar48@gmail.com) -Whenever you commit to this repository, GitHub Pages will run [Jekyll](https://jekyllrb.com/) to rebuild the pages in your site, from the content in your Markdown files. +A complete begineers guide to learn shell scripting from scratch which includes Videos, Practice scenarios and project idea. I will create one file for one topic with code. -### Markdown +Before jumping into the Shell scripting below are commands you have to practice for better understanding and familiar with Linux command line interface. -Markdown is a lightweight and easy-to-use syntax for styling your writing. It includes conventions for +If you do not learn below commands also fine but i personally recommend you to learn commands first. -```markdown -Syntax highlighted code block +[103 Linux Commands Video Tutorial](https://www.youtube.com/watch?v=VG-MMju9RhQ&list=PLHyfPDPl-JDX_dfDEpsvglu4x3h1RjPkz) -# Header 1 -## Header 2 -### Header 3 +alias and unalias, arch, arp, at, awk, bc, blkid, cal, cat, cd, chage, chattr, chgrp, chmod, chown, cp, cpio, crontab, curl, cut, date, dd, df, diff, dig, dnf, du, expr, fdisk, file, find, firewall-cmd, free, ftp, grep, head, history, hostname, id, ifconfig, iostat, ip, kill, last, lessandmore, ln, locate, lpstatandlpadmin, ls, lsof, lspci, mail, man, mdadm, mkdirandrmdir, mkisofs, mount, mutt, mv, nano, netstat, nice, renice, nslookup, passwd, pam_tally2, paste, ping, perloneliner, pkill, ps, pwd, reboot, poweroff, rm, rpm, rsync, scp, screen, sed, sort, ss, ssh, sysctl, tail, tar, tcpdump, top, touch, tr, traceroute, umask, uname, uniq, uptime, useradd, vi, vmstat, w, who, watch, wc, wget, ypcat, yppasswd, yum, zip, sar -- Bulleted -- List +After that start learning shell scripting using below topics -1. Numbered -2. List +[Shell Scripting Video Tutorial](https://www.youtube.com/watch?v=7GNUzvjS_mE&list=PL8cE5Nxf6M6b8qW7CSMsdKbEsPdG9pWfu) -**Bold** and _Italic_ and `Code` text +[Shell Scripting course Overview](https://www.youtube.com/watch?v=7GNUzvjS_mE) -[Link](url) and ![Image](src) -``` +[Linux Basics](https://www.youtube.com/watch?v=IFvMor-0eFM) -For more details see [GitHub Flavored Markdown](https://guides.github.com/features/mastering-markdown/). +[Linux Directory Structure](https://www.youtube.com/watch?v=rVxpe1_lNFE) -### Jekyll Themes +[Linux Basic Commands](https://www.youtube.com/watch?v=yYC8aaQ3eZA) -Your Pages site will use the layout and styles from the Jekyll theme you have selected in your [repository settings](https://github.com/techtutorials/shell-scripting-tutorial/settings). The name of this theme is saved in the Jekyll `_config.yml` configuration file. +[Copy, Remove, Move and Time Commands](https://www.youtube.com/watch?v=G7XFreQkDB8) -### Support or Contact +[Dif and Grep Commands](https://www.youtube.com/watch?v=RwcQ6JzTsmA) + +[Head, tail, sort and more commands](https://www.youtube.com/watch?v=OgV3qrPQulU) + +[tr and wc commands](https://www.youtube.com/watch?v=d40a5zFa8yI) + +[Disk utilities like fdisk, df and du commands](https://www.youtube.com/watch?v=vx1WZepOmKg) + +[Getting Help From Command Line user Interface](https://www.youtube.com/watch?v=GcYu-0IIJas) + +[w, who, hostnamem hostnamectl and uname commands](https://www.youtube.com/watch?v=7shAr5lp_Wc) + +[Search for files and directories using find and locate commands](https://www.youtube.com/watch?v=Rd6e-OrsHpo) + +[top command its output explanation](https://www.youtube.com/watch?v=UQ7rr4_47YY) + +[vi & vim text editor](https://www.youtube.com/watch?v=K3SUrcJ740Y) + +[sed, awk, vmstat and nestat commands](https://www.youtube.com/watch?v=4hJorSKg9E0) + +[vnstat command](https://www.youtube.com/watch?v=KlpE2Ok6Bxo) + +[Introduction to Graphical user interface](https://www.youtube.com/watch?v=Yck_xhz9ku0) + +[cut command](https://www.youtube.com/watch?v=kBZNJdw7RQQ) + +[Merge multiple files using paste command](https://www.youtube.com/watch?v=_Efd6PxhNq4) + +[Connect and Manage remote machine using SSH](https://www.youtube.com/watch?v=Dp9J7aktYDs) + +[Changing files and directory permissions](https://www.youtube.com/watch?v=NNAxqSyTsUI) + +[tar and zip commands](https://www.youtube.com/watch?v=lVQppyhgERA) + +[Scheduling future jobs using crontab](https://www.youtube.com/watch?v=OOOabNTnSwY) + +[difference between scripting and programming](https://www.youtube.com/watch?v=5UuTNosxNgI) + +[what is shell scripting and it's advantages](https://www.youtube.com/watch?v=m2DvuF_S4Ac) + +[PATH environment variable](https://www.youtube.com/watch?v=4TZyWegxzGY) + +[Symbols used shell scripting](https://www.youtube.com/watch?v=L8IxV7bvBHU) + +[Make Shell Script Template](https://www.youtube.com/watch?v=7KEQJ7jtkTg) + +[Quotes single, double and reverse - Know difference between each](https://www.youtube.com/watch?v=9_fhRI-dos4) + +[Bash colors](https://arkit.co.in/coloring-style-text-shell-scripting/) + +[Script exit status](https://arkit.co.in/shell-scripting-exit-status-shell-scripting-return-codes/) + +[Variables and it's rules](https://www.youtube.com/watch?v=839s_OtTqDA) + +[Special Variables](https://www.youtube.com/watch?v=PfxzX4XNYRE) + +[Environment Variables, system variables and user defined variables](https://www.youtube.com/watch?v=PfxzX4XNYRE) + +[Constant variables, Local & Global variables and Special variables](https://www.youtube.com/watch?v=839s_OtTqDA) + +[Positional Parameters](https://www.youtube.com/watch?v=PfxzX4XNYRE) + +[Count number command line arguments $#](https://www.youtube.com/watch?v=YizjrX9ph10) + +[Arithmetic Operators](https://www.youtube.com/watch?v=qxNQ_D8txPo) + +[Relational Operators](https://www.youtube.com/watch?v=U-u1wx5VeTU) + +[LogicalOperators](https://www.youtube.com/watch?v=m_F1FTKdUU4) + +[Boolean Operators](https://www.youtube.com/watch?v=U-u1wx5VeTU) + +[Maths using expr command](https://www.youtube.com/watch?v=qxNQ_D8txPo) + +[Real maths using bc command](https://www.youtube.com/watch?v=qxNQ_D8txPo) + +[if statement](https://www.youtube.com/watch?v=gncu9vzmILw) + +[if-else statement](https://www.youtube.com/watch?v=nDhbOeEQeNY) + +[if-else-if statement](https://www.youtube.com/watch?v=UJET-9cmaqU) + +[Nested if statement](https://www.youtube.com/watch?v=Kd1SJFnmj9k) + +[Case statement](https://www.youtube.com/watch?v=JJ7mAPU0KhI) + +[For Loop](https://www.youtube.com/watch?v=1fnAUUS4qg0) + +[While Loop](https://www.youtube.com/watch?v=nBMuVIRGpwY) + +[Until Loop](https://www.youtube.com/watch?v=zdk795qFgWk) + +[Functions](https://www.youtube.com/watch?v=jXv1otUXMG4) + +[Arrays](https://www.youtube.com/watch?v=2Fetj2V6rrM) + +[Eval command](https://www.youtube.com/watch?v=AjqBRGwLmLc&list=PL8cE5Nxf6M6b8qW7CSMsdKbEsPdG9pWfu&index=57&t=0s) + +[Shifting parameters using shift command](https://www.youtube.com/watch?v=48j0kxOFKZE) + +[IFS - Input Field Separator](https://www.youtube.com/watch?v=so8IRuhWjEM) + +[Writing CPU Usage script](https://www.youtube.com/watch?v=NQx43bY4lNo) + +[Writing Disk Utilization script](https://www.youtube.com/watch?v=yXhdDV13nrA) + +[Trouble shooting debugging shell scripts](https://www.youtube.com/watch?v=kgj-4_gmvi4) + +[Checking shell script errors and improvements using shellcheck.net site](https://www.youtube.com/watch?v=kgj-4_gmvi4) + +[Here Document to write paragraphs of text](https://www.youtube.com/watch?v=r9lb0ZxGFqE) + +[Getopts Function](https://www.youtube.com/watch?v=j-lEoC0DWI8) + +Tput making menu's + +Executing Multiple scripts from single script + +$(()) - Pass command to sub-shell + +logger logging messages to log file + +Exec to send input to terminal + +Resource to Download + +[Shell Scripting Book](https://arkit-in.tradepub.com/free/w_wile48/) + +[Shell Scripting Book](https://arkit-in.tradepub.com/free/w_pack42/) + +[Shell Scripting Book](https://arkit-in.tradepub.com/free/w_advb01/) + +[Shell Scripting Book](https://arkit-in.tradepub.com/free/w_wile54/) -Having trouble with Pages? Check out our [documentation](https://help.github.com/categories/github-pages-basics/) or [contact support](https://github.com/contact) and we’ll help you sort it out. From 7a4dc57693ec080aca045f2d5dedd13a9125d84d Mon Sep 17 00:00:00 2001 From: Ankam Ravi Kumar Date: Fri, 15 Jun 2018 19:16:41 +0530 Subject: [PATCH 3/5] Update index.md --- index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.md b/index.md index 937edcc..3dc4ac3 100644 --- a/index.md +++ b/index.md @@ -1,4 +1,4 @@ -# shell-scripting-tutorial +Shell Scripting Tutorial for Beginners Keep in touch with for any kind of technical questions [Facebook](https://www.facebook.com/Linuxarkit/) From 140b60eaed71028db8f175ff0c9a651a15b484c4 Mon Sep 17 00:00:00 2001 From: Ankam Ravi Kumar Date: Fri, 15 Jun 2018 19:17:36 +0530 Subject: [PATCH 4/5] Update index.md --- index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.md b/index.md index 3dc4ac3..12be9d7 100644 --- a/index.md +++ b/index.md @@ -1,4 +1,4 @@ -Shell Scripting Tutorial for Beginners +# Shell Scripting Tutorial for Beginners Keep in touch with for any kind of technical questions [Facebook](https://www.facebook.com/Linuxarkit/) From 865541f3a8b27f09b8df952974a238db3facac50 Mon Sep 17 00:00:00 2001 From: Ankam Ravi Kumar Date: Wed, 20 Jun 2018 11:25:07 +0530 Subject: [PATCH 5/5] Create rhcsa-ex200-certification.md --- rhcsa-ex200-certification.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 rhcsa-ex200-certification.md diff --git a/rhcsa-ex200-certification.md b/rhcsa-ex200-certification.md new file mode 100644 index 0000000..b0523d5 --- /dev/null +++ b/rhcsa-ex200-certification.md @@ -0,0 +1,9 @@ +A Red Hat Certified System Administrator (RHCSA) is able to perform the following tasks: + +Understand and use essential tools for handling files, directories, command-line environments, and documentation +Operate running systems, including booting into different run levels, identifying processes, starting and stopping virtual machines, and controlling services +Configure local storage using partitions and logical volumes +Create and configure file systems and file system attributes, such as permissions, encryption, access control lists, and network file systems +Deploy, configure, and maintain systems, including software installation, update, and core services +Manage users and groups, including use of a centralized directory for authentication +Manage security, including basic firewall and SELinux configuration