LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-05-2011, 04:15 AM   #1
mspatil0037
LQ Newbie
 
Registered: Mar 2010
Location: Bangalore,India
Distribution: Red Hat
Posts: 26

Rep: Reputation: 0
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
 
Old 08-05-2011, 04:21 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by mspatil0037 View Post
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
 
Old 08-05-2011, 04:34 AM   #3
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,387

Rep: Reputation: 173Reputation: 173
type into terminal
Quote:
mousepad .bashrc
and scroll down
 
Old 08-05-2011, 04:55 AM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,072

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
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.
 
Old 08-05-2011, 05:41 AM   #5
mspatil0037
LQ Newbie
 
Registered: Mar 2010
Location: Bangalore,India
Distribution: Red Hat
Posts: 26

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by i92guboj View Post
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
 
Old 08-05-2011, 05:48 AM   #6
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,072

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wildcard email alias in /etc/alias file custangro Linux - Enterprise 1 10-02-2009 12:17 PM
IP alias? Machine name alias? JohnLocke Linux - Newbie 4 01-16-2008 12:21 PM
Alias question (2 commands for one alias) gflores Linux - Newbie 3 01-21-2006 12:40 AM
Alias ChimpFace9000 Linux - General 9 01-14-2004 04:01 AM
help with alias veteq99 Linux - Newbie 2 08-12-2003 04:23 PM


All times are GMT -5. The time now is 09:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration