Showing posts with label Unix shell scripts. Show all posts
Showing posts with label Unix shell scripts. Show all posts

Question : Which shells support command-line editing in vi mode and emacs mode?

Answer : Following shells support editing in vi and emacs mode :
  1. Korn
  2. Bash
  3. TC

Question : What symbol is used to seperate commands ?

Answer : semi colon is used to seperate commands i.e ;

Question : What does the following code do? ls rep|| mkdir rep

Answer : This would run the mkdir command if the ls command doesn't execute successfully

Popular Posts