LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-11-2003, 05:27 PM   #1
cozye
Member
 
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 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..

Thanks,
Eric
 
Old 12-11-2003, 05:29 PM   #2
cozye
Member
 
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, 05:42 PM   #3
DrOzz
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, 05:54 PM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
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, 08:40 PM   #5
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,244

Rep: Reputation: 47
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.
 
  


Reply


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 04:19 PM
can't the file bashrc Paxmaster Linux - Software 10 01-02-2005 07:58 AM
Some good sourcebuilding tips please (alternative to PREFIX) Dark Carnival Slackware 3 11-12-2004 10:14 AM
where is the .bashrc file??? xenia Linux - Newbie 8 05-08-2004 01:11 PM
bashrc file Linvilidiot Linux - Newbie 3 03-11-2004 05:08 PM


All times are GMT -5. The time now is 03:31 PM.

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