Development > Scripting and Bash

coloured text in terminal

(1/2) > >>

bitsnpcs:

--- Quote from: Jerry on February 02, 2018, 06:08:11 AM ---I would prefer a different title, I am not without a sense of humour for the record :)

--- End quote ---
Title changed

justme2:

--- Quote from: Jerry on February 02, 2018, 06:08:11 AM ---I would prefer a different title, I am not without a sense of humour for the record :)

--- End quote ---

It wasn't meant as criticism of the title, by the way! But it can be confusing, I wonder if was humour on the part of the OP. Maybe toilet is not understood in other languages but I discovered that it's a linux acronym.

Jerry:
I would prefer a different title, I am not without a sense of humour for the record :)

justme2:
Am I the only one who thought this thread was going to be about locating 'safe and clean' public toilets (bathrooms, washrooms, or whatever you may call them) ! I had to google 'linux toilets' to find the answer.

 ;D ;D ;D :P

bitsnpcs:
Hold down Ctrl and Alt keys and press t (Ctrl Alt + t)

Copy/paste (or type) in to your terminal -


--- Code: ---while true; do echo "$(date '+%D %T' | toilet -f term -F border --metal)"; sleep 1; done
--- End code ---

To exit - Hold down Ctrl key and press C (Ctrl+C)

An example




Here is the rainbow version, output colours have higher contrast.


--- Code: ---while true; do echo "$(date +'%D %T' | toilet -f term -F border --gay)"; sleep 1; done
--- End code ---



Navigation

[0] Message Index

[#] Next page

Go to full version