Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm telnetting into an IRIX 64 server and I'm trying to create shortcuts to emacs, gvim, and other executables that are stored in a certain directory. I tried using the alias command on the command line in the following manner:

alias gvim="/usr/.../gvim"
alias emacs="/usr/.../emacs"

but whenever I try this and run emacs/gvim, it still doesn't work. And when I run alias -p, nothing shows up. What am I doing wrong?

share|improve this question
up vote 2 down vote accepted

From what I found, IRIX uses csh as its default shell. Thus its syntax is different: rather than alias foo=bar you use alias foo bar.


alias gvim /usr/.../gvim
alias emacs /usr/.../emacs
share|improve this answer
Oh, ya that works. How do I make it so that my shortcuts will exist every time I start my terminal? Is there some sort of .cshrc or .tcshrc for it? – de1337ed May 24 '12 at 18:51
You can use .cshrc. – Renan May 24 '12 at 18:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.