Hi thre,
ls -Rlat > /home/csuser/myfile
Mean of the following switches are :---
-R includes the contents of subdirectories.
-l Shows you huge amounts of information (permissions, owners, size, and when last modified.)
-a Shows you all files, even files that are hidden (these files begin with a dot.)
-t Shows you the files in modification time.
And now output of this command will print to a file named "myfile" at location /home/csuser
cat /etc/passwd | head -n 5
Display top 5 lines of the file named passwd witch is located at /etc
Suryakant Yadav
Hi...can anyone please explain for me what the commands below do
a. ls -Rlat > /home/csuser/myfile
b. sort < numbers > results
c. cat /etc/passwd | head -n 5
Thank You
outofmymind