Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Ok, so far so good. I've got my dual boot running, Enlightenment installed with a theme, and I even have that gkrellm program running with the sensors and what not. I've been forcing myself to use terminal now and I'm getting pretty used to it. Even shortcuts like TAB. Anyway, I've looked around and I haven't found a few answers to some questions I have so here goes.
Since I'm using terminal, I'm using it to load programs too. However, the terminal window seems to be taken over by that program. I cannot get a new command prompt and closing the terminal window kills the program. So I end up having 3 windows or so running my stuff. Anyway around that?
Next, the name the terminal uses. It says my hostname is a long string of numbers and dashes but I've checked under the network pref for gnome and it lists me as localhost.localdomain or something close. What gives?
I like to use the KDE Konsole. It allows running multiple terminals from the same window. So does the multi-Gnome terminal, but I prefer Konsole.
By using "&" you can background programs (am I using the right term?), you will also need to know how to stop them. Check some docs.
There is also the "screen" program.
Well I'm not sure where it is getting those letters and numbers from but you can customize the prompt by changing the value of the PS1 variable. For instance:
Try typing the following:
PS1="What is thy bidding: "
It will change your prompt until you close the terminal. If you want a permanent change then you can add that line to your .bashrc file or if you want it for everybody then you can add that to /etc/bashrc .
PS1 also supports a number of switches as well. You can find a list of them here.
/etc/hosts is typically for looking up the IP address of a system based on hostname (used before DNS and still useful for mnemonic names)
the file containing your host name is typicall /etc/hostname
the hostname command will also report you're hostname