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

Explain the working of command grouping?

539


How do I find the linux version?

505


How can we increase disk read performance in single command in Linux operating system?

685


How do I get to root directory in linux?

571


What are vim commands?

524






You want to copy the user’s home directories to a new location. Which of the following commands will accomplish this?

564


Which of the Commands delete the files from the /tmp directory, issued by non-root user?

647


How do I do a whois search?

554


What is shell scripting commands?

527


How do you create a file?

529


What are grep commands?

536


Brief about the command ff?

592


What command do you type to find help about the command who?

540


How do I test my cpu speed?

509


How can you check the amount of lines in a file?

541