Custom keyboard shortcuts

If there are lengthy Terminal commands you find yourself typing over and over again, why not create a nice, easy-to-remember shortcut? Unix‘ alias feature is, of course, part of BeOS, and all you have to do to take advantage of it is to insert aliases on your /boot/home/.profile file.
For example, if you find you always want long, complete directory listings rather than the short, filename only listings provided by ls, add this line to your .profile:
alias ls=“ls -l -a“
The next time you launch Terminal, typing ls will remap to the long format. Another useful one might be an alias to FTP to your server, for instance:
alias ftb=“ftp mysite.dnai.com“
Use your imagination.

 

Comments

No comments so far.

(comments are closed)

 
Blogroll
Tags

Haiku

Resources