![]() |
another key like tilde in terminal
I have a general question about the linux terminal:
Is there a way to make your own ~? ~ is nice for when you want to go to home, but if there is another folder that you use a lot, can you choose another symbol that has the same effect for folder as ~ has for home? I now use aliases like this: cdf lsf to cd and ls to f, where f is the folder I use a lot, but having a symbol like ~ would make it easier since I often want to cd/ls to other folders within f. Does anybody have an idea? Thanks in advance, AhBarnasha |
Re: another key like tilde in terminal
|
Re: another key like tilde in terminal
Of course, go to here and follow the instructions.
|
Re: another key like tilde in terminal
thank you for your replies but it was not really what I was looking for.
Quote:
Quote:
there is a folder, I'll call him hank I use hank a lot I want a symbol, for instance @ and I want @ to act exactly like ~ but for hank instead of for home/user/ so that ls @/jack becomes ls hank/jack I hope this is more clear Thanks in advance, AhBarnasha |
Re: another key like tilde in terminal
You could use shell variables:
Code:
[1|user@Nokia-N900|/]export sd="/media/mmc1/" |
Re: another key like tilde in terminal
Quote:
|
All times are GMT. The time now is 02:30. |
vBulletin® Version 3.8.8