Unix lab-3

Document Sample

Shared by: Honey Singh
Categories
Tags
Stats
views:
243
posted:
11/12/2007
language:
English
pages:
0
Lab-3 (UNIX Programming)



Q:-1) Locate the ordinary files that have been created exactly ten days before and whose names begin with “cha” and copy them to the user directory. Q:-2) Display the names of all ordinary files from the current directory and all its content subdirectories whose names end in “ing” and which have been modified with in the last three days. Q:-3) Redirect the contents of ls-p to a file called dir. Give the command to redirect the output of a long listing of files and append it to the file dir. Q:-4) Revoke the execute and write permissions from the group and the user for those files whose names begin with “m” and which have been modified in the last two days. Q:-5) Move those files which begin with “t” and have been modified more than five days ago to the directory class. Q:-6) Change the modes of those files which begin with “s” in such a way that the owner has read and execute permission, the group has read and write permission and others only read permission. (Use octadecimal representation)




Share This Document


Related docs
Other docs by Honey Singh
interview
Views: 1891  |  Downloads: 182
CCNA Notes page 1
Views: 339  |  Downloads: 41
j3d_tutorial_ch6
Views: 180  |  Downloads: 6
2-Datamining_Edward
Views: 125  |  Downloads: 4
Warren Buffett_27s Invisible Empire
Views: 1487  |  Downloads: 91
Shell Programming
Views: 252  |  Downloads: 14
Economics and Language - Ariel Rubinstein
Views: 227  |  Downloads: 5
interview_question_oracle
Views: 436  |  Downloads: 101
Some Useful Linux Commands
Views: 540  |  Downloads: 77
ts
Views: 111  |  Downloads: 0
by registering with docstoc.com you agree to our
privacy policy

You are almost ready to download!

You are almost ready to download!