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 is DISM command?

0 Answers  


How do make computer faster?

0 Answers  


What is the command to change from /etc/passwd file to /etc/shadow file?

4 Answers  


What command should you use to check your file system?

0 Answers  


What is command to check ports running/used over local machine

0 Answers  






Any one example of uninteruptable sleeping process?

2 Answers   Satyam,


In order to improve your system’s security you decide to implement shadow passwords. What command should you use?

0 Answers  


What is the difference between command ‘ping’ and ‘ping6’?

0 Answers  


Why ms dos is used?

0 Answers  


ls -l ls -t ls -r ls -a ls -ltr ls -u grep error file.txt grep -v error file.txt perl prg.pl | ./file.txt tee chmod +x chmod -x chmod =x ps bg date +%y%m%d ?

0 Answers   HP,


How do I stress test my cpu?

0 Answers  


tell me something about linux commands.

0 Answers   Ericsson,


Categories