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

Answer Posted / lele

ls -1t | tail -n 10 > filename

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is file and example?

616


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

2245


What are the commands in linux?

533


What is makefile target?

522


How do I run a script in linux?

549






What is cpu in top command?

556


How do I list directories in linux?

566


What could possibly be the problem when a command that was issued gave a different result from the last time it was used?

538


What is Data Command?

617


How compile c++ program in cmd?

604


What would be the result of the command paste -s dog cat?

539


How do you insert comments in the command line prompt?

768


What is cpu core in linux?

521


Explain the ‘ls’ command in linux

560


What are the command prompt commands?

529