Summary LPIC-1 Study Guide
Jul 28, 2017 · 1 min read
Assalamu’alaikum,
#Exploring Linux Shell
- bash , The GNU Bourne Again Shell(bash) is based on the earlier Bourne shell for Unix but extends it in several ways
- bsh, The Bourne shell upon which bash s based also goes by the name bsh. not often used in Linux
- tcsh, This based on the earlier C shell (csh).
- csh, Original C shell isn’t much used in Linux, familiar with tcsh
- ksh , The Korn shell was designed to take best feature of Bourne shell and the C shell and extend them further
- zsh , The Z shell take shell evolution further than Korn Shell
- File /bin/sh is a symbolic link to system default shell — normaly /bin/bash for Linux
#Starting a Shell
- pwd , for command display working directory
- echo, display text we are enter
- exec , Execute a program runs n external program that you specify as in exec myprog to run myprog. New process replaces the shell, when the new process terminates, its as if you terminated the shell
- time, Time an operation is how long subsequent commands ake to execute. Example time pwd tells you how long the system took to execute the pwd command. Three time displayed : Total execute time, user CPU time and system CPU time
- set , set options display a wide variety of options relating to bash operation
- exit and logout , Terminate the shell