Fundamental of Cyber Security
(TCS 492)
UNIT-2 (Bash Scripting)
B. Tech
2nd Year (4th semester) (Group 1)
REHAN, Assistant Professor
9548283808
, Bash Scripting Fundamentals
• What is Bash?
– Bash (Bourne Again SHell):
• A command processor that typically runs in a text
window.
• The default shell on most Unix-like operating systems.
,• Why Bash Scripting?
– Automation:
• Streamlining repetitive tasks.
– Scripting:
• Writing sequences of commands to be executed.
– Customization:
• Tailoring the environment to specific needs.
– Portability:
, • The terms "shell" and "bash" are used
interchangeably. But there is a subtle difference
between the two.
• The term "shell" refers to a program that provides
a command-line interface for interacting with an
operating system. Bash (Bourne-Again SHell) is
one of the most commonly used Unix/Linux shells
and is the default shell in many Linux
distributions.
(TCS 492)
UNIT-2 (Bash Scripting)
B. Tech
2nd Year (4th semester) (Group 1)
REHAN, Assistant Professor
9548283808
, Bash Scripting Fundamentals
• What is Bash?
– Bash (Bourne Again SHell):
• A command processor that typically runs in a text
window.
• The default shell on most Unix-like operating systems.
,• Why Bash Scripting?
– Automation:
• Streamlining repetitive tasks.
– Scripting:
• Writing sequences of commands to be executed.
– Customization:
• Tailoring the environment to specific needs.
– Portability:
, • The terms "shell" and "bash" are used
interchangeably. But there is a subtle difference
between the two.
• The term "shell" refers to a program that provides
a command-line interface for interacting with an
operating system. Bash (Bourne-Again SHell) is
one of the most commonly used Unix/Linux shells
and is the default shell in many Linux
distributions.