My asthma is rearing it's ugly head again. Consequently I am staying home away cold air and (hopefully) the falling barometer. No an especially bad attack but it always leaves me tired.
Last Friday at work I spent a good bit of time entering alias in my Solaris system logon. I wanted convenient shortcuts for the perldoc commands. The format I used was:
alias perlobj='/usr/perl5/5.6.1/bin/perldoc perlobj'
And the shortcuts all seemed to work. I entered a shortcut for each perldoc. All nice and convenient. Monday when I tried them thay had all disappeared, vanished, gone. You may imagine my dismay. I don't know whether to try again or just type in the entire path each time I want to read a document.
My wife's new boss might be in today. She will certainly give him the benefit of the doubt (she gives everyone that benefit) but it should be interesting to hear what she thinks about him or her.
Oh, wow! I just noticed! I got another karma point! Whatever that means, whatever it is for. How many do I need before I get my secret decoder ring?
persistency of aliases (Score:1)
If I understand correctly, you simply typed
If this is what you did, then it's just normal that those definitions go away with your session.
That's what files such as .bashrc are for (try adding your alias line to it; the file should be in your home directory and is run every time you open a shell; if the name of the file isn't .bashrc for Solaris, it's probably something like .profile).
Re:persistency of aliases (Score:1)
If you learn by making mistakes, I oughta be Einstein by now. That is exactly what I did. And, of course, when I enter 'alias' on the command line the computer shows me alias in .profile (or .login or whatever). The system shows all alias but not where they are located.
Staggeringly obvious - when you see it.
Thanks, cog!
By the way, your English is amazing. I would never have guessed it was not your first language (my assumption since you were born in Portugal). The only thing that might possibly give
Karma (Score:2, Funny)
In the event that there is no Karma Store near you, merely drop those Karma points in an envelope, burn it, and wait for whatever you've wished for to arrive!
------------------------------
You are what you think.
Re:Karma (Score:1)
Just what I do when I want something and don't have karma points.