Ankit Cse
2 min readApr 27, 2021

--

#shellscripting #bash #bashshellscripting #shellscriptingbyLW #righteducation #vimaldaga #worldrecordholder #shellscriptingworkshop #workshop #terminal

Hello Guys ๐Ÿ‘‹

I have attended a workshop based on ShellScripting organised on 24th and 25th April 2021 organised by Linux World.

what I learnt from the workshop a few insights I am sharing with you

๐Ÿ‘‰ Shell Scripting is a kind of tool which helps in automation

๐Ÿ‘‰ Types of Shell are :- โœ” sh โœ” csh โœ” bash

๐Ÿ‘‰ Native Support of every router or switch is shell because shell is Standard

๐Ÿ‘‰ echo is used to print something

๐Ÿ‘‰ echo $x is used to print a variable where $ symbolifies x is a variable

๐Ÿ‘‰ echo $? shows exit code of the command

๐Ÿ‘‰ echo $SHELL shows which type of shell we are using

๐Ÿ‘‰ PATH is a environment variable provided by the shell

๐Ÿ‘‰ @ is used to take multiple arguments in a file

๐Ÿ‘‰ test is a keyword used for comparison of two variables

๐Ÿ‘‰ awk is used for data processing like which is the first column , second column and so on

๐Ÿ‘‰ cat /etc/passwd is a file where we can see all the users

๐Ÿ‘‰ Total count by per ipv4 address is called aggregation

๐Ÿ‘‰ ssh -l ec2-user -i key_pair.pem public_ip to login in some other instance which is on AWS

๐Ÿ‘‰ For copying a file in the instance present on scp -i key_name.pem f file_name.sh user_name@public_ip:/temp

Thanksโ€ฆ

--

--