LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-28-2007, 02:59 PM   #1
HEMMLine
LQ Newbie
 
Registered: Mar 2007
Location: London
Distribution: LFS
Posts: 7

Rep: Reputation: 0
No directory paths displayed at prompt


Hi there

After finishing the LFS book I rebooted and logged in to root. the prompt come up as "bash-3.1#" and I seem to be able to do normal things. One thing that isn't normal though is the prompt doesn't show directory paths. Is this because i've missed something in the book or is it just because I haven't setup the root profile?

Thanks for you help in advance.

Nick
 
Old 03-28-2007, 04:03 PM   #2
Unknown_User
Member
 
Registered: Jan 2003
Location: EU (UK)
Distribution: Ubuntu 14.x, Raspbian, Kali
Posts: 226

Rep: Reputation: 30
To display the directory path at the prompt edit the (hidden) file in your home directory which may be called .bashrc or .profile

Add the line

export PS1='$PWD>'
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wine [wine] config detailed settings...directory paths... breezewax Linux - Software 2 10-19-2004 06:15 PM
Can't create .ISO with full directory paths (-graft-points?) tdp05 Linux - Newbie 0 08-17-2004 04:01 PM
Automatically resolving WINDOWS paths to pre-configured Linux paths gazzy Linux - General 1 09-05-2003 10:15 PM
current working directory in ksh prompt brian0918 Linux - Newbie 2 06-03-2003 04:34 PM
current working directory in ksh prompt brian0918 Linux - Software 2 06-03-2003 01:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration