Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-15-2011, 01:25 PM   #1
LQ Newbie
Registered: Jan 2011
Location: Glasgow, UK
Distribution: RHEL, mint
Posts: 25

Rep: Reputation: 0
Smile Any tips on alias commands in .cshrc file please?

Hi all,

Im using tcsh shell and want to add some alias commands to my .cshrc file to make my life a bit easier.

an example of what I might like to do is

ssh pcname

cd /home/myaccounts/


without having to go through all these types of commands every time.


Last edited by hotspur919; 01-15-2011 at 01:48 PM.
Old 01-15-2011, 04:57 PM   #2
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fedora-30
Posts: 5,281

Rep: Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916
i do this
alias grep='grep --color=auto'
0 members found this post helpful.


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
why to commit .cshrc "source .cshrc" file in every new shell session simer_anand88 Mandriva 3 10-23-2009 09:44 AM
Wildcard email alias in /etc/alias file custangro Linux - Enterprise 1 10-02-2009 12:17 PM
Is it possible to write functions for a .cshrc file? pwc101 Linux - Software 1 11-02-2007 11:48 AM
Alias question (2 commands for one alias) gflores Linux - Newbie 3 01-21-2006 12:40 AM
Where is the.cshrc file in mandrake10.0? lbabey Linux - Newbie 1 11-08-2004 03:55 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:48 AM.

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