alias

vic

RRRrrrRRRrrrRRrrr
how can i make an alias to a comand so that whwnever i turn the terminal on i can tipe in the alias and it will perform the comand?
 

endian

Dis Member
alias (new command) (standard command)

alias dir ls will add a 'dir' command to list files.

put the line in your .cshrc file to make it persistent
 

rharder

Do not read this sign.
Or if you want everyone to use the aliases (in the tcsh), edit the /usr/share/inits/tcsh/tcsh.defaults file or maybe the aliases file in the same directory.

I always like to make a 'cl' alias that does 'clear; ls -lH'.

-Rob
 
Top