16 Must-Have Tools for Accessing Linux Desktops Remotely

The post 16 Best Tools to Access Remote Linux Desktop first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

Accessing a remote Linux desktop computer is made possible by the remote desktop protocol (RDP), a proprietary protocol developed by Microsoft. It gives a user

The post 16 Best Tools to Access Remote Linux Desktop first appeared on Tecmint: Linux Howtos, Tutorials & Guides.

11 Best IP Address Management Tools for Linux

The post 11 Best IP Address Management Tools for Linux Network first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

If you are a network administrator, you surely know, how important it is to keep track of the leased IP addresses within your network and

The post 11 Best IP Address Management Tools for Linux Network first appeared on Tecmint: Linux Howtos, Tutorials & Guides.

19 Best Linux Network Bandwidth Monitoring Tools

The post 19 Best Linux Bandwidth Monitoring Tools for Network Analysis first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

Are you having problems monitoring your Linux network bandwidth usage? Do you need help? It’s important that you are able to visualize what is happening

The post 19 Best Linux Bandwidth Monitoring Tools for Network Analysis first appeared on Tecmint: Linux Howtos, Tutorials & Guides.

Using tail Command in Linux

The tail command is one of the several ways to display file contents or part of it. You can also live monitor changes made to files with it. Here are some common examples.

How to Fix

How to Fix “Failed to Load Module Canberra-GTK-Module” Error

The post Fixing “Failed to Load Module Canberra-GTK-Module” Error first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

GTK, an abbreviation for GNOME Toolkit, is an open-source and feature-rich development toolkit used for creating GUI applications. It’s free and open-source and offers a

The post Fixing “Failed to Load Module Canberra-GTK-Module” Error first appeared on Tecmint: Linux Howtos, Tutorials & Guides.

3 Ways to Find Which Linux Process Listening on a Port

3 Ways to Find Which Linux Process Listening on a Port

The post 3 Ways to Find Out Which Process Listening on a Particular Port first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

A port is a logical entity that represents an endpoint of communication and is associated with a given process or service in an operating system.

The post 3 Ways to Find Out Which Process Listening on a Particular Port first appeared on Tecmint: Linux Howtos, Tutorials & Guides.

How to Backup and Restore a PostgreSQL Database

How to Backup and Restore a PostgreSQL Database

The post How to Backup and Restore a PostgreSQL Database in Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

In a production environment, no matter how large or small your PostgreSQL database may be, regular backup is an essential aspect of database management. In

The post How to Backup and Restore a PostgreSQL Database in Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides.

13 Gzip Command Examples [Compress Files in Linux]

13 Gzip Command Examples [Compress Files in Linux]

The post 13 Practical Examples of Using the Gzip Command in Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

Compression is a very commonly performed operation by users to save disk space as well as reduce time and bandwidth while transferring large amounts of

The post 13 Practical Examples of Using the Gzip Command in Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides.

How to Use Bash For Loop in Linux: A Beginner's Tutorial

How to Use Bash For Loop in Linux: A Beginner’s Tutorial

The post How to Use Bash For Loop with Examples in Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

In programming languages, Loops are essential components and are used when you want to repeat code over and over again until a specified condition is

The post How to Use Bash For Loop with Examples in Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides.

How to Fix

How to Fix “bash: syntax error near unexpected token” Error

The post How to Fix “bash syntax error near unexpected token” in Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

Bash (Bourne Again Shell) is a command-line program that accepts commands provided and executes them. It takes Linux commands directly typed into it interactively from

The post How to Fix “bash syntax error near unexpected token” in Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides.

How to Remove a Directory and File in Linux [rm Command]

How to Remove a Directory and File in Linux [rm Command]

The post How to Remove a Directory and File in Linux Using ‘rm’ Command first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

The rm command is a UNIX and Linux command line utility for removing files or directories on a Linux system. In this article, we will

The post How to Remove a Directory and File in Linux Using ‘rm’ Command first appeared on Tecmint: Linux Howtos, Tutorials & Guides.

How to Fix

How to Fix “Username is not in the sudoers file. This incident will be reported” in Ubuntu

The post How to Fix “Username is not in the sudoers file. This incident will be reported” in Ubuntu first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

In Unix/Linux systems, the root user account is the super user account, and it can therefore be used to do anything and everything achievable on

The post How to Fix “Username is not in the sudoers file. This incident will be reported” in Ubuntu first appeared on Tecmint: Linux Howtos, Tutorials & Guides.

How to List All Running Services Under Systemd in Linux

How to List All Running Services Under Systemd in Linux

The post How to List All Running Services Under Systemd in Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

Linux systems provide a variety of system services (such as process management, login, syslog, cron, etc.) and network services (such as remote login, e-mail, printers,

The post How to List All Running Services Under Systemd in Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides.

Illuminating Your Console: Enhancing Your Linux Command Line Experience with ccat

Illuminating Your Console: Enhancing Your Linux Command Line Experience with ccat
by George Whittaker

Introducing ccat

ccat stands for “colorized cat.” It’s a simple yet powerful tool that, like the traditional cat command, reads files sequentially, writing them to standard output. However, the ccat command adds a visual advantage – color-coding. It makes your command-line experience more user-friendly, improving the readability and understanding of your code.

Installing ccat

Before diving in, you need to ensure you have ccat installed on your system. This process varies based on the Linux distribution you’re using, but here are the most common methods:

For Ubuntu, Debian, and derivatives, the process begins by downloading the latest .deb package from the official ccat GitHub repository, which can be found at: https://github.com/jingweno/ccat. After downloading the package, you can install it using the dpkg command:

sudo dpkg -i /path/to/downloaded_file.deb

For Arch Linux and Manjaro, use the below command to download and install the ccat package from the AUR repository:  

git clone https://aur.archlinux.org/ccat.git cd ccat makepkg -si

For other distributions, you can build ccat from source. To do so, ensure you have Go installed on your system, clone the ccat repository, then build and install:

git clone https://github.com/jingweno/ccat.git cd ccat go build sudo mv ccat /usr/local/bin/

Using ccat

Now that you have ccat installed, let’s see it in action. The usage of ccat follows the same pattern as the cat command, replacing cat with ccat:

ccat file_name

You will notice that different types of text (such as comments, keywords, and strings) are colorized differently, providing a more visually-pleasing and organized output. For example, comments might be displayed in blue, keywords in bold yellow, and strings in green.

If you want to use ccat as your default cat command, you can create an alias. Add the following line to your .bashrc or .zshrc file:

alias cat='ccat'

Remember to source the .bashrc/.zshrc file after updating it or simply close and reopen your terminal.

Customizing ccat

Customization is a key benefit of ccat. You can adjust color settings for different types of text in your output, tailoring them to your preference.

How to Lock and Unlock User After Failed SSH Login Attempts

How to Lock and Unlock User After Failed SSH Login Attempts

The post How to Lock and Unlock User After Failed SSH Logins first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

SSH security is a top priority when setting up your server. The default SSH settings are usually not robust enough to safeguard your server from

The post How to Lock and Unlock User After Failed SSH Logins first appeared on Tecmint: Linux Howtos, Tutorials & Guides.

How to Fix Client_loop: send disconnect: Broken pipe Error

How to Fix Client_loop: send disconnect: Broken pipe Error

The post How to Fix SSH Client_loop: send disconnect: Broken pipe Error first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

SSH, an acronym for Secure Shell, is a remote network protocol that is used to securely connect to remote devices such as servers and network

The post How to Fix SSH Client_loop: send disconnect: Broken pipe Error first appeared on Tecmint: Linux Howtos, Tutorials & Guides.

20 Basic Linux 'ls' Command with Examples for Beginners

20 Basic Linux ‘ls’ Command with Examples for Beginners

The post 20 Basic ‘ls’ Command Examples in Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

Listing files is one of the most widely undertaken tasks by ordinary Linux users and system administrators. In Linux, the ls command, short for “list”

The post 20 Basic ‘ls’ Command Examples in Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides.