Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2001 00:53:16 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        "G. Adam Stanislav" <adam@whizkidtech.net>
Cc:        newbies@FreeBSD.ORG
Subject:   Re: Darn DOS habits
Message-ID:  <20010624005316.A5711@hades.hell.gr>
In-Reply-To: <20010621004307.A295@whizkidtech.net>; from adam@whizkidtech.net on Thu, Jun 21, 2001 at 12:43:07AM -0500
References:  <20010621004307.A295@whizkidtech.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 21, 2001 at 12:43:07AM -0500, G. Adam Stanislav wrote:

> In other words, when I entered
> 
> 	cp /d/path/serv*.eps
> 
> the shell changed it to:
> 
> 	cp /d/path/serv.eps /d/path/serv2/eps
> 
> That, unfortunately, is a perfectly legitimate way of using the
> cp command.

Thats exactly why I have in my /etc/csh.cshrc the following aliases:

	alias cp '/bin/cp -i \!*'
	alias mv '/bin/mv -i \!*'
	alias rm '/bin/rm -i \!*'

That `interactive' flag is a life saver some times :-)

-giorgos

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010624005316.A5711>