TotalNET Advanced Server 5.2 Reference Manual

Examples

  1. Use the following command to change the owner of the file tnarch.doc to the user jeremy:


    tnchown jeremy tnarch.doc
  2. 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
  3. 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
  4. Use the following command to change the owner of schedule.ppt to user jacque and prompt for confirmation:


    tnchown -i jacque schedule.ppt
  5. 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