Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
determines my default shell
Name: mgonzalo Date: February 1, 2008 at 04:00:14 Pacific OS: HP-UX CPU/Ram: hp Product: B.10.20 A 9000/785
Comment:
I have two you machine a HP (HP-UX w-hp3 B.10.20 TO 9000/785 2008935932 two-user license) and another Sun (SunOS isis1 5.10 Generic_118833-03 sun4u sparc SUNW,Sun- Fire -V240) with UNIX and when I execute The following command to it determines my default shell
%echo $$SHELL I wait something in the way
%echo $$SHELL /bin/csh
and however I obtain:
isis1% echo $$SHELL 9424SHELL isis1%
hp3:/casa1>echo $$SHELL hp3:/casa1>20607SHELL
that it means 9424 and 20607? Thank you.
"La experiencia es algo maravilloso. Nos permite reconocer un error cada vez que lo volvemos a cometer.", Franklin P. Jones
Name: nails Date: February 1, 2008 at 12:21:17 Pacific
Reply:
I think you are trying to determine your default shell by looking at the SHELL variable. You really can't trust SHELL especially if you spawn a lot of child shells.
Summary: Hi, I want to write my own shell, Could somebody guide me to a particular website or book which gives a detailed description to How to go about it? Thanks & Regards, Anshuman ...
Summary: I'll shut up and stop gushing, I promise, but can't thank you guys enough for the help. I'm now inspired to go over to the Mac forum to try and spread some of the kindness you guys have shown me. ...
Summary: 1. How would you determine your default shell (the shell that start when you log on)? 2. What command would you use to change your shell temporarilty? 3. What command would you use to change your star...