Advance Bash Shell Scripting Quiz Questions and Answers

Which command allows to view the current jobs being handled by the shell?

Answer :
  • jobs

Which command is used to reexecute the previous command?

Answer :
  • !!

The first line in any shell begins with a...

Answer :
  • #

On a Unix system, there can be _________shells running simultaneously?

Answer :
  • many

In UNIX, there are ______ major types of shells.

Answer :
  • 2

What is the default symbol for the command prompt in the Bourne Shell?

Answer :
  • $

She-bang line in a shell script begins with___.

Answer :
  • #!

Which character can be used to separate two commands on the same line?

Answer :
  • ;

The father of all processes is...

Answer :
  • init

Several UNIX commands can be combined to generate a single command using_____.

Answer :
  • |