LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Alias (https://www.linuxquestions.org/questions/linux-newbie-8/alias-895695/)

mspatil0037 08-05-2011 04:15 AM

Alias
 
Hi,

Below are few of my questions that i am worried about.


1. alias command will list me all aliases. How to find where these aliases are located?

2. Please suggest me few resources on XWindows

Tinkster 08-05-2011 04:21 AM

Quote:

Originally Posted by mspatil0037 (Post 4434356)
Hi,

Below are few of my questions that i am worried about.


1. alias command will list me all aliases. How to find where these aliases are located?

Commonly in your/a bashrc

yooy 08-05-2011 04:34 AM

type into terminal
Quote:

mousepad .bashrc
and scroll down

i92guboj 08-05-2011 04:55 AM

This really depends on what shell do you use. Typical locations for bash are ~/.bashrc, ~/.bash_profile, ~/.bash_login and /etc/profile. For other shells these locations will differ. So, check the man page for your shell.

mspatil0037 08-05-2011 05:41 AM

Quote:

Originally Posted by i92guboj (Post 4434381)
This really depends on what shell do you use. Typical locations for bash are ~/.bashrc, ~/.bash_profile, ~/.bash_login and /etc/profile. For other shells these locations will differ. So, check the man page for your shell.



I am using /bin/tcsh

i92guboj 08-05-2011 05:48 AM

Then I guess you should be reading the man page for tcsh. The initialization files will differ from those used by bash. I only used csh marginally in my university, so I can't really be of much help with it.


All times are GMT -5. The time now is 12:00 PM.