Loading...
Loading...
Topics
Posts
Groups
| in
CentOS
└ centos.org
└ All Groups
-----------------------------------
apache.org
postgresql.org
rawmode.org
-----------------------------------
All Groups
x
[
help
]
Home
>
Groups
>
CentOS
>
Where is the file that sets aliases?
(19 posts) > View Post
Re: Where is the file that sets aliases?
View Post
Flat
Thread
Threaded
|
< Prev
-
Next >
Kai Schaetzl
Re: [CentOS] Where is the file that sets aliases?
|
+1 vote
[
Profile
|
Reply to group
]
[
Flat
Thread
Threaded
]
Anne Wilson wrote on Sun, 9 Nov 2008 09:51:16 +0000:
> > /root/.bashrc
>
> That's exactly what I was looking for, thanks.
That was already told very early on, but you didn't notice it!
Kai
--
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services:
http://www.conactive.com
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
Thread : Where is the file that sets aliases?
1)
Anne Wilson
I was having a problem in a shell script that turned out to be cp being aliased to 'cp -i'. Not a...
2)
Mark Hull-Richter
Try /etc/profile. mhr
3)
Anne Wilson
That doesn't appear to define cp, l, ll, ls, mv, rm or which, all of which are listed by the...
4)
Ignacio Vazquez-Abrams
~/.bashrc FTR, you can use \cp to get around this.
5)
Anne Wilson
That seems to be the place to add user-specific ones, but where are the global default ones? I was...
6)
Ignacio Vazquez-Abrams
All global default files are in /etc/skel.
7)
William L. Maltby
/etc/bashrc But be aware that root-specific ones are here on 5.x # grep alias .bashrc # User...
8)
Anne Wilson
I'm sorry, but I just can't understand why I can't find these Anne
9)
Mark A. Lewis
/root # .bashrc # User specific aliases and functions alias rm=3D'rm -i' alias cp=3D'cp -i' alias...
10)
William L. Maltby
Local mods somewhere in the past? Missed update? # lsb_release LSB Version:...
11)
John R Pierce
bash runs... /etc/profile /etc/bashrc and $HOME/.bash_profile or $HOME/.bash_login or...
12)
Anne Wilson
That's exactly what I was looking for, thanks. Anne
13)
Kai Schaetzl
Anne Wilson wrote on Sun, 9 Nov 2008 09:51:16 +0000: That was already told very early on, but you...
14)
Anne Wilson
Looking back, I still can't see it, Kai. I remember being told to look in ~/.bashrc. Still, the...
15)
Joshua Baker-LePain
If you're root (why are you logging in as root?), then ~ *is* /root.
16)
Anne Wilson
I wasn't - that's the whole point. That's why I didn't find it. Anne
17)
Anne Wilson
I guess that the OP thought I was when he said that, though Anne
18)
William L. Maltby
Helped by circumstances. _Normally_, the default install has those aliases only assigned for root,...
19)
Anne Wilson
Well, it might have been painful at the time, dealing with this and with the damage on the box...
Highlight
View Post
Flat
Thread
Threaded
|
< Prev
-
Next >
Home
>
Groups
>
CentOS
>
Where is the file that sets aliases?
(19 posts) > View Post
Grokbase
|
Groups
|
Tags
|
People
|
Add a group
|
FAQ
|
About
Provide
feedback
|
|
Credits
| Created by
John