Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- mkdir folder_2
- mkdir folder_1
- cd folder_2
- touch a.out
- touch b.exe
- touch c.html
- touch d.xhtml
- touch e.htm
- touch html.xml
- touch f.htmlhtm
- cd folder_1
- touch a1b
- touch a2b
- touch a3b
- touch .a4b
- ln -s "folder_2" "/home/student/folder_2/b.exe"
- chmod 333 a1b
- chmod 125 .a4b
- chmod 267 b.exe
- chmod 022 c.html
- chmod 420 html.xml
- chmod u+x a1b
- chmod g+r .a4b
- chmod r html.xml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement