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

Explain trap command of linux?

0 Answers  


How do you find out the server processes running?

4 Answers   HP,


What does in makefile do?

0 Answers  


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

0 Answers  


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

4 Answers  


What command you use for cpio to create a backup called backup.cpio of all the users’ home dirs?

2 Answers  


I have a user name in /etc/vsftpd/user_list which is for blocking the ftp user. Now i blocked the user as well ,but without removing username in user_list i wanna access the users home directory and his own directory .How will you access the data ????

3 Answers   Span Systems,


Write a command to find all of the files which have been accessed within the last 30 days.

8 Answers   Mphasis, TCS,


What is cpu core in linux?

0 Answers  


What is ll command in unix?

0 Answers  


1.what is Kernel parameters? 2.how many cpu have use in your machine?

3 Answers   ConSim,


How to shuffle the GRUB booting from one Disk to other?

1 Answers  


Categories