File Permission of The Sh Files

Gabriel9999

Member
Joined
Mar 12, 2019
Messages
38
Reaction score
4
Credits
130
I have a Directory where a lot of bash script or sh file exist. I want to change their permission to the 770 with the chmod command. How can i accomplish that? Thanks.
 


dos2unix

Well-Known Member
Joined
May 3, 2019
Messages
1,334
Reaction score
965
Credits
8,012
chmod 770 mycoolscript.sh

If you want to change permissions several at once....

chmod 770 *sh
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Staff online


Top