Unix profile, how to set it so the directory and command line are on the same line

My command line on one Unix machine looks like this, which I like:

[/slice6/imedw/transforms/claims/flexx] [cursor is on this line].

on another box the directory is above the cursor. This gives more typing room but 1/2 the number of lines to review on screen

Alaska CowboyAsked:
Who is Participating?
woolmilkporcConnect With a Mentor Commented:

there is a linefeed in the PS1 variable.

Try to find out where it's being set and remove the linefeed character.
Check $HOME/.profile or $HOME/.bashrc or whatever initialization files you're using.

Alaska CowboyAuthor Commented:
ok, checking now, thanks.
Alaska CowboyAuthor Commented:
worked ! thank you.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.