Skip to content

Latest commit

 

History

History

0x01-shell_permissions

Description

  • 1-who_am_i: script that prints the effective username of the current user.
  • 2-groups: script that prints all the groups the current user is part of.
  • 3-new_owner: script that changes the owner of the file hello to the user betty.
  • 4-empty: script that creates an empty file called hello.
  • 5-execute: script that adds execute permission to the owner of the file hello.
  • 6-multiple_permissions: script that adds execute permission to the owner and the group owner, and read permission to other users, to the file hello.
  • 7-everybody: script that adds execution permission to the owner, the group owner and the other users, to the file hello
  • 10-mirror_permissions: Write a script that sets the mode of the file hello the same as olleh’s mode.
  • 11-directories_permission: script that adds execute permission to all subdirectories of the current directory for the owner, the group owner and all other users. Regular files are not be changed.
  • 12-directory_permissions: script that creates a directory called my_dir with permissions 751 in the working directory.
  • 13-change_group: script that changes the group owner to school for the file hello
  • 14-copy_html: script that copies all the HTML files from the current working directory to the parent of the working directory, but only copy files that did not exist in the parent of the working directory or were newer than the versions in the parent of the working directory.
  • 15-lets_move: script that moves all files beginning with an uppercase letter to the directory /tmp/u.
  • 101-clean_emacs: script that deletes all files in the current working directory that end with the character ~.