The default shell used in many Linux distributions is the.
Eugenio writes like this g.
New here G and u.
Bash shell.
So this is the default shell of our Linux here.
This section describes the basic features available in the bash shell, such as the Bash Manual, Tab
Autocompletion and how to displays file contents.
You will walk through how to work with Linux files and directories using the basic commands provided
by the new Bash Shell.
If you are already comfortable with the basics in the Linux environment, feel free to skip this section
and continue with the next section to see more advanced commands.
Let's start with the shell here.
The new Bash Shell is a program that provides interactive access to the Linux system.
It runs a regular program and is normally started whenever a user logs into terminal.
So the shell that's the system supports depends on your user ID configuration.
Here, actually let's delete it.
So it depends on your user ID configuration.
Uh, so the ATC passwd file here.
Cat.
Oops.
Cat atc passwd here.
Uh, this contains a list of all system users accounts, along with some basic configuration information
about each user.
So here's a sample entry from our Etsy passwd file.
And as you can see, this is our user account that has the file name called Call.
So each entry here has seven data fields with the fields separated by colons here.
One.
So this is one two.
Three.
Four.
Five.
Six and seven.
So this each field separated by.
Collins here, as you can see here.
So the system uses the data in these fields against a specific features to the user for the user.
So most of these entries are discussed in more detail in next sections.
But for now, just pay attention to the last field which specifies here.
Actually, let's make it like this so you can see it.
More detail here.
Here.
So here, just pay attention to this last field here.
Uh, so which specifies users shell program.
So through this focus on the new bash shell, additional shells are weaved in this course.
And in next lecture we will cover working with alternative shells such as dash and TXT here, so you
will learn in next lecture.
Also different types of shell applications and shells here.
Uh, so in earlier here, this is the sample entry.
The user typhoon here has been bash set as her default program here.
The default, uh, program.
So here.
This means when typhoon logs into the Linux system, the bash system, this bash shell program is automatically
started.
So although the Bash Shell is program is started at login, whether a shell command line interface CLI
command line interface is presented dependent on which login method is used.
So if a virtual console terminal is used to log in the command line interface cli c l i prompt is automatically
presented so and you can begin to type shell commands.
However, if you log into the Linux system via graphical desktop environment, you need to start a graphical
terminal emulator to access the Shell command line in command line.
Interface, uh, prompt.
And we also can use the, uh, shell prompt here.
So after you start a terminal emulation package or log into the Linux virtual console, you can get
access to the shell cli prompt.
Uh, so.
Uh, the prompt is your gateway to the shell.
So this is the place where you.
You enter shell commands.
So the default prompt symbol for the bash shell is the dollar sign here.
And this symbol is actually changed like this.
And as you can see here, this is the dollar sign.
So this symbol here, let's actually here this symbol indicates that the shell is waiting for you to
enter.
Text The different Linux distributions use different formats for the prompt in Ubuntu Linux system.
The shell prompt should be look like this.
And here.
And in Santos.
However, this is in the ubuntu here ubuntu.
And in however in the sent us the default shell writing style will be like this.
And dollar sign.
This is in the sand.
Oz.
Oz here.
So besides acting as your access point to the shell, the prompt can provide additional helpful information.
Here in this example, the current user ID named Typhoon here.
Uh, is shown in the prompt.
Also, the name of the system is shown here.
As you can see in this case, it's Oxley.
This is our host name.
So you will learn later in this section about additional items shown in the prompt here.
So if you are new to the command line interface, keep in mind that after you type in a shell command
prompt, you need to press the enter key to for the shell to act upon your command.
For example, if I write like LHS here and I need to press enter to execute my command line interface
command.
So think of the Shell command line interface as a helpmate, assisting you with your Linux system,
giving you helpful insights and letting you know when the shell is ready for new commands as another
helpful item in the shell is the Bash manual.
In the next lecture, you will learn about the Bash manual in Linux.
So I'm waiting you in the next lecture.