Skip to content

Instantly share code, notes, and snippets.

@espio999
Created April 28, 2022 23:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save espio999/6d64f9b37321c29b4f7b855c07fee2a7 to your computer and use it in GitHub Desktop.
Save espio999/6d64f9b37321c29b4f7b855c07fee2a7 to your computer and use it in GitHub Desktop.
42 SILICON VALLEY Piscine 2017 Day00 Exercise 01
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