Facebook
From fsdfs, 10 Months ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 87
  1. #!/bin/bash
  2. rm -r katalog1
  3. rm -r katalog2
  4. rm -r katalog3
  5. rm -r katalog4
  6. rm -r katalog5
  7. mkdir /home/katalog1
  8. mkdir /home/katalog2
  9. mkdir /home/katalog3
  10. mkdir /home/katalog4
  11. mkdir /home/katalog5
  12. chmod 610 katalog3
  13. chmod 610 katalog5
  14. touch /home/katalog1/p1
  15. touch /home/katalog2/p1
  16. touch /home/katalog3/p1
  17. touch /home/katalog4/p1
  18. touch /home/katalog5/p1
  19. echo "jestem karol" >> katalog1/p1
  20. echo "Oskar pozdro" >> katalog2/p1
  21. echo "11122" >> katalog3/p1
  22. echo "99823" >> katalog4/p1
  23. echo "home" >> katalog5/p1
  24.  
  25.