SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Hi, i like to watch the fortune cookies stuff every time i open up a terminal. i now know the reason why kde 3.2.1 delete this issue it don't delete it, it just delete the user profile in the terminal so you don't see any message of fortune cookie. well i'm using aterm in kde 3.1.4 i want that instead of the typical bash$ that appears in the aterm terminal, i want it to appear user@machine$ like the usual one that appears in the kde console all the time. how i put that back but in aterm? i know how to delete user@machine$ from any terminal, but i don't know how to put it back. any tips?
You're experiencing the difference between a login shell and a sub-shell.
There are a few initialization scripts which bash reads when it starts up. If you log in, say in a regular old console, bash reads /etc/profile and /home/user/.bash_profile
When a subshell (xterms and the like) starts up, it only reads the file /home/user/.bashrc
Within /home/user/.bashrc you want to have the line:
Okay, I get it and I was right. What you want to do is open up your .bashrc file in your home directory. There will be a chunk that looks like
PS1="[stuff in here]"
Change that to
Check out the link I gave a few posts back, it gives all the commands that you can add to change the way it looks. You can add all sorts of stuff.
ohh yeah, but the problem is i don't have any .bashrc file in my home directory. i only have .bash_history which is a text file that have all the commands i have already use in bash. so what can i say, if konsole have the user login as default prompt where does it check it? so i could put it too in aterm.