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

What are the examples of simple command?

0 Answers  


What is c++ makefile?

0 Answers  


How do you limit memory usage for commands?

0 Answers  


I lost a root password and i need to give it, I treid to change it through single usermode even though i am not get a password, then what is the other procedure to give a root password?

8 Answers  


Brief about the command kill PID?

0 Answers  


How do I stress test my cpu?

0 Answers  


If you have saved a file in linux. Later you wish to rename that file, what command is designed for it?

2 Answers  


How to add Crete a new ftp user? or How to add a exiting user into FTP ?

1 Answers   Mind Tree,


How do you check which file consuming more space in linux?

0 Answers  


what r the different command to check ram,process and hdd of linux machine

4 Answers  


How do you grep?

0 Answers  


Which is the required command for checking the file system?

0 Answers  


Categories