10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi i'm new to unix, can anyone assist in me setting the PS1 variable in unix (3 Replies)
Discussion started by: user@123
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I am using git bash terminal window to do git operations. I have set the prompt string variable PS1 in the ~/.bashrc file as follows:
export PS1=" "
This is intended to show me the current git branch's name which is active as part of the prompt string. But, the problem is when I do a git... (2 Replies)
Discussion started by: royalibrahim
2 Replies
3. Shell Programming and Scripting
please tell me what is "!" mean in below value of PS1 variable
PS1='($PWD) !>'
Thanks Sunny (3 Replies)
Discussion started by: sunilmenhdiratt
3 Replies
4. Solaris
Hi
I have set PS1 in my profile as -
PS1='${LOGNAME}@${PWD}>' ; export PS1
it works fine if I am in bash/ksh shell, but as soon as i switch to bourn shell (sh) then it shows "${LOGNAME}@${PWD}>" as prompt.
It is also not working in csh.
Please help. (3 Replies)
Discussion started by: sanjay1979
3 Replies
5. Shell Programming and Scripting
Is there a command for finding all files on the system named ".bashrc" that modify the PS1 variable? I'd like to list the full file name(s) and the protection (including the full path). (5 Replies)
Discussion started by: raidkridley
5 Replies
6. UNIX for Dummies Questions & Answers
Any help developing a command to find all files on the system named ".bashrc" that modify the PS1 variable. I wanna list the full file name, including the full path, and protection. Nothing else. (2 Replies)
Discussion started by: raidkridley
2 Replies
7. Shell Programming and Scripting
I would like to "BOLD" print the hostname in the following statement:
export PS1=$USER"@"$(hostname -s):'$PWD>'
Is there a special character I can put before and after the variable to make it bold or blinking?
Thanks. (4 Replies)
Discussion started by: pdtak
4 Replies
8. Shell Programming and Scripting
I want to change the PS1 prompt with current time.
I want the PS1 to update for every one second.
I write a Script.
PS1='\T'
but it updates after i press enter key.I want to update without pressing enter key.
can any one help me? (0 Replies)
Discussion started by: lakshmananindia
0 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I am trying to set my current prompt with the current directory iam working on by $PS1=$PWD but it is blank.
please help. (4 Replies)
Discussion started by: papachi
4 Replies
10. UNIX for Dummies Questions & Answers
Hello there !
I am new in this Unix world and just start learning Unix. I have very simple question about changing PS1 variable (Shell Prompt)
i have local.profile file in my working directory, i open in vi edit mode and add this line PS1="Hello:>" and i save that file.
I disconnected from... (2 Replies)
Discussion started by: abidmalik
2 Replies