Search Results

Search: Posts Made By: sancho5
14,031
Posted By sancho5
ah yes. Thanks for the info and links; this...
ah yes. Thanks for the info and links; this should give me enough to work with for now.
Peace.
14,031
Posted By sancho5
eh.. I have to ask, which shell are you using? I...
eh.. I have to ask, which shell are you using? I am using /bin/sh and even copying the variable as you set it ( ...
14,031
Posted By sancho5
no go. when I enter that in (actually in my...
no go.
when I enter that in (actually in my .profile file in ~), the prompt comes out reading:

\u@\h:\w$

not correct, of course.

What I have entered in the variable as follows:
...
14,031
Posted By sancho5
sorry for the quirkiness, but I should revise...
sorry for the quirkiness, but I should revise this question.

How does one set the prompt to read as follows?

<username>@<hostname>:<current_working_directory>#

for instance, ...
14,031
Posted By sancho5
simple SH variable
Greetz all,
I'm using OBSD 2.9 with /bin/sh as my shell. I want to modify the SH prompt to reflect my current working directory.
I'm new to shell programming, so pardon if I'm going about things...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 03:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy