Linux Bash Arithmetic Expressions Question:

Fc stands for
a) find command
b) fix command
c) both (a) and (b)
d) none of the mentioned

Linux Bash Arithmetic Expressions Interview Question
Linux Bash Arithmetic Expressions Interview Question

Answer:

c) both (a) and (b)
Explanation:'fc -l' is used to list history of commands and 'fc -e' to edit them and 'history' command also provides the histroy of commands.


Previous QuestionNext Question
Which option of the command 'cd' use the actual filesystem path for cd.. and the value of pwd?
a) -l
b) -L
c) -p
d) -P
Which command is used to re-execute the previous command?
a) !!
b) !cat
c) !3
d) !$