Changing Permissions

Is it possible to change the permissons
for an entire directory in one shot?

I'm telneting on to a linux server.

...just a beginner--

--Paul

Yes, of course, there are many ways, depending what you want to accomplish and if you want to change permissions in the subdirectories as well. One way is to use the chmod command with wildcards; another way would be to use the find command with the -exec chmod {} \; switch.

i would like to delete an entire
directory.

Your original question said you wanted to change permissions.... your followup said you wanted to delete the entire directory. These are quite different tasks.

To remove an entire directory try:

rm -rf "directory_name"

You might consider reading the man page on rm by doing a:

man rm

... and then reading about what you are about to do before you do it.

right you are...however i thought the two
were related.

anyway, i found the answer here

66.31.55.95:8008/subwebs/tips_tricks/content/bash.htm

at about the same time you relied.

thanks
--paul