how is the possible the "last 10 files present in the
current directory and stores them in the file list".

Answer Posted / ashish

ls -lrt |tail -10 >file

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

The head command writes the how many lines of a file to screen?

547


What is a ulimit in unix?

510


Find command can search for files by

546


Explain the linux ‘cd’ command options along with the description?

481


Which command is used to delete a group?

554






What are the 7 types of sentences?

553


What is Data Command?

611


What is makefile target?

514


How many commands are there in linux?

554


Which command would you use if you want to remove the password assigned to a group?

521


Write a command that will display all .txt files, including its individual permission.

2240


What happens to hard link when file is deleted?

490


Is python faster than bash?

565


What is SFC command?

481


How can I type in cmd?

503