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

Answer Posted / santosh

ls -lrt|tail > filelist

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is grep command in linux with examples?

556


What does chmod 644 do?

594


What is umask in linux?

537


How do I clear terminal command history?

574


Suppose you try to delete a file using the rm command and the deletion fails. What could be the possible reason?

560






Find command can search for files by

552


What are the commands used in command prompt?

541


What does ls mean in linux?

584


Which are the linux directory commands?

567


What is the bash in linux?

544


What command can you use to make a tape archive file of a /home directory and send it to the /dev/tape device?

564


Why is it called bash?

503


What make install does?

515


Explain trap command; shift command, getopts command of linux?

570


How do you run a command for a limited time?

589