09-26-2011
bash profile question
Hello,
I'm new to RHEL and I was wondering where the prompt setup is from?
This what it looks like:
[username@servername directory]#
I like this setup but I would like to add some color to it. I looked in the .profile, .bash_profile and .bashrc. I don't see anything in these files that give me the above prompt. So I looked in /etc/skel and I don't see anything there ether. Where do I need to go to find what I'm looking for?
I usually add a export PS1 line in my .profile or .bashrc file to get the above with color, on UNIX servers. What am I missing?
Thanks.
10 More Discussions You Might Find Interesting
1. AIX
Hi guys, I am very very new to AIX, (actually today I entered an AIX server for the first time), but I have worked with Solaris a little bit in the past.
Today when I entered the system, the first thing I realized is that there was no "/home/" directory created, and instead it took me to a... (1 Reply)
Discussion started by: panchopp
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have a SunOS -s 5.9 Generic_118558-39 sun4u sparc SUNW,Sun-Fire-V210 system.
I need to set up my .bash_profile. I need to do the following thins.
1) set up history
2) Set up VI as my editor
3) Display the current directory at the prompt.
I have tried using the set command, the... (1 Reply)
Discussion started by: kaushys
1 Replies
3. UNIX for Dummies Questions & Answers
Hey everyone,
I'am a little new here and experincing Unix for the first time. I was wondering if somone could help me with this question i'am a bit stuck on
Looking at the content of .profile login script
The .profile file is in your login directory. It is a startup script file... (1 Reply)
Discussion started by: worldsoutro
1 Replies
4. Solaris
Hi all,
I don't want to enter below command on solaris every time.
How do i permanently set this command on Solaris.
I know that this operation is a piece of cake on redhat because there is a /etc/rc.local file on it.
But Solaris ????
bash-3.00#export PS1="\e (2 Replies)
Discussion started by: getrue
2 Replies
5. Solaris
I am using Solaris ...
I have some settings in my .profile and in .profile iam calling some scripts.
After i logged in to that box if i gave "bash" and proceed with my shorcuts(alias) are not working . (3 Replies)
Discussion started by: girija
3 Replies
6. Shell Programming and Scripting
Hi
I don't have chsh option.
I want to launch bash instead of ksh ( or launch bash from ksh .profile)
how can I do this ? (1 Reply)
Discussion started by: Sivaswami
1 Replies
7. Red Hat
Hi
I noticed that my bash profile has duplicate entries.
For example there are two entries for the variable
$APP_HOME = /app/soft/install
$APP_HOME =/app/software/install
Will this have any impact ? Please advise (2 Replies)
Discussion started by: nathan_nathan
2 Replies
8. Solaris
Hi Experts,
Profile file was not found for one of the users on solaris box.
Default shell is bash for the user.
<prod>>:/home/produser::echo $SHELL
/usr/bin/bash
<prod>>:/home/produser::ls -lta |grep bash
-rw------- 1 produser prod 4157 Oct 19 17:32 .bash_history... (1 Reply)
Discussion started by: sai_2507
1 Replies
9. SuSE
I'm working behind a windows proxy server which requires ntlm. I configured cntlm and it works great as long as i manually run it as root. I tried putting it in /etc/profile and it doesn't run. any thoughts on how to make it run on system boot? thanks in advance, regards. (1 Reply)
Discussion started by: mhahe
1 Replies
10. UNIX for Dummies Questions & Answers
Hi,
Below is what i have in my profile:
alias wldm='cd /opt/app/wls'
If i use bash or ksh shell this alias does not work.
What should be done for this alias to work with all these simultaneously -> No Shell, bash shell, and ksh shell (14 Replies)
Discussion started by: mohtashims
14 Replies
setup(1) setuptool setup(1)
NAME
setup - A text mode system configuration tool
SYNOPSIS
setup
DESCRIPTION
The setuptool program (setup) is a front-end menu program for a group of other tools, mostly system-config-*-tui tools. The list of options
which it presents is assembled by scanning /etc/setuptool.d and /usr/share/setuptool/setuptool.d for files.
Each file in the directory should contain one or more lines of text. Each line contains from one to four fields which are separated by "|"
characters. In order, they are:
- the path to the binary to invoke (mandatory)
- the untranslated name of the application which should be displayed
(If unset, defaults to the path of the binary, but don't depend on that.)
- the gettext textdomain in which a translation of the name of the application can be found
(If unset, defaults to "setup".)
- the directory in which translations for the textdomain can be found
(If unset, defaults to "/usr/share/locale".)
If multiple entries with the same untranslated name exist, the one which was read FIRST takes precedence. Files are read in name collation
order.
EXAMPLE
A contrived example would create /etc/setuptool.d/00bogus with these contents:
/bin/ls --color; /bin/sleep 5|Example "ls" invocation.
or
/bin/ls --color; /bin/sleep 5|Give this help list|libc
to use one of libc's (not meaningful here, but) translatable messages.
Linux 2009-10-07 setup(1)