Showing posts with label Bash shell. Show all posts
Showing posts with label Bash shell. Show all posts

Saturday, January 15, 2011

Shell

In Linux Shell means Command interpreter

Que.   How to find out current shell name?
Ans.   # cat /etc/shells      (for all shell in system)
          # echo $SHELL       (for current shell name)

Basic command line editing:
  • ctrl+l         (clear the screen)
  • ctrl+u        (clear the line)
  • ctrl+r        (search through previously used commands)
  • ctrl+c        (cancel currently running command)
  • Tab           (auto complete)
  • Up and Down arrow  keys  (recall command that previously used)
  • try ESC and .(period)