Connecting Tech Pros Worldwide Help | Site Map

Haven't Got a Clue on how to Do this in Unix!!!

  #1  
Old June 23rd, 2009, 11:58 PM
Newbie
 
Join Date: Jun 2009
Posts: 14
This is what I need to accomplish in Unix.

Draw a picture with 16 little boxes and fill in the 1s and 0s for the mode for a directory with permission modes of rwxr-x--x.

I am totally stumped.
Thanks.
  #2  
Old June 30th, 2009, 01:15 AM
Nepomuk's Avatar
Moderator
 
Join Date: Aug 2007
Location: Germany
Posts: 2,468

re: Haven't Got a Clue on how to Do this in Unix!!!


I'm sorry, but I have no idea, what you mean with that picture or the 0s and 1s. If you'd explain further, I might be able to help you there. I can however tell you, that (at least on linux) the command for setting the permissions to those chosen by you is
Expand|Select|Wrap|Line Numbers
  1. chmod 751 name_of_file
Greetings,
Nepomuk
  #3  
Old July 1st, 2009, 06:53 PM
Newbie
 
Join Date: Jun 2009
Posts: 14

re: Haven't Got a Clue on how to Do this in Unix!!!


Thanks. I already found out what it was. I needed to convert it into code.
Reply