You are Here:
Linux Lite 4.6 RC1 has been released. See the Release Announcements section for more information.



coloured text in terminal

Author (Read 1474 times)

0 Members and 1 Guest are viewing this topic.

coloured text in terminal
« on: February 01, 2018, 12:58:50 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3185
    Posts
  • Country: 00
  • Reputation: 300

  • Linux Lite: 3.2 64bit
Hold down Ctrl and Alt keys and press t (Ctrl Alt + t)
copy/paste (or type) in to your terminal -
Enter your password when asked.

Code: [Select]
sudo apt-get install toilet
Examples





Code: [Select]
toilet --help



For a quick start to begin with you can use the commands in the above images and just change "bitsnpcs" in command to your nym.
 
Last Edit: February 02, 2018, 08:21:40 AM by bitsnpcs
 


Re: coloured text in terminal
« Reply #1 on: February 02, 2018, 01:30:27 AM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3185
    Posts
  • Country: 00
  • Reputation: 300

  • Linux Lite: 3.2 64bit
Hold down Ctrl and Alt keys and press t (Ctrl Alt + t)

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

Code: [Select]
while true; do echo "$(date '+%D %T' | toilet -f term -F border --metal)"; sleep 1; done
To exit - Hold down Ctrl key and press C (Ctrl+C)

An example




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

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


Last Edit: February 02, 2018, 07:46:03 AM by bitsnpcs
 

Re: coloured text in terminal
« Reply #2 on: February 02, 2018, 05:22:30 AM »
 

justme2

  • PayPal Supporter
  • Forum Regular
  • *****
  • 203
    Posts
  • Country: gb
  • Reputation: 25
  • Linux Lite Member

  • Linux Lite: 3.8 64bit

  • CPU: Intel i5 vPro

  • MEMORY: 8Gb

  • VIDEO CARD: Intel
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
1) Lenovo T520 i5 LL3.8 8GB ram, fast & stable
2) Medion P4 32bit LL3.8 1GB ram, quite fast & stable
3) eeePC 901 32bit LL3.8 1GB ram, fast & stable
4) eeePC 701 32bit LL3.8 1GB ram, slower & stable but small and light enough to travel with me to New Zealand when visiting family in Blenheim.
 

Re: coloured text in terminal
« Reply #3 on: February 02, 2018, 06:08:11 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 6937
    Posts
  • Country: nz
  • Reputation: 642
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 3.8 64bit

  • CPU: Intel Xeon Dual CPU's E5645 2.4GHz 12 Cores

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GeForce GTX 960
I would prefer a different title, I am not without a sense of humour for the record :)
 

Re: coloured text in terminal
« Reply #4 on: February 02, 2018, 06:34:57 AM »
 

justme2

  • PayPal Supporter
  • Forum Regular
  • *****
  • 203
    Posts
  • Country: gb
  • Reputation: 25
  • Linux Lite Member

  • Linux Lite: 3.8 64bit

  • CPU: Intel i5 vPro

  • MEMORY: 8Gb

  • VIDEO CARD: Intel
I would prefer a different title, I am not without a sense of humour for the record :)

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.
1) Lenovo T520 i5 LL3.8 8GB ram, fast & stable
2) Medion P4 32bit LL3.8 1GB ram, quite fast & stable
3) eeePC 901 32bit LL3.8 1GB ram, fast & stable
4) eeePC 701 32bit LL3.8 1GB ram, slower & stable but small and light enough to travel with me to New Zealand when visiting family in Blenheim.
 

Re: coloured text in terminal
« Reply #5 on: February 02, 2018, 08:52:01 AM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3185
    Posts
  • Country: 00
  • Reputation: 300

  • Linux Lite: 3.2 64bit
I would prefer a different title, I am not without a sense of humour for the record :)
Title changed
 


Tags:
 


Linux Lite 4.6 RC1 has been released. See the Release Announcements section for more information.