Purchase Linux CDs / DVDs / Flash Drives at OSDisc.com

Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd, 2017 please sign up again. Thanks!

  1. More ways to get the info! - we shoot all of our new original content out as well as random messages on Twitter and our newsletter!. Twitter | Newsletter
    Dismiss Notice

File Permission of The Sh Files

Discussion in 'General Linux' started by Gabriel9999, May 15, 2019 at 9:59 AM.

  1. Gabriel9999

    Gabriel9999 New Member

    Joined:
    Mar 12, 2019
    Messages:
    17
    Likes Received:
    1
    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.


    (Log in to hide this advertisement)

     
  2. dos2unix

    dos2unix New Member

    Joined:
    May 3, 2019
    Messages:
    24
    Likes Received:
    23
    chmod 770 mycoolscript.sh

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

    chmod 770 *sh
     
    CptCharis and Rob like this.
  3. samuel tarcin

    samuel tarcin New Member

    Joined:
    Mar 6, 2019
    Messages:
    10
    Likes Received:
    7
    CptCharis likes this.

Share This Page