All Questions
11
questions
0
votes
0
answers
361
views
echo not taking colour settings
Have printed some text for useful directories in my bashrc
but the colour of the echo text is not being taken from the definition
of the dircolors.
In dircolors I have
NORMAL 01;32 # Bold Green
...
-2
votes
2
answers
4k
views
How to turn off colors for a specific command?
Is it possible to turn off colors for a specific command like ls, but without using the api of the command itself? Is there an env variable kind of thing that will turn off coloring for a command like ...
0
votes
1
answer
189
views
Unix - can i make the command line readable? [duplicate]
Let's say I have this commandline:
~/development/company/folder:
and i run this command
./gradlew appRun
then my command line looks like this:
~/development/company/folder: ./gradlew appRun
Now, ...
-4
votes
1
answer
270
views
What is the 38;5 sequence in $PS1?
I tried to find info online, but I could not find any. It seems that many people use a specific sequence of numbers, without actually providing any explanation why.
More specifically, my $PS1 in ...
2
votes
1
answer
2k
views
What does 'mustard color' highlighted directories mean?
When I run 'ls -laGp' command in macOS some of the folders are highlighted with this color. What does that mean?
I researched but couldn't find any documentation or anything. If you let me know ...
6
votes
3
answers
15k
views
Is there a command to display colors when giving hex value in terminal?
How can I display colors in terminal to handle hexadecimal color values ?
It can be useful for theming, XResources etc.
For example :
$ command '#FF0000'
// display a red square
I use urxvt, i3wm ...
1
vote
0
answers
466
views
Highlight specific text in command output, allowing interaction with the command
Is there a grep -like command to highlight specific text in a command's output, but shows all lines irrespective of the presence of the desired text and allows one to interact with the piped(1) or ...
1
vote
2
answers
303
views
Xterm "color query" doesn't print anything
I'm trying to programmatically query the background color of my terminal with
echo -ne "\e]11;?\a"
but the output appears blank. The issue arises using both Terminal.app and iTerm 3, in both Zsh and ...
1
vote
2
answers
1k
views
Change terminal text color for next command only
So when I find myself compiling a lot (from the terminal) I find it difficult to distinguish between the current compilation results and the old ones, so I was wondering if there is a bit of text that ...
6
votes
2
answers
3k
views
Background color whitespace when end of the terminal reached
I am working with control sequences for text formatting and have stumbled upon some unexpected behavior. I have some text to output, in the middle of this text there is some smaller text block ...
84
votes
10
answers
60k
views
Converting colored output into html
There are tools providing coloured output:
dwdiff -c File1 File2 # word level diff
grep --color=always # we all know this guy
...
The question is: How to convert their colored output of arbitrary ...