colcrt command in Linux with examples Last Updated : 25 Sep, 2024 Comments Improve Suggest changes 1 Likes Like Report colcrt command in Linux systems is used to format the text processor output so that it can be viewed on Cathode Ray Tube displays. It removes underlining, strike-throughs, and underscores, which can't be displayed on CRTs since only one character can be produced at a given location on the CRT screen. It also places all the underscores on a new line, right under the original line. Here, we will cover the syntax, usage examples, and options available for the colcrt command.Syntaxcolcrt [-] [-2] [file ...]file: The file to be processed by colcrt.- and -2: Command-line options that modify the behavior of the command.Note: For this article, we will be using the below-mentioned files to show the outputs of the colcrt command. GFG_1:geeksforgeeks.cCommon Options for colcrt Command1. colcrt command with help option: The help option of colcrt command displays the usage/syntax of the colcrt command. This is useful if you need a quick reminder on how to use the command.colcrt -h2. colcrt with '-' option: When colcrt is used with '-' option, the resulting output has all the special formatting (such as strikethrough, underscore, etc.) removed. Example 1:colcrt - GFG_1Example 2:colcrt - geeksforgeeks.c3. colcrt with '-2' option: When colcrt is used with '-2' option, the resulting output has all the special formatting removed, with the underscores additionally being displayed in new lines. Also, a new empty line is added after every line, which makes the output more easily readable. Example 1:colcrt -2 GFG_1Example 2:colcrt -2 geeksforgeeks.cConclusionThe 'colcrt' command is a specialized tool designed for CRT display compatibility, which may not be relevant in modern systems but is still useful for handling legacy text formatting issues. By stripping away unwanted formatting like underscores and strike-throughs, colcrt ensures that text can be displayed in environments where limited formatting is supported. Create Quiz Comment M MukkeshMckenzie Follow 1 Improve M MukkeshMckenzie Follow 1 Improve Article Tags : Linux-Unix linux-command Linux-text-processing-commands Explore Getting Started with LinuxIntroduction to Linux Operating System7 min readLINUX Full Form - Lovable Intellect Not Using XP2 min readDifference between Linux and Windows7 min readLinux Distributions6 min readDifference between Unix and Linux6 min readInstallation with LinuxInstallation of Arch Linux in VirtualBox4 min readFedora Linux Operating System5 min readHow to install Ubuntu on VirtualBox?6 min readHow to Install Linux Mint?3 min readInstallation of Kali Linux in Virtual Machine2 min readHow to Install Linux on Windows PowerShell Subsystem?2 min readHow to Find openSUSE Linux Version?2 min readInstallation of CentOS2 min readLinux CommandsLinux Commands15+ min readEssential Unix Commands7 min readFind Command in Linux with Examples7 min readLinux File SystemLinux File System12 min readLinux File Hierarchy Structure5 min readLinux Directory Structure6 min readLinux KernelLinux Kernel4 min readKernel in Operating System3 min readHow Linux Kernel Boots?11 min readDifference between Operating System and Kernel3 min readLinux Kernel Module Programming: Hello World Program7 min readLinux Loadable Kernel Module7 min readLoadable Kernel Module - Linux Device Driver Development4 min readLinux Networking ToolsNetwork configuration and troubleshooting commands in Linux5 min readHow to configure network interfaces in CentOS?5 min readCommand-Line Tools and Utilities For Network Management in Linux8 min readLinux - Network Monitoring Tools4 min readLinux ProcessProcesses in Linux/Unix5 min readHow to Manage Process in Linux4 min readGetting System and Process Information Using C Programming and Shell in Linux2 min readProcess states and Transitions in a UNIX Process4 min readLinux FirewallLINUX Firewall7 min readiptables command in Linux with Examples7 min readHow to Configure your Linux Firewall - 3 Methods12 min readShell Scripting & Bash ScriptingIntroduction to Linux Shell and Shell Scripting7 min readUnderstanding Terminal, Console, Shell and Kernel3 min readHow to Create a Shell Script in linux7 min readShell Scripting - Different types of Variables4 min readBash Scripting - Introduction to Bash and Bash Scripting12 min readBash Script - Define Bash Variables and its types12 min readShell Scripting - Shell Variables6 min readBash Script - Difference between Bash Script and Shell Script4 min readShell Scripting - Difference between Korn Shell and Bash shell3 min readShell Scripting - Interactive and Non-Interactive Shell3 min readShell Script to Show the Difference Between echo â$SHELLâ and echo â$SHELLâ4 min readLinux Administrator SystemWhat is Linux System Administration?6 min readBeginner's Guide to Linux System Administration5 min readHow to Monitor System Usage, Outages and Troubleshoot Linux Servers6 min readLinux - Systemd and its Components3 min readBoot Process with Systemd in Linux3 min readHow to Control Systemd Services on Remote Linux Server2 min readHow to Start, Stop and Restart Services in Linux Using systemctl Command9 min read Like