$ ls |grep .pl > setpermis.txtFirst we put all the filenames of the files that we'd like to set their permissions into a file named 'setpermis.txt'. And after that we ask chmod to use that file to set all the permissions.
$ sudo chmod 755 $(>setpermis.txt)
As a complete newbie in Linux I thought it might be helpful for myself and maybe others that I record my progress with this new system. I will list all the commands and their purposes here on this blog.
zaterdag 5 november 2011
Changing permissions for your files.
I'm messing around with my Ubuntu server once again. I'm trying to get Wakaba running. Wakaba has a lot of Perl scripts that need to the permissions to be set at 755. Here's how you do that.
Abonneren op:
Reacties (Atom)