[SunHELP] .Profile is not my Friend

Phil Stracchino alaric at caerllewys.net
Wed Jun 11 15:30:13 CDT 2003


On Wed, Jun 11, 2003 at 04:24:03PM -0400, Michael A. Turner wrote:
> 	All,
> 
> 	Back in my school days (only a year ago but I like that phrase) I
> had a really cool .login file I used with my Solaris login at school. It had
> a lot of stuff aliased and other useful stuff I had figured out. I drop it
> into my profile on my new sun machine and I get bupkiss, nadda, nothing. 
> 	easy enough to figure out. I am logging into a different shell that
> is not friendly to .login, it wants a .profile. A quick experiment shows
> that their is no love renaming .login to .profile (never know, might have
> worked).
> 	I did a little googling for a listing of the variables in .profile
> and what I can do with it. I can find some sample .profile examples on
> google, but the rest of the stuff is all marketing and other crap. In other
> words to much noise to signal in that quest.
> 	So to the crux of the question. Does anyone have a good resource for
> how to write a .profile script. I am particularly looking at making a
> history, so that the up arrow allows me to scroll through past commands, and
> I want to alias the backspace key when I telnet in to be actually a
> backspace. Any help would be greatly appreciated. 


First and most important question which you have neglected to provide
the answer to:  What shell are you using?

(hint:  echo $SHELL)

-- 
 .*********  Fight Back!  It may not be just YOUR life at risk.  *********.
 : phil stracchino : unix ronin : renaissance man : mystic zen biker geek :
 :  alaric at caerllewys.net : alaric-ruthven at earthlink.net : phil at latt.net  :
 :   2000 CBR929RR, 1991 VFR750F3 (foully murdered), 1986 VF500F (sold)   :
 :    Linux Now!   ...Because friends don't let friends use Microsoft.    :



More information about the SunHELP mailing list