Shell Scripting: Intro
• Shell: An interface to the Operating System.
• If we work with Mac/Linux, the shell offers an interface (a
communication protocol) to the UNIX System.
• Equivalent to the Windows cmd.exe (but much more powerful
→ UNIX allows users to do many more things than cmd.exe).
• Shell interface: How do we communicate with the OS?
• Command prompt, through which we can run our commands,
programs, or shell scripts.
• To open a command prompt in Linux, type: Ctrl + Alt + T
• To run a command on the open prompt, just type the
command, e.g.,: pwd
• To close the command prompt, type: exit