473,324 Members | 1,678 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

not showing full path after login

Hi,

after connecting to Linux server instead of showing "/user/ux/dks $" it is showing only "$" only .

Details:
flavour: Linux
default shell is ksh

Can anybody help me what is the exact problem.

Thanx
Jan 29 '09 #1
3 2478
vituko
48
In BASH, the prompt is defined throw two variables : $PS1 (static) and $PROMPT_COMMAND (dynamic)... Man bash and search for prompting, prompt_command,... No idea about ksh
Jan 29 '09 #2
I exported the export PS1='${PWD} !' after also it is not showing the full path.

Regards,
DK
Jan 30 '09 #3
vituko
48
Ok, in bash it works. And googling it should also work in ksh... try echoing $PS1. Ksh sounds nice (associative arrays, floats,...), but bash is the default shell in most distros, you can try usermod -s to set bash as your login shell...
Jan 30 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Sims | last post by:
Hi, I have a few 'secure' area where the user needs to log-in b4 they can make view it. I know how to redirect them to the login page but how can I return them to the page they were? if I...
2
by: Alex Rybalov | last post by:
Hi, Using IIS 5.0 and sometime some asp pages (absolutely randomly) showing as blank white pages. So far only one way of fixing it - restart whole server. Restarting IIS, or specific web server...
2
by: Murphy | last post by:
Our website contains subdirectories for each subsidiary company, each company has it's own look and feel to the pages in their subdirectory although they are all part of the main website. The...
2
by: Mark | last post by:
Hi everyone, I have to write an ASP.NET page that given a path to a folder on server shows the size of the folder. The path is in the format \\ServerName\folder\username\ I have written some...
2
by: dgk | last post by:
I have an image in the masterpage which works fine everywhere except the login page. I have the login control on a page (login.aspx naturally) and the user is directed to it via forms...
2
by: aasif | last post by:
Hello, need some help with "HelpProvider" in vb2005. I have made a .chm file, and have a topic in there with TopicID called "Login". I have tried for sometime to get (on f1) to launch the .chm file...
0
by: Tigertoes | last post by:
I have been using forms authentication with no problems. However, I now want to navigate around various forms on my site using FULL URLs (i.e http://host/xxx/yyy.aspx etc). When I hit the redirect...
4
by: Vlad | last post by:
I am having problems using the file.create method within a function that is called when looping through an array of filepaths. If I call my function with a hardcoded file path --C:\Temp.txt the...
0
by: tweakmy | last post by:
Hi to all expert, ladies coders and gentlemen coders, I m quite newbie in this. I just started vb.net not long ago..because i was too crazy bout making an application for my own phone. as for now, i...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.