Created
April 28, 2022 23:43
-
-
Save espio999/6d64f9b37321c29b4f7b855c07fee2a7 to your computer and use it in GitHub Desktop.
42 SILICON VALLEY Piscine 2017 Day00 Exercise 01
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir test0 | |
dd if=/dev/zero of=test1 bs=1c count=4 | |
chmod u=rwx,g=x,o=r test1 | |
mkdir test2 | |
chmod u=rx,g=,o=r test2 | |
dd if=/dev/zero of=test3 bs=1c count=1 | |
chmod u=r,g=,o=r test3 | |
dd if=/dev/zero of=test4 bs=1c count=2 | |
chmod u=rw,g=r,o=x test4 | |
ln test3 test5 | |
chmod u=r,g=,o=r test5 | |
ln -s test0 test6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment