Summary LPIC-1 Study Guide

Assalamu’alaikum,

#Exploring Linux Shell

  1. bash , The GNU Bourne Again Shell(bash) is based on the earlier Bourne shell for Unix but extends it in several ways
  2. bsh, The Bourne shell upon which bash s based also goes by the name bsh. not often used in Linux
  3. tcsh, This based on the earlier C shell (csh).
  4. csh, Original C shell isn’t much used in Linux, familiar with tcsh
  5. ksh , The Korn shell was designed to take best feature of Bourne shell and the C shell and extend them further
  6. zsh , The Z shell take shell evolution further than Korn Shell
  7. File /bin/sh is a symbolic link to system default shell — normaly /bin/bash for Linux

#Starting a Shell

  1. pwd , for command display working directory
  2. echo, display text we are enter
  3. 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
  4. 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
  5. set , set options display a wide variety of options relating to bash operation
  6. exit and logout , Terminate the shell
Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade