![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pseudo-terminal will not be allocated because stdin is not a terminal. | Shivdatta | UNIX for Advanced & Expert Users | 1 | 08-04-2008 11:29 AM |
| Terminal settings from linux to solaris | tjlst15 | SUN Solaris | 2 | 09-09-2005 08:24 AM |
| Terminal Video Settings | cchyzm | UNIX for Dummies Questions & Answers | 4 | 03-17-2004 05:37 PM |
| Terminal settings on solaris | sssow | UNIX for Dummies Questions & Answers | 2 | 08-20-2003 07:10 PM |
| connecting to unix through hyper terminal - as a dumb terminal | michelle | UNIX for Advanced & Expert Users | 2 | 11-05-2001 03:32 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
KSH Terminal Settings
I've been doing a lot of searching through the forums to figure out how to:
1 - get my Backspace key to work in my ksh telnet session 2 - get the PWD to show up as the prompt Solution to 1 - stty erase ^H Solution to 2 - export PS1="$PWD>" Or so I thought...type those commands on the command line only apply the settings for the current session, it seems. I've been reading about putting these lines in the .profile, but I don't know where that file is...how can I locate and edit it? Also, #2 is kinda weird...once I tried it and it worked fine (for the current session), then I tried it again and it would display the PWD that I was in when I ran that command, even if I moved to another directory. Any help appreciated. |
|
||||
|
.profile would be available in home directory
to retrieve your home directory get the entry from /etc/passwd file against your login id then add the two solutions you had found out run your .profile to effect for the current session by . $HOME/.profile or . ~/.profile for subsequent sessions it would be automatically effected |
|
||||
|
OK, in this statement from passwd:
user:pswd:000:00:DevLogin:/u01/app/stg:/usr/bin/ksh the u01/app/stg is my home directory, correct? There is no .profile in that directory. Last edited by Perderabo; 02-17-2006 at 04:39 PM.. Reason: disable smilies for readability |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|