|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
I am using Solaris 5.8 operating system. i made a change in .profile (i.e PS1="`$PWD >"
. now when i try to logged into the system it's gives a error -".profile[15]: /export/home/goldmine: cannot execute". i did not have any other user id to logged into the system. i want to just get the command line prompt, then i can change the .profile and make it in earlier position. pl. help me, how can i by pass to execute that line and get the command prompt. i try use cntrl+C also but no effect. pl. help me Thanks for the help |
|
#2
|
|||
|
|||
|
a) after PWD a closing ` is missed
b) i suppose $PWD is nothing else as 'pwd' so why no use 'pwd' ? note PWD is NOT a standard variable and could NOT run on other sys or using other shells c) the way you are doing it is useless, .profile is consulted ONCE on login, your PWD var will never be updated. d) what shell are you using ? reply (private) if interested, i have a working version.
__________________
working on Solaris[5-9], preferred languages french and C. |
|
#3
|
|||
|
|||
|
Thanks a lot for reply, u r correct, "`" was missed.
I already rectify that one. Thanks a lot . Bye Quote:
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > error message "cannot execute" .profile when try to logged in the system(urgent) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|