Thread
:
Idea: UI for Xterm
View Single Post
fpp
2007-05-29 , 19:23
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#
5
You need to create a file named ".profile" in your home dir (/home/user).
In this file you can declare any shorthand you like for long commands, using the "alias" syntax, like this :
alias cls=clear
alias l='ls -l'
alias ll='ls -al'
alias docs='cd MyDocs/.documents'
etc. ...
Then you make that file executable using :
chmod +x .profile
From then on, when you run xterm, the .profile will be executed for you and all your aliases will be available.
Quote & Reply
|
fpp
View Public Profile
Send a private message to fpp
Visit fpp's homepage!
Find all posts by fpp