Skip to content

Latest commit

 

History

History

0x01-shell_permissions

Description of the bash scripts in this project

Change user to betty.

Display who is the current user.

Display the groups in which the user is.

Change owner of the "hello" file to "betty".

Create an empty file named "hello".

Make the "hello" file executable by the user.

Add the permission to execute to user and group owner and permission to read to others.

Add the permission to execute to everyone.

Grant no permissions to user and group owner and all permissions to others.

Grant all permissions to user, read and execute to group owner and write and execute for others.

Apply the permissions of the "olleh" file to the "hello" file.

Add the permission to execute to everyone in all the subdirectories in the current one.

Create a directory called "my_dir" with specific permissions.

Change group owner of the "hello" file to "school".

Change the ownership and group ownership to "vincent" and "staff" to all files and subdirectories inside the current one.

Change the ownership and group ownership of the symbolic link "_hello" to "vincent" and "staff".

Change the ownership of the "hello" file to "vincent" if it's owned by "guillaume".

Play "Star Wars episode IV" in the terminal".