Advertisement
Guest User

Untitled

a guest
Mar 7th, 2015
235
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [kapsh] ~/tmp % for ((i=0; i<10; i++ )); do touch "file $i"; done
  2. [kapsh] ~/tmp % ls
  3. file 0 file 1 file 2 file 3 file 4 file 5 file 6 file 7 file 8 file 9
  4. [kapsh] ~/tmp % for f in *; do ls "$f"; done
  5. file 0
  6. file 1
  7. file 2
  8. file 3
  9. file 4
  10. file 5
  11. file 6
  12. file 7
  13. file 8
  14. file 9
  15. [kapsh] ~/tmp %
Advertisement
RAW Paste Data Copied
Advertisement