Skip to content

Latest commit

 

History

History

0x01-shell_permissions

File 0-iam_betty creates a script that changes your user ID to betty.

File 1-who_am_i creates a script that prints the effective userid of the current user.

File 2-groups creates a script that prints all the groups the current user is part of.

File 3-new_owner creates a script that changes the owner of the file hello to the user betty.

File 4-empty creates a script that creates an empty file called hello.

File 5-execute creates a script that adds execute permission to the owner of the file hello.

File 6-multiple_permissions creates a script that adds execute permission to the owner and the group owner, and read permission to other users, to the file hello.

File 7-everybody creates a script that adds execution permission to the owner, the group owner and the other users, to the file hello

File 8-James_Bond creates a script that sets the permission to the file hello as follows: Owner: no permission at all, Group: no permission at all, Other users: all the permissions

File 9-John_Doe creates a script that sets the mode of the file hello to -rwxr-x-wx.

File 10-mirror_permissions creates a script that sets the mode of the file hello the same as olleh’s mode.

File 11-directories_permissions creates a script that adds execute permission to all subdirectories of the current directory for the owner, the group owner and all other users.

File 12-directory_permissions creates a script that creates a directory called dir_holberton with permissions 751 in the working directory.

File 13-change_group creates a script that changes the group owner to holberton for the file hello.

File 14-change_owner_and_group creates a script that changes the owner to betty and the group owner to holberton for all the files and directories in the working directory.

File 15-symbolic_link_permissions creates a script that changes the owner and the group owner of the file _hello to betty and holberton respectively.

File 16-if_only creates a script that changes the owner of the file hello to betty only if it is owned by the user guillaume.

File 100-Star_Wars creates a script that will play the StarWars IV episode in the terminal.

File 101-man_holberton creates a Holberton man page.