Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2000 00:43:58 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Peter Kok <cckok00@stlinux.ouhk.edu.hk>
Cc:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: mistake in mv file
Message-ID:  <20000111004358.K9397@fw.wintelcom.net>
In-Reply-To: <387AE7E0.5D415499@stlinux.ouhk.edu.hk>; from cckok00@stlinux.ouhk.edu.hk on Tue, Jan 11, 2000 at 04:20:48PM %2B0800
References:  <387AE7E0.5D415499@stlinux.ouhk.edu.hk>

next in thread | previous in thread | raw e-mail | index | archive | help
* Peter Kok <cckok00@stlinux.ouhk.edu.hk> [000111 00:41] wrote:
> Hello
> 
> I made a mistake to using mv
> 
> mv .xinitrc -xinitrc but I couldn't recover
> 
> please teach me

almost all unix commands allow the sequence '--' to stop option parsing.

what you want to do is:

mv -- -xinitrc .xinitrc

good luck,
-Alfred


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




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