Skip to content
November 27, 2026
  • Bluesky
  • Facebook
  • Linkedin
  • Mastodon
  • RSS
  • Twitter
  • Youtube

Daily CyberSecurity

Zero-hour alerts. Unmatched analysis.

Primary Menu
  • Home
  • ADVISORIES
    • All vendors
    • Microsoft
    • Cisco
    • Fortinet
    • Ivanti
    • Linux
    • Citrix
    • WordPress
    • Oracle
    • Google
    • Apple
    • VMware
    • Palo Alto Networks
    • Atlassian
    • Apache
    • Adobe
    • SAP
  • CVE Data
    • CVE Watchtower
    • Top Exploited CVEs
    • CVE Stats by Vendor
    • Q3 2026 Report
    • CVE Alerts
    • CVE Alert Settings
    • Pricing
  • Cyber Criminals
  • Data Leak
  • Free Security Tools
    • Base64 / URL Encoder & SHA Hash Generator
    • CVSS 3.1 Calculator & Vector Decoder
    • DNS Lookup Tool
    • IP Subnet Calculator & CIDR Reference
    • SSL Certificate Viewer & X.509 Decoder
    • Whois Lookup Tool
  • Malware
  • Vulnerability News
Light/Dark Button
  • Home
  • Linux
  • Give the output of the bash shell with color
  • Linux

Give the output of the bash shell with color

Do Son May 30, 2017 1 minute read
bash_colors

Write some scripts when the output of too much information, some important information with color tips will be more friendly.

Text color

For example, you want helloin on the console output is red, execute the following command

echo -e “\033[31mhello\033[0m”

\033[31m Indicates that the display color of the character is changed to red

\033[0m Indicates that the display color of the character is changed to normal

You can see \033[ and the last mare the same, there are differences is the middle number, this number represents the color to be displayed, the following meanings

30 black
31 red
32 green
33
light red
34 blue
35 purple
36 light blue
37 gray

Background color

The background color and the foreground color are the same, just use the numbers differently

40 black
41 red
42 green
43 light red
44 blue
45 purple
46
light blue
47 gray

If you need to set the foreground color and background color at the same time, for example, the output text color is red, the background color is green string, need to separate the two numbers by semicolon,

echo -e “\033[31;42mhello\033[0m”

 

Support Our Threat Intelligence

Find our tech and OS security coverage helpful? Support our work today and unlock a 100% ad-free reading experience!

Buy Me a Coffee Logo Buy Me a Coffee
Select your plan
Free Pro Team

Hover over a plan to see its benefits.

Get Zero-Hour Vulnerability Alerts

Critical CVEs, CVSS scores, and PoC updates — straight to your inbox every week.

We respect your inbox. Unsubscribe anytime.

SHARE
Share on FacebookShare on XShare on LinkedInShare on TelegramShare on BlueskyShare on Mastodon
Written by
@DdoS · Security Researcher

Do Son

Do Son is the Founder and Editor of Daily CyberSecurity. Working in cybersecurity since 2013, he reports on vulnerabilities, malware, and emerging threats, providing timely analysis to help organizations and individuals stay ahead of evolving risks.

Tags: Linux

🚨 Active Exploits in the Wild

  • CVE-2026-123007CVSS 9.2
    This issue affects NGINX Plus or NGINX Open Source configurations that use HTTP/2. When NGINX processes undisclosed traffic,...
    Admin intel📅 Updated: Nov 26, 2026
  • CVE-2026-129243CVSS 8.8
    A `service` parameter with a prefix, such as `service=x/WFS`, was resolved to the WFS service by the dispatcher,...
    Admin intel📅 Updated: Nov 26, 2026
  • CVE-2026-120705CVSS 8.6
    GeoServer exposes the built-in WFS 2.0 stored query `urn:ogc:def:query:OGC-WFS::GetFeatureById` through the public `GetFeature` operation. The stored query substituted...
    Admin intel📅 Updated: Nov 26, 2026
  • CVE-2026-136716
    Improper Check for Unusual or Exceptional Conditions vulnerability in Drupal Drupal core allows Forceful Browsing. This issue affects...
    Watchtower Verified📅 Updated: Nov 26, 2026
  • CVE-2026-133335CVSS 9.2
    Joomla Extension - virtuemart.net - Unauthenticated local file inclusion leading to remote code execution via controller fallback in...
    Watchtower Verified📅 Updated: Nov 25, 2026
  • CVE-2025-41450CVSS 8.2
    Improper Authentication vulnerability in Danfoss AKSM8xxA Series.This issue affects Danfoss AK-SM 8xxA Series prior to version 4.2
    CISA KEV📅 Added to KEV: Nov 25, 2026
  • CVE-2026-103406CVSS 9.8
    An Improper Neutralization of Special Elements used in an OS Command vulnerability in the AutomatedProvisioner in Juniper Networks...
    CISA KEV📅 Added to KEV: Nov 25, 2026
  • CVE-2026-133323CVSS 10.0
    A vulnerability in the Audio, Web, and Video Conferencing (AWV) component of Mitel MiCollab through 10.3 (10.3.0.18) could...
    CISA KEV📅 Added to KEV: Nov 25, 2026
Powered by CVE Watchtower

Search

CVE ALERTS
📈

EPSS Spike Alerts
Catch risk spikes before they make headlines.

🎯

Custom EPSS/CVSS
Set score thresholds to effectively filter noise.

🛡️

Exploit Intel
Real-world exploit signals beyond the KEV catalog.

🐙

GitHub Issues
Auto-create alert tickets without duplication.

📬

Weekly Digest
Clean summaries, eliminating email spam.

🏷️

Watchlist Groups
Tag vulnerabilities by team (Infra/AppSec/SOC).

🔀

Smart Routing
Route chat channels based on severity levels.

🚨

RBP Tracker
Early warning detection and tracking system.

Get free CVE alerts Pro from $7/mo

Critical Vulnerabilities

  • CVE-2026-135930CVSS 9.1
    Authentication Bypass by Spoofing vulnerability in TMS Amelia ameliabooking allows Identity Spoofing.This issue affects Amelia: from n/a through...
    📅 Updated: Nov 27, 2026
  • CVE-2026-134963CVSS 9.9
    Improper Control of Generation of Code ('Code Injection') vulnerability in Webdeclic WPMasterToolKit wpmastertoolkit allows Code Injection.This issue affects...
    📅 Updated: Nov 27, 2026
  • CVE-2026-135933CVSS 9.8
    Incorrect Privilege Assignment vulnerability in Tobias WebinarIgnition webinar-ignition allows Privilege Escalation.This issue affects WebinarIgnition: from n/a through 4.28.1.
    📅 Updated: Nov 27, 2026
  • CVE-2026-99362CVSS 9.8
    In the Linux kernel, the following vulnerability has been resolved: nfsd: preflight SEQUENCE replies before accepting a slot...
    📅 Updated: Nov 27, 2026
  • CVE-2026-59103CVSS 9.3
    MONEO ERP exposes the Ping method of its _slave JSON-RPC service over WebSocket as @rpc.openpublic, so it can...
    📅 Updated: Nov 27, 2026
  • CVE-2026-137738CVSS 9.8
    In RealVNC Server before 7.19.1, UDP-based connections could potentially be exploited without authentication to execute code remotely or...
    📅 Updated: Nov 27, 2026
  • CVE-2026-137724CVSS 10.0
    A vulnerability in the Platform component of Mitel OpenScape 4000, and OpenScape 4000 Manager could allow an unauthenticated...
    📅 Updated: Nov 27, 2026
  • CVE-2026-137723CVSS 9.6
    A vulnerability in the Platform component of Mitel OpenScape 4000 and OpenScape 4000 Manager could allow an attacker...
    📅 Updated: Nov 27, 2026
Powered by CVE Watchtower

Daily CyberSecurity

  • About Daily CyberSecurity
  • Advertise with us
  • Submit Press Release
  • Announcement
  • Editorial Policy
  • Corrections Policy
  • Contact
  • Login
  • Disclaimer
  • DMCA
  • Privacy Policy

When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works

  • CVE Watchtower
  • CVE Statistics by Vendor 2026
  • Q3 2026 Report
  • Top Exploited CVEs
  • Bluesky
  • Facebook
  • Linkedin
  • Mastodon
  • RSS
  • Twitter
  • Youtube
© 2017 - 2026 Daily CyberSecurity. All Rights Reserved.