Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Linux OS Interviews:Awk ProgrammingBash Arithmetic ExpressionsDevice DriversGCC CompilerLinux AdministratorLinux CommandsLinux DebuggingLinux EnvironmentLinux GeneralLinux IPCLinux MakefileLinux OSLinux OS EditorsLinux OS ManagementLinux OS ShellLinux Proc FilesystemLinux Search PatternLinux Shared & Static LibrariesLinux Socket ProgrammingLinux Startup and ShutdownLinux SysfsLinux SystemsLinux ThreadsLinux UbuntuSignal HandlingSystem Calls
Copyright © 2018. All Rights Reserved
Bash Arithmetic Expressions Interview Question:
Which command is used to re-execute the previous command?
a) !!
b) !cat
c) !3
d) !$
Submitted by: Murtazaa) !!
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
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
Copyright 2007-2025 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.