Intro Flashcards
why one should write bash scripts
do we have if else, loops, variables in basg
yes we do have ths things in bash
is bash an software or programming language
it is not wrong to think that bash is an programming language
is bash interpreter or shell
bash is both interpreter and shell as well
what is an interpreter in linux, as shell or as bash
what you need to follow along this course
computer
terminal
linux server or linux installation
spin up linux virtual machine or maybe a server
what is bash
its a shell or a terminal
what does shell do
shell allows to interact with system through commands
what does mean by automation
as a administrator we have to execute lot of commands, but we dont want to do that
so we automate tasks
why people use command lines to this date also
command line are vrey powerfull we can manage servers through commands only
what are different shells available on linux
- zsh
- 3.
4.
which is the default shell on linux systems now a days
bash
how to find which shell we are using
echo $SHELL
- this will tell us what shell we are using
if we are not using bash then what to do
$ which bash
/usr/bin/bash
enter the following command then you are good to use bash
what is bash script
script is text file, where one or more command are written / listed