little by little, the night comes around

My command-line knowledge is pretty passable, but sometimes I screw up in hilarious ways.


imogen:~ riney$ mkdir flonk
imogen:~ riney$ echo "I am the first file" > flonk/1.txt
imogen:~ riney$ echo "I am the second file" > flonk/2.txt
imogen:~ riney$ echo "I am the third file" > flonk/3.txt
imogen:~ riney$ cd flonk
imogen:flonk riney$ ls
1.txt 2.txt 3.txt
imogen:flonk riney$ tar czvf * foo.tgz
2.txt
3.txt
tar: foo.tgz: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
imogen:flonk riney$ mkdir 1 2 3
imogen:flonk riney$ mv 1.txt 1
imogen:flonk riney$ mv 2.txt 2
imogen:flonk riney$ mv 3.txt 3
imogen:flonk riney$ cd 1
imogen:1 riney$ tar xzvf 1.txt
2.txt
3.txt
imogen:1 riney$ cat 2.txt
I am the second file
imogen:1 riney$ cd ..
imogen:flonk riney$ cd 2
imogen:2 riney$ tar xzvf 2.txt

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
imogen:2 riney$ cat 2.txt
I am the second file

This entry was posted in Uncategorized. Bookmark the permalink.

2 Responses to little by little, the night comes around

  1. mom says:

    This has to be the funniest screw-up I have ever seen.

  2. riney says:

    I guess you had to be there.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>