Skip to content

Commit

Permalink
finished
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinMousa committed Aug 3, 2023
1 parent e24123e commit 183d08d
Show file tree
Hide file tree
Showing 19 changed files with 37 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 0x01-shell_permissions/0-iam_betty
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
su betty
2 changes: 2 additions & 0 deletions 0x01-shell_permissions/1-who_am_i
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
whoami
2 changes: 2 additions & 0 deletions 0x01-shell_permissions/10-mirror_permissions
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
chmod --reference=olleh hello
2 changes: 2 additions & 0 deletions 0x01-shell_permissions/100-change_owner_and_group
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
chown vincent:staff *
2 changes: 2 additions & 0 deletions 0x01-shell_permissions/101-symbolic_link_permissions
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
chown -h vincent:staff _hello
2 changes: 2 additions & 0 deletions 0x01-shell_permissions/102-if_only
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
chown --from=guillaume betty hello
2 changes: 2 additions & 0 deletions 0x01-shell_permissions/103-Star_Wars
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
telnet towel.blinkenlights.nl
2 changes: 2 additions & 0 deletions 0x01-shell_permissions/11-directories_permissions
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
chmod -R a+x */
2 changes: 2 additions & 0 deletions 0x01-shell_permissions/12-directory_permissions
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
mkdir -m 751 my_dir
2 changes: 2 additions & 0 deletions 0x01-shell_permissions/13-change_group
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
chgrp school hello
2 changes: 2 additions & 0 deletions 0x01-shell_permissions/2-groups
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
groups
2 changes: 2 additions & 0 deletions 0x01-shell_permissions/3-new_owner
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
chown betty hello
2 changes: 2 additions & 0 deletions 0x01-shell_permissions/4-empty
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
touch hello
2 changes: 2 additions & 0 deletions 0x01-shell_permissions/5-execute
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
chmod u+x hello
2 changes: 2 additions & 0 deletions 0x01-shell_permissions/6-multiple_permissions
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
chmod u+x,g+x,o+r hello
2 changes: 2 additions & 0 deletions 0x01-shell_permissions/7-everybody
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
chmod a+x hello
2 changes: 2 additions & 0 deletions 0x01-shell_permissions/8-James_Bond
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
chmod 007 hello
2 changes: 2 additions & 0 deletions 0x01-shell_permissions/9-John_Doe
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
chmod 753 hello
1 change: 1 addition & 0 deletions 0x01-shell_permissions/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
read me

0 comments on commit 183d08d

Please sign in to comment.