Use the following command to change the owner of the file tnarch.doc to the user jeremy:
tnchown jeremy tnarch.doc |
Use the following command to change the owner of the files status.doc and schedule.doc and the directory engineer to user ID 269:
tnchown 269 status.doc schedule.doc engineer |
Use the following command to change the owner of tadmin.jpeg to user matt without getting an error message even if the command fails:
tnchown -f matt tadmin.jpeg |
Use the following command to change the owner of schedule.ppt to user jacque and prompt for confirmation:
tnchown -i jacque schedule.ppt |
Use the following command to change the owner of the directory marketing and all files and directories under it to user diane:
tnchown -R diane marketing |