SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Hello everyone.
I have a default slackware installation and have been wanting to change my bash setup. It is all using the default /etc/profile now I suspect, as there is not a .bashrc or .bash_profile. Problem is, I have never really set one up before and could use a tip or too. I did read some on http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/index.html
It would be great if I could find a little more information on setting a .bashrc from scratch, knowing what I need to have etc..
also, does anyone have any thoughts on how it will behave in aterm ? I am used to gnome-terminal but I have been testing aterm and notice that it behaves a little differently.
well i see what you want, but you don't say exactly what you want...i think that makes sense ;-)
anyways, you'll have to state what you want to have in this file and for what purpose, like do you just want to change how your prompt looks? i am not sure...
anyways its no big deal if you don't have it, just make it...
type "touch .bashrc in your home folder and there you go its there, now as to what you want in it, i do not know..
or just open it up in a text editor (even though it doesn't exist) and once you save it, then again it will also be there...
as per that howto your reading, i don't think there is much more to need other than that....i know when it comes to linux and man pages and howtos, some, maybe most seem like greek to most, but that howto is straight forward, and it gives plenty of examples to play with...
and you ask the question what do you need? well to learn you will need that howto, and to do it just a text editor of your choice...and thats it...
if you want specific examples, then just state what your trying to do...
I believe you can find some sample bashrc files at http://www.dotfiles.com/ .
I also see if you google for .bashrc you will find lots of other examples.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.