root question
I made an alias in my .bashrc file for ls. really simple, its lst="ls -l". works like it should. when i am root it doesn't work, that makes sense, but is there a place where I can do something similar for root, or do i need to make it a script?
Thanks. |
Edit the /root/.bashrc file :D
Each user has one in their home directory. Here is mine Code:
# fancypiper ./.bashrc for user phil |
Thanks, I thought there would be something like that. I thought I looked, but I guess i looked in the wrong spot? As soon as I get my other problem fixed, i'll try that.
|
Just a little FYI here. If you want the alias to be available to ALL users on the machine then you could add the alias line to the bottom of the /etc/bashrc file assuming you are using bash.
By the way I like some of your alias Fancypiper. Can I use some of those or do I need to pay for a product key to use those? ;) |
Thank you much. I knew it was just something I was overlooking.
|
All times are GMT -5. The time now is 01:04 AM. |