Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-11-2003, 04:27 PM   #1
Registered: Nov 2003
Location: Louisville, KY
Distribution: Slackware
Posts: 46

Rep: Reputation: 15
no .bashrc file. Need good howto or tips ?

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

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..

Old 12-11-2003, 04:29 PM   #2
Registered: Nov 2003
Location: Louisville, KY
Distribution: Slackware
Posts: 46

Original Poster
Rep: Reputation: 15
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.
Old 12-11-2003, 04:42 PM   #3
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
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...
Old 12-11-2003, 04:54 PM   #4
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
You can always do as root then change permissions/ownership, etc:

cat /etc/profile > /home/<username>/.bashrc

To get you started and then just edit what don't want and add what you do want. Gives you an idea how they are setup, etc.
Old 12-11-2003, 07:40 PM   #5
Senior Member
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,257

Rep: Reputation: 48
I believe you can find some sample bashrc files at .
I also see if you google for .bashrc you will find lots of other examples.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bashrc file Gins Linux - General 19 09-06-2005 03:19 PM
can't the file bashrc Paxmaster Linux - Software 10 01-02-2005 06:58 AM
Some good sourcebuilding tips please (alternative to PREFIX) Dark Carnival Slackware 3 11-12-2004 09:14 AM
where is the .bashrc file??? xenia Linux - Newbie 8 05-08-2004 12:11 PM
bashrc file Linvilidiot Linux - Newbie 3 03-11-2004 04:08 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration