Solved

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

Posted on 2011-02-25
3
313 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
  • 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

Suggested Solutions

Title # Comments Views Activity
Best Server Board For The Money 19 72
ESXi unable to add blank new local Server LUN ? 12 81
unix solaris snoop command 6 98
Is my HP C7000 enclosure failing? 2 31
Hyper-convergence systems have taken the IT world by storm and have quickly started to change our point of view of how the data center should and could be architected. In this article, I’ll explain the benefits of employing a hyper-converged system …
Learn about cloud computing and its benefits for small business owners.
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

805 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