1 |
On Monday 20 November 2006 12:46, Dirk Heinrichs wrote: |
2 |
> Am Montag, 20. November 2006 00:22 schrieb ext Benno Schulenberg: |
3 |
> > Mick wrote: |
4 |
> > > # cp --help |
5 |
> > > cp: invalid option -- g |
6 |
> > > Try `cp --help' for more information. |
7 |
> > |
8 |
> > You apparently have "cp" aliased to "cp -g ...". Type 'alias' to |
9 |
> > find out. Then remove this alias setting from your .bashrc file, |
10 |
> > or whereever it is set, and relogin. |
11 |
> |
12 |
> ... or just unalias (instead of relogin). |
13 |
|
14 |
Thank you both, indeed I had the -g option in my aliases, have the options |
15 |
changed recently for cp & mv commands? |
16 |
|
17 |
============================================== |
18 |
$ alias |
19 |
alias cp='cp -ivg' |
20 |
alias d='ls --color' |
21 |
alias diff='colordiff' |
22 |
alias grep='grep --color=auto' |
23 |
alias less='less -r' |
24 |
alias ll='ls --color -l' |
25 |
alias ls='ls --color=auto' |
26 |
alias mv='mv -ivg' |
27 |
alias rm='rm -iv' |
28 |
============================================== |
29 |
|
30 |
I can't even remember what -g used to do . . . |
31 |
-- |
32 |
Regards, |
33 |
Mick |