Advertisement
Guest User

Untitled

a guest
Oct 16th, 2011
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. cbell@circe:~/tmp$ touch file.1 file.2
  2. cbell@circe:~/tmp$ chmod 600 file.2
  3. cbell@circe:~/tmp$ ls -l
  4. total 0
  5. -rw-r--r-- 1 cbell cbell 0 Oct 16 19:01 file.1
  6. -rw------- 1 cbell cbell 0 Oct 16 19:01 file.2
  7. cbell@circe:~/tmp$ for file in * ; do gzip $file ; done
  8. cbell@circe:~/tmp$ ls -l
  9. total 8
  10. -rw-r--r-- 1 cbell cbell 27 Oct 16 19:01 file.1.gz
  11. -rw------- 1 cbell cbell 27 Oct 16 19:01 file.2.gz
  12. cbell@circe:~/tmp$
  13.  
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement