What command you execute to display the last five commands
you have entered?

Answers were Sorted based on User's Feedback



What command you execute to display the last five commands you have entered?..

Answer / veena

history | tail -5

Is This Answer Correct ?    20 Yes 0 No

What command you execute to display the last five commands you have entered?..

Answer / ravindra s.

write answer is
history 5 OR history |tail -5

Is This Answer Correct ?    10 Yes 0 No

What command you execute to display the last five commands you have entered?..

Answer / arnab

history 5

Is This Answer Correct ?    2 Yes 0 No

What command you execute to display the last five commands you have entered?..

Answer / venkatesh

history 5 or history -5

Is This Answer Correct ?    7 Yes 8 No

Post New Answer

More Linux Commands Interview Questions

how to call recursive grep function?

2 Answers  


List all the files beginning with A

10 Answers  


How do you read ext2/3 file system in windows?

8 Answers   HP,


How do I stop a linux job?

0 Answers  


How does mkdir work in linux?

0 Answers  






What is the command to calculate the size of a folder?

0 Answers  


What is the difference between cd and cd in linux?

0 Answers  


What the command used for list the contents of your home directory, current directory and all subdirectories?

0 Answers  


How do I find cpu in linux?

0 Answers  


What command would you use to create an empty file without opening it to edit it?

0 Answers  


What would you do when all the processess hangs and there is no other option in unix?

3 Answers   HP,


If the programmer wishes to execute an instruction at the specified time. Which command is used?

0 Answers  


Categories