This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Dec 14th, 2012  |  syntax: None  |  size: 0.87 KB  |  views: 20  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. [dicey@entropy watcher]$ ls -lR
  2. .:
  3. total 8
  4. drwxrwxr-x. 6 dicey dicey 4096 Dec 14 18:23 test
  5. -rwxrwxr-x. 1 dicey dicey  774 Dec 14 18:33 watcher.pl
  6.  
  7. ./test:
  8. total 16
  9. drwxrwxr-x. 2 dicey dicey 4096 Dec 14 17:43 1
  10. drwxrwxr-x. 2 dicey dicey 4096 Dec 14 18:23 2
  11. drwxrwxr-x. 2 dicey dicey 4096 Dec 14 17:43 3
  12. drwxrwxr-x. 2 dicey dicey 4096 Dec 14 18:30 4
  13.  
  14. ./test/1:
  15. total 0
  16.  
  17. ./test/2:
  18. total 0
  19.  
  20. ./test/3:
  21. total 0
  22.  
  23. ./test/4:
  24. total 0
  25. [dicey@entropy watcher]$ ./watcher.pl &
  26. [1] 32145
  27. [dicey@entropy watcher]$ cd test
  28. [dicey@entropy test]$ mkdir 5
  29. ./test/5 was created
  30. [dicey@entropy test]$ cd 5
  31. [dicey@entropy 5]$ touch foo
  32. ./test/5/foo was created
  33. [dicey@entropy 5]$ rm foo
  34. ./test/5/foo was deleted
  35. [dicey@entropy 5]$ cd ..
  36. [dicey@entropy test]$ rmdir 5
  37. ./test/5 was deleted
  38. [dicey@entropy test]$ cd 3
  39. [dicey@entropy 3]$ touch bar
  40. ./test/3/bar was created
clone this paste RAW Paste Data