Working in shell
Let's get started by opening the terminal, and we will familiarize ourselves with the Bash Shell environment:
- Open the Linux terminal and type in:
$ echo $SHELL /bin/bash
- The preceding output in terminal says that the current shell is
/bin/bash
such asBASH
shell:$ bash --version GNU bash, version 2.05.0(1)-release (i386-redhat-linux-gnu) Copyright 2000 Free Software Foundation, Inc.
Hereafter, we will use the word Shell
to signify the BASH
shell only. If we intend any other shell, then it will be specifically mentioned by name such as KORN
and similar other shells.
In Linux, filenames in lowercase and uppercase are different; for example, the files Hello
and hello
are two distinct files. This is unlike Windows, where case does ...
Get Learning Linux Shell Scripting now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.