In this section, we will take a look at linux shell in detail.
While the graphical version may see more appealing to the users but can be limited in case of functionality. These is where the Linux command line commonly known as Linux Shell shines.
michael home directory created under /home/michael, where /home is a system created home directory that contains the home directories for almost all users in the linux system.michael's home directory is /home/michael.Remember the home directory is unique for each user. Another user called allen will have a different home directory which by default created under /home/allen.
Note : The representation of the home directory is represented as by the ~ (tilde symbol).
hostname , date or time.~ symbol here represents the home directoryFor example: The echo command is used to print a line of text on the screen.
$ echo
For example: To print a hello message type echo hello command.
$ echo hello
For example: Type in the command called uptime, this is used to print information about how long a system has been running for since the last reboot along with the other information (This command doesn’t need an argument)
$ uptime
For example: To print a same word hello but without a trailing line, use echo command with -n flag.
$ echo -n hello
Command types in linux can be generally categorized in two types
For example: echo, cd, pwd, set e.t.c.For Example: mv, date, uptime, cp e.t.c.To determine a command is internal or external, use type command