On Tue, 25 Jan 2005, Mikey wrote:
> I am going through another Linux book and one of the exercises wants me to
> create a file, and then vopy that file to a new name.
> Here are the procedures done:
>
> touch andor
> mv andor 'and\/or'
>
> but it doesn't work. The error it gives is:
>
> mv: cannot move `andor' to `and\\/or': No such file or directory
>
> when I attempt it a backslash rather than the quote (mv andor and\\/or & mv
> andor and\\\/or) it says the same thing. The odd thing that I notice is that
> out of all of these the error message remained exactly the same (this
> includes what they say they cannot movew the subject file to.
You can not use the / (slash) because it means directory.
> cp X '-X'
> cp: invalid option -- X
Try:
cp -- X -X
Or:
cp X ./-X
Jeremy C. Reed
technical support & remote administration
http://www.pugetsoundtechnology.com/
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss