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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Good Luck.
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
Ahhh that's why I have that long string. There is no hostname file. I'm going to make one. What type of file must it be, conf? And, what has to be placed in it?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.