home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Linux and Unix
Ask a Tech Support Question (free)!

customizing bash

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2464
Discussions: 200,961, Posts: 2,379,562, Members: 246,330
Old December 14th, 2003, 02:26 PM   Digg it!   #1 (permalink)
Member
 
Join Date: Apr 2002
Posts: 35
Send a message via AIM to TeRG
customizing bash

i have customized my bash profile thing, so it looks like I want it to.

All except for when i change users, it goes back to bash-2.05b$.

I saved it to /etc/profile so it starts out with the prompt i like every time, but How do i make it so it goes to if i were to start bash from another shell, or su to another user?

the other thing it does to me is, when a shell starts, it pukes out a bunch of stuff like:
Code:
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x TERM="xterm"
declare -x USER="nick"
declare -x XINITRC="/etc/X11/xinit/xinitrc"
for those of you who want to see what i have it looking like, you can check out http://206.146.80.74/img/bash.jpg
TeRG is offline   Reply With Quote
Old December 14th, 2003, 04:46 PM     #2 (permalink)
Ultimate Member
 
Praetorian's Avatar
 
Join Date: Oct 2001
Location: Arizona
Posts: 2,538
Dig around in ~/.bash_profile, or ~/.bashrc. You should find your stuff in there
Praetorian is offline   Reply With Quote
Old December 14th, 2003, 04:49 PM     #3 (permalink)
Ultimate Member
 
linux_guru's Avatar
 
Join Date: Oct 2001
Location: Melbourne, Australia
Posts: 1,228
The best way to customise bash is to remove (or disable) it and install PDKSH.
linux_guru is offline   Reply With Quote
Old December 14th, 2003, 05:10 PM     #4 (permalink)
Ultimate Member
 
pbharris's Avatar
 
Join Date: Oct 2001
Location: Chicago, IL
Posts: 2,514
Send a message via ICQ to pbharris Send a message via AIM to pbharris Send a message via Yahoo to pbharris
/etc/bashrc

hows ya doing Terg?
__________________
Odds are very good there are several spelling mistakes in this post.
pbharris is offline   Reply With Quote
Old December 14th, 2003, 05:16 PM     #5 (permalink)
Ultimate Member
 
pbharris's Avatar
 
Join Date: Oct 2001
Location: Chicago, IL
Posts: 2,514
Send a message via ICQ to pbharris Send a message via AIM to pbharris Send a message via Yahoo to pbharris
/etc/bashrc

hows ya doing Terg?
pbharris is offline   Reply With Quote
Old December 14th, 2003, 07:53 PM     #6 (permalink)
Member
 
Join Date: Apr 2002
Posts: 35
Send a message via AIM to TeRG
alright, thanks guys..ill dig around some.

and im doing good, pbharris, what about you?
__________________
" I studied silence to learn the music
I joined the sinful to regain innocence"
TeRG is offline   Reply With Quote
Old December 14th, 2003, 11:37 PM     #7 (permalink)
Ultimate Member
 
pbharris's Avatar
 
Join Date: Oct 2001
Location: Chicago, IL
Posts: 2,514
Send a message via ICQ to pbharris Send a message via AIM to pbharris Send a message via Yahoo to pbharris
good good!
pbharris is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2979)
The disrespect of Obama by Russian .. (46)
Making Health Care Worse (181)
Wireless Televisions. (12)
CPU fan stops spinning randomly (11)
Regular Build (11)
windows 7 problem (7)
Laptop with wireless problem. (5)
windows vista security holes (13)
Is the PSU I received dead? (13)
Print spooler problem (16)
Point and Shoot Camera Suggestions. (5)
radeon x850xt platinum & shader.. (6)
HIS HD5770 graphic card question (15)
Recent Discussions
CPU fan stops spinning randomly (11)
Nvidia GTX 260 problem (1)
Modern Warfare 2: Who Bought It? (65)
Point and Shoot Camera Suggestions. (5)
Is the PSU I received dead? (13)
Print spooler problem (16)
windows vista security holes (13)
Kingston Bluetooth Dongle Driver (1)
Multiple Restarts Required at Boot (3)
Open With ..... Win7 (1)
webcam (0)
upgrade for hp a6101 (0)
Laptop with wireless problem. (5)
tv not turn on-makes clicking sound (2)
EVGA 9800 gtx help with finding a goo.. (11)
Regular Build (11)
Help with onclick and buttons (0)
Virus advise (8)
My monitor won't turn on after instal.. (1)
Internet Lost (3)
Dept. of HS: NSA 'Helped' Develop Vis.. (16)
Ideal cheap graph card for PC-Gaming? (18)
radeon x850xt platinum & shader 3 (6)
Graphics Card Upgrade Question (4)
For Sale BFG GTX285 OC2 with 10 year .. (3)


All times are GMT -4. The time now is 11:44 AM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28