LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 09-11-2010, 04:10 PM   #1
David2010
Member
 
Registered: May 2009
Posts: 255

Rep: Reputation: 23
Some more linux related questions...


When booting up the linux distro everything boots up fine.

However the linux terminal shows "-Bash:" and doesn't show the current directory.

This may be fine for some people but I need to know what directory I am working in and having it displayed would make things a LOT easier.

Sadly though I can't find any useful information about doing this.

I found something like "PS1=\w" but that doesn't do anything at all.

Oh yeah and I don't have a .bashrc nor a /etc/bashrc for some reason.

Also when trying to use a framebuffer and using "vga=791" (1024x768) in grub the monitor turns itself off. This applies if I set vga to anything. I believe I compiled framebuffer support in the kernel but I am not 100% sure so if you believe that is the problem then I will double check. That would require redownloading the source again and networking hasn't been set up yet so... Yeah.

Also what packages does "iwconfig", "ifconfig", and "dhcpcd" come in? Those are the tools I commonly used to connect to my wireless internet but they are not present in the linux distro.
 
Old 09-11-2010, 04:19 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
Quote:
However the linux terminal shows "-Bash:" and doesn't show the current directory.
Code:
export PS1="\u@\h:\w\$ "
Put it in your .bashrc to make it happen on every login. Create the file if it doesn't exist.


Quote:
Also what packages does "iwconfig", "ifconfig", and "dhcpcd" come in? Those are the tools I commonly used to connect to my wireless internet but they are not present in the linux distro.
Search the package site of your distro. You didn't mention what distro you're running so we can't tell you.
 
Old 09-11-2010, 04:30 PM   #3
David2010
Member
 
Registered: May 2009
Posts: 255

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by AlucardZero View Post
Code:
export PS1="\u@\h:\w\$ "
Search the package site of your distro. You didn't mention what distro you're running so we can't tell you.
Sorry I forgot to mention the linux distro.

Its a custom one made using LFS:

http://www.linuxfromscratch.org/

There is no package manager just source tars.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
A bunch of vaguely Linux-related questions ... aslam_md Linux - Newbie 17 09-05-2008 09:10 AM
basic questions on hostname and domain name + related postfix questions Moebius Linux - Newbie 7 09-04-2007 12:50 PM
Questions about some old hardware (not really Linux related) voyciz Linux - Hardware 1 01-28-2005 05:15 PM


All times are GMT -5. The time now is 01:44 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration