LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Some more linux related questions... (https://www.linuxquestions.org/questions/linux-newbie-8/some-more-linux-related-questions-831597/)

David2010 09-11-2010 03:10 PM

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.

AlucardZero 09-11-2010 03:19 PM

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.

David2010 09-11-2010 03:30 PM

Quote:

Originally Posted by AlucardZero (Post 4094642)
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.


All times are GMT -5. The time now is 06:18 PM.