Which command is used to re-execute the previous command?
a) !!
b) !cat
c) !3
d) !$

Submitted by: Murtaza
a) !!
Explanation:'!cat' will re-execute the last cat command, '!3′ will re-execute the third last command and '!$' will execute the last argument of previous command.
Submitted by: Murtaza

Read Online Bash Arithmetic Expressions Job Interview Questions And Answers