Skip to content

Instantly share code, notes, and snippets.

@chege-kimaru
Created July 18, 2020 17:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chege-kimaru/c86e0a3ee93cf2f38a89807080c24678 to your computer and use it in GitHub Desktop.
Save chege-kimaru/c86e0a3ee93cf2f38a89807080c24678 to your computer and use it in GitHub Desktop.
create bash file and input:
#!/bin/bash
echo "welcome"
ls
echo "this is the whole list of dir"
Read- read permission is assigned to 4
Write- write permission is assigned to 2
Execute- execute permission is assigned to 1
sudo chmod 774 directories.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment