From: Brian May <bam@snoopy.apana.org.au>
Subject: Re: Thought I'd throw this in ;-) for the sake of conversation.
Date: Sat, 25 Sep 2004 10:35:01 +1000
Date: 2004-09-25T10:35:01+10:00 [thread overview]
Message-ID: <sa4fz5718zu.fsf@snoopy.apana.org.au> (raw)
In-Reply-To: ph%4d.579$Wa7.250@trndny06
>>>>> "Frank" == Frank J Lhota <NOSPAM.lhota.adarose@verizon.net> writes:
Frank> I remember once wanting to copy all *.txt from the working
Frank> directory to another location. I mistakenly entered the
Frank> command
Frank> % cp *.txt
Frank> leaving off the destination directory. This did not produce
Frank> an error message. You see, there were only two *.txt files
Frank> at the time, so this command simply copied over the second
Frank> one with the contents of the first one!
In a university Prac class, I once typed in:
% ls ../abc.*
../abc.c ../abc.bak
$ mv ../abc.*
% ls
% ls ..
../abc.bak
The (confused) tutor thought I had lost all my work. Fortunately, I
realized (after studying these commands for a while) I hadn't lost
anything...
(at the time I think I was more familiar with MS-DOS; this was a
valuable learning experience in differences between how command line
parameters are processed between the two systems)
Now I have "mv", "cp" and "rm" aliased to use the "-i" flag.
--
Brian May <bam@snoopy.apana.org.au>
prev parent reply other threads:[~2004-09-25 0:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-24 1:12 Thought I'd throw this in ;-) for the sake of conversation stephane richard
2004-09-24 9:56 ` Björn Persson
2004-09-24 11:54 ` Nick Roberts
2004-09-24 13:35 ` Chris Humphries
2004-09-24 19:52 ` Nick Roberts
2004-09-27 13:25 ` Chris Humphries
2004-09-25 5:26 ` Wes Groleau
2004-09-24 13:55 ` Jean-Pierre Rosen
2004-09-24 17:36 ` Benjamin Ketcham
2004-09-24 20:17 ` Frank J. Lhota
2004-09-25 0:35 ` Brian May [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox