Tuesday, July 28, 2009

Unix commmand help please?

how do you write as a unix command which setups read and write access for self, group, and all?

Unix commmand help please?
chmod ugo+w [list of filenames]


or


chmod a+w [list of filenames]





ugo = user, group, and others


a = all, which is equivalent


+w = add write permission.





You don't want to use the octal mode (say, "chmod 666") because that will remove execute permission from files which had it.
Reply:I don't understand your question but I THINK you are asking how to setup permissions on a file/directory?





if so the command is





chmod 666 %26lt;file/directory name%26gt;





now this JUST allows read/write access to the file/directory, if you want users to be able to execute the command/enter the directory you need to make it executable (777)





you did not say what version of unix you are using but for chmod they are virtually the same








man chmod





see below for a link to a web based chmod man page





dougc








if you need more info on your unix system do the following command
Reply:here is a online description of 'chmod' command:


http://www2.tu-berlin.de/zrz/dienste/www...





the same information you can find in 'man chmod'
Reply:you'll find that command already there...





chmod





do a 'man chmod' and you'll have more info than you can imagine





enjoy!
Reply:Computer Tutorials, Interview Question And Answer


http://freshbloger.com/





Oracle Interview questions and answers-


http://oracleqa2.blogspot.com/





Oracle tutorial-


http://oracletutorials.blogspot.com/...





Oracle tutorials- http://oracletutorials.info/





sql tutorials- http://sqlstring.com/

hibiscus flower

No comments:

Post a Comment