Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Bash Scripting are a collection of basic linux commands like cp and ls written together.
- A program is a blob of binary codes while a process is run of a program.
- Bash scripts usually start with ./ eg ./myscript, this is to indicate that it's a bash so the system looks through the $PATH and locates the script.
- It begins with a Shebang.
- A Shebang is the first line of a bash script that begins with #! and written without spaces in between to point the sysytm to the bash program
- A script can also be run with just the bash in front like bash myscript.
- Bash scripting was initially made for just interface until it's use extended to scripting.
- It is used by system administrators, linux/unix users etc
- An example of a bash script:
- #!bin/bash
- echo Hello world
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement