Skip to content

Latest commit

 

History

History

README.md

Shell Permissions Tasks

Task Checklist

  • 0 Write a script that switches the current user to the user betty.
  • 1 Write a script that prints the effective username of the current user.
  • 2 Write a script that prints all the groups the current user is part of.
  • 3 Write a script that changes the owner of the file hello to the user betty.
  • 4 Write a script that creates an empty file called hello.
  • 5 Write a script that adds execute permission to the owner of the file hello.
  • 6 Write a script that adds execute permission to the owner and the group owner, and read permission to other users, to the file hello.
  • 7 Write a script that adds execution permission to the owner, the group owner and the other users, to the file hello
  • 8 Write a script that sets specific permissions for the file hello: no permission for the owner and group, all permissions for other users.
  • 9 Write a script to set the mode of the file hello to -rwxr-x-wx.
  • 10 Write a script to set the mode of the file hello to match the mode of another file named olleh.
  • 11 Write a script to add execute permission to all subdirectories of the current directory for the owner, the group owner and all other users.
  • 12 Write a script that creates a directory called my_dir with permissions 751 in the working directory.
  • 13 Write a script that changes the group owner to school for the file hello
  • 14 Write a script that changes the owner to vincent and the group owner to staff for all the files and directories in the working directory.
  • 15 Write a script that changes the owner and the group owner of _hello to vincent and staff respectively.
  • 16 Write a script that changes the owner of the file hello to betty only if it is owned by the user guillaume.
  • 17 Write a script that will play the StarWars IV episode in the terminal.