Interviewer And Interviewee Guide

Bash Arithmetic Expressions Interview Question:

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
Copyright 2007-2025 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.