I want to make use of commandline scripts and shortcuts for almost everything i want to do, to get rid of the gui’stuff as much a possible.
(Call it my personal “M$ Windows Detoxification” process)
So far i’ve found out that i can use the “alias” command, to make some temporary shortcuts/aliasses like:
alias ff=“firexfox.exe”
alias tb=“thunderbird.exe”
alias cls=“clear” (old dos habbit)
According to the “MAN BASH page” the BASH shell uses an personal ininitalisation file called .bashrc that is stored in the /home/<username>/… location
With the VI editor, Ive added my aliases to that file, but it does not work yet?/immediately?
questions
A - Where and in which file does Suse Linux “store” these aliases?
B - What needs to be done in order for it to work right
C - Is this file only read by the bash-shell after login?
Thanks for your wise comments (of further man page references)
Ronald
“Man man… and a wealthy forest of information opens up, Now i only have to find my way in it…step by step”
You can add your alias statements to .bashrc, but the intention is clearly to have a file .alias (to be created) containing the aliases. This makes them neatly seperated from .bashrc and in the same time callable from other scripts. You can then also type
. ~/.alias
in your terminal window when you miss them (read carefully, this starts with ‘dot space’).
Now the above does not help you when placing them direct in .bashrc does not wotk for you, but I wanted to point you to this way of working.
BTW did you login in the GUI anew after adding the aliases to .bashrc?
(I suppose you are still using the GUI despite your aversioin, else you could not run FireFox, etc. Look to Lynx, it is an character terminal only webbrowser lol!)