Thursday, February 19, 2009

Class 8 A few exercises.

Here let us do some exercises using the commands i have mentioned in the above classes.Please try yourselves, answers will be posted in next class!

1)list the last modified file at the beginning.(last modified file should be listed first)
2)descent the files according to its size.
3)to list the files and directories in a list and not in lines
4)to make directories recursively or like a tree ,one inside the other in a single command(ie a ,b inside a,c inside b ...etc)
5)needs to find all the .txt files in the current directory and copy it to a file in a single command
6)to list the files belonging to a user using uid
7)to copy all the files except the directories to a folder
8)to know the disk usage of the current folder

No comments:

Post a Comment