Connecting Tech Pros Worldwide Forums | Help | Site Map

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

Newbie
 
Join Date: Jun 2009
Posts: 14
#1: Jun 23 '09
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.

Nepomuk's Avatar
Moderator
 
Join Date: Aug 2007
Location: Germany
Posts: 2,466
#2: Jun 30 '09

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
Newbie
 
Join Date: Jun 2009
Posts: 14
#3: Jul 1 '09

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