8 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have a bash script that starts and stops a game among other things through in.fifo and out.fifo
In game the text comes out gray . Kinda hard to see in game window .
I would like to change it to purple and maybe capitalize it.
#!/bin/bash
#nwservctl.sh
cd... (5 Replies)
Discussion started by: 222222quick
5 Replies
2. Shell Programming and Scripting
I have used this color prompt on my servers for long time, in file ~\.bashrc
Black="\"
Dark="\"
Blue="\"
LBlue="\"
Green="\"
LGreen="\"
Cyan="\"
LCyan="\"
Red="\"
LRed="\"
Purple="\"
LPurple="\"
Brown="\"
Yellow="\"
LGray="\"
White="\"
Reset="\"
PS1="$Yellow\u@\h $LBlue\w... (4 Replies)
Discussion started by: Jotne
4 Replies
3. UNIX for Dummies Questions & Answers
Is it possible to change the color when doing an echo?
Example, having the following command print in dark blue.
echo "Hello"
---------- Post updated at 11:50 AM ---------- Previous update was at 10:25 AM ----------
Just figured out how to do it (2 Replies)
Discussion started by: kristinu
2 Replies
4. Shell Programming and Scripting
Hi,when I run my first shell script,I got something that doesn't work right.
I wrote this code in the script.
echo -e "Hello,World\a\n"But the screen print like this:
-e Hello,World
The "-e" wasn't supposed to be printed out.
Can anyone help me out?:wall:
Many thanks!:) (25 Replies)
Discussion started by: Demon
25 Replies
5. Shell Programming and Scripting
Hi
Supposed this text output:
How can I show $HOSTNAME in other color than blank? :-)
KSH on AIX (4 Replies)
Discussion started by: iga3725
4 Replies
6. UNIX for Dummies Questions & Answers
Hi:
how come this command does not work? the error message is:
xargs: cd: No such file or directory
yet, in the same time, 'echo dir_path | xargs ls' works.
Does it work in bash? We use csh.
Thanks.
NB Phil (7 Replies)
Discussion started by: phil518
7 Replies
7. Shell Programming and Scripting
I have been configuring my .bashrc PS1 to be displayed with some nice colors and in a format that I like, however there is one thing that I cannot figure out (or know if it's even possible).
my PS1 line is as follows:
export PS1='\\u\@\\h\:\\w\n\\$ \'This makes the command and command output... (0 Replies)
Discussion started by: jelloir
0 Replies
8. Shell Programming and Scripting
Hi all,
I was to echo Hi in Red and Bold ; and echo There is in Green and bold
I got bold to working using tput bold but i am having hard time getting the color.
Any help is appreciated,
jak (4 Replies)
Discussion started by: jakSun8
4 Replies