• Undearius
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    1 year ago

    For those that don’t know, you can use three numbers, zero through eight, with the chmod command. it takes the binary of each digit to set the permissions.

    $ chmod 644
     6  |  4  |  4
    110 | 100 | 100
    rw- | r-- | r--
    
    • merc@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      with the chmid command

      Nah, that command just makes the file below average quality. It’s a new command added by Gen Z.