Solved

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

Posted on 2011-02-25
3
320 Views
Last Modified: 2012-05-11
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

[/home/immedpd]
$
0
Comment
Question by:Alaska Cowboy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 125 total points
ID: 34980809
Hi,

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.

wmp
0
 
LVL 1

Author Comment

by:Alaska Cowboy
ID: 34980826
ok, checking now, thanks.
0
 
LVL 1

Author Comment

by:Alaska Cowboy
ID: 34980847
worked ! thank you.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Usually shares are where we want them for our users and we tend to take them for granted. There are times, however, when those shares may disappear causing difficulty for your users. One of the first things to try is searching for files that shou…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question