Skip to main content

in1.lt – All in one about IT

color

grep with color output [linux]

2016-05-272016-05-27 gintautas

grep is capable of color-highlighting the matched string in its output. But, by default, that option is turned off.

$ grep abc a_file.txt
abcdef

There are 3 color options available to you:

–color=auto
–color=always
–color=never
(more…)

Read More

Use a Different Color for the Root Shell Prompt

2015-09-012015-09-01 gintautas

Linux only: This is an excellent tip that changes the prompt to red when using the root account from the terminal—as a reminder to be more careful. Using the tip is relatively simple—just edit the /root/.bashrc file and add in the following, preferably commenting out the existing lines that set the color, though you can simply add this line to the end of the file.

(more…)

Read More

Categories

  • Be kategorijos
  • Linux
  • Websites
  • Windows

Archives

  • December 2020
  • September 2020
  • June 2020
  • April 2020
  • February 2019
  • January 2019
  • November 2018
  • October 2018
  • September 2018
  • July 2018
  • January 2018
  • December 2017
  • November 2017
  • August 2017
  • April 2017
  • September 2016
  • August 2016
  • July 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015

Recent Posts

  • How to install qbittorrent-nox [Note]
  • Install Samba on Raspberry PI
  • Raspberry Pi Media Server – MiniDLNA
  • How to I try to install Gerbera UPnP Server
  • Securely Overwriting Free Space on Windows

Tags

apache app backup bash centos certificate check color console cron disable file generate glassfish grub httpd java kernel linux log mariadb mobile monitor mysql openssl postfix PostgreSQL PowerShell programs raspberry remove restore script selinux shutdown sleep ssh ssl statistics terminal theme torrent ubuntu windows windows 10

Reklama

Interneto svetainių kūrimas ir priežiūra | Skelbimai | Pakeleiviai
sparkling Theme by Colorlib Powered by WordPress