Skip to content

Latest commit

 

History

History
42 lines (22 loc) · 1.32 KB

README.md

File metadata and controls

42 lines (22 loc) · 1.32 KB

Shell-Scripting

Buy Me A Coffee

What is Shell ?

* A shell is an interface/command line for the user. A shell provide an environment to user to execute commands and interact with kernel.

What is Shell Scripting?

*Shell scripts consist of a set of commands to perform a task. All the commands execute sequentially. some tasks like file manipulation, program execution, user interaction, automation of tasks, etc can be done.

What is #!/bin/bash?

#!/bin/bash is a shebang line. It tells the Linux OS which interpreter to use to parse the rest of the file.

Types of Shell ?

*Bash
*sh
*ksh
*tsh
*fish
*zsh

What is Variable ?

VAR_NAME=value

VAR_NAME=$(hostname)

echo $VAR_NAME