LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-12-2002, 11:03 AM   #1
UB_KMA
Member
 
Registered: Jul 2002
Location: Austin,TX
Distribution: A mash of SourceMage, Lunar, Slack, Manny, and RedHat all smushed together
Posts: 94

Rep: Reputation: 15
Konsole prompt/commands


Hey! Very new to Linux here...
This is, hopefully, an easy question to answer (doesn't it always seem to be the simple things that make ya scream "HELP!"?)

Got my Slackware 8,1 up and running in X without too much trouble -- it being the 6th distro I've tried in the last week and a half, and seemingly the best. Mandrake, RH, SuSe...argh, too friendly, so much so that they won't let you do what you want, when you want. The others, just kinda...incomplete...

Um, yeah, the question...

When using Konsole, I get the bash2.5a# prompt...it doesn't show the base directory at the prompt, or accept the standard commands -- "dir", for instance, to list the contents of the current directory. It is useable, of course, but I want to have access to the same functionality and look as I would get if I weren't in X. I know this is do-able, as several of the other distros I tried afforded this type of interface while using Konsole.

I hate to admit, but I can't figure it out (and believe me, I tried). There are many more important tasks I need to address and things to learn (ah, to be a newbie again, eh?) But....I....can't....let...this...go....and ...move...on.....ugh!

Thanks in advance!
 
Old 07-12-2002, 12:08 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Bash is standard shell. Most distros use it. Look if you have all important dirs in your PATH:
echo $PATH
How to add something? Lat's say there's no /usr/sbin. To add this use
export PATH=$PATH:/usr/sbin .This change is not saved when you reboot. So edit your .bash_profile in your home directory and write this command inside.
 
Old 07-12-2002, 12:13 PM   #3
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
dir isn't a standard command under Linux, its a common alias for "ls -lh"

Likewise the display of the prompt doesn't have the directory by default, many distros just set up their default profile that way. I think http://www.blackie.dk/dotfile/ can help you set up a bach profile with a custom command prompt, otherwise read the bash documentation.

If you get different set ups in X and outside of X, then the odds are you are using a graphical login which is bypassing the profile (as it isn't a login shell), you can set these things in the x login script instead, or using ~/.bashrc
 
Old 07-12-2002, 12:14 PM   #4
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
You can do a search on google or here on LQ for prompt setup or prompt tips on how to configure it. I posted a good link a while back you may be able to find...
 
Old 07-12-2002, 12:31 PM   #5
UB_KMA
Member
 
Registered: Jul 2002
Location: Austin,TX
Distribution: A mash of SourceMage, Lunar, Slack, Manny, and RedHat all smushed together
Posts: 94

Original Poster
Rep: Reputation: 15
Wow! Thanks, guys! I'll have it customized in no-time now, I'm sure
 
  


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
no konsole prompt in mandrake 9.1 bcf2 Linux - Newbie 4 08-05-2009 11:13 PM
Default Konsole prompt in Slackware 10 kamransoomro84 Slackware 3 05-13-2005 01:14 PM
Konsole prompt drguitarum2005 Linux - Newbie 1 02-21-2005 01:57 AM
How to configure Konsole bash prompt? lasindi Linux - Software 6 01-16-2005 05:38 PM
Suse Konsole prompt ? blavo SUSE / openSUSE 6 10-13-2004 05:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:55 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