-
Notifications
You must be signed in to change notification settings - Fork 1k
/
Copy path01_bash.sh
executable file
·21 lines (16 loc) · 982 Bytes
/
01_bash.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# what is Bash?
# Bash is a widly used shell, available on many platforms
# Short for Bourne Again Shell, in reference to the earlier Bourne Shell
# An interactive command-line shell that also allows commands to be combined into script files, which can be run like programs
# Combine commands into scripts save time and reduces errors
# what is Bash Best For?
# Bash is best for writting small to medium size scripts that run on Linux systems
# If your workflow can be run as commands in Bash terminal, consider making a script
# If your workflow requires other more specialized tools, Bash may not be the best choice for automation
bash --version
# GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)
# Copyright (C) 2019 Free Software Foundation, Inc.
# License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
# This is free software; you are free to change and redistribute it.
# There is NO WARRANTY, to the extent permitted by law.
echo $SHELL