Wednesday 2 May 2018

Why suse doesn't have .bash_profile or .bashrc for root user


I want to set few ALIAS commands on my Suse setup for root user. I cant find .bashrc file for root user in /root.


Can i use /etc/profile for this.



Answer



You can just create a .bashrc file with the required aliases in /root/.bashrc. Bash will use this if it finds it.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...