[email protected]Support 24/7 · Billing 09:00 – 00:00LinkedInXFacebook
NexonHost
Netherlands Dedicated ServersAmsterdam · Equinix AM6Germany Dedicated ServersFrankfurt · Equinix FR4Romania Dedicated ServersBucharest · VoxilityAustria Dedicated ServersVienna · Interxion VIEBulgaria Dedicated ServersSofia · TelepointFrance Dedicated ServersParis · Interxion PAR — Marseille · Digital Realty MRS3Ireland Dedicated ServersDublin · Equinix DB2Italy Dedicated ServersMilan · Irideos AvalonPoland Dedicated ServersWarsawSpain Dedicated ServersMadrid · Equinix MD2United States Dedicated ServersAshburn · Equinix DC
All articles
Getting startedSeptember 13, 2023

How to use tac command in Linux.

What is tac command:

tac command in Linux is used to concatenate and print files in reverse. This command will write each FILE to standard output, the last line first. When no file is specified then this command will read the standard input.

Syntax:

tac [OPTION]... [FILE]...

Options:

  • tac -b: This option attach the separator before instead of after.

    Example:

    tac -b concat.txt tacexample.txt

tac -r: This option will interpret the separator as a regular expression.

Example:

tac -r concat.txt tacexample.txt

tac -s : This option use STRING as the separator instead of newline.

Example:

tac -s concat.txt tacexample.txt

tac –help : This option will display the help text and exit.

tac --help

tac –version: This option will give the version information and exit.

tac --version
Keep reading
How to Install Tomcat 9 on CentOS 7.
September 8, 2023

How to Install Tomcat 9 on CentOS 7.

How To Install Tomcat 9 On CentOS 7. This tutorial covers the steps required to install Tomcat 9.0 on CentOS 7. Tomcat is an open-source implementation of the Java Servlet, JavaServer Pages, Java Expression Language, and Java WebSocket technologies. Install OpenJDK Tomcat 9 requires Java SE 8 or…

Read article
How to List Installed Packages on CentOS.
September 7, 2023

How to List Installed Packages on CentOS.

How To List Installed Packages On CentOS. In this tutorial, we will show you how to list and filter installed packages on CentOS. Knowing how to list installed packages on your CentOS system can be helpful in situations where you need to install the same packages on another machine or if you want…

Read article
How to Change the SSH Port.
September 7, 2023

How to Change the SSH Port.

How To Change The SSH Port. This tutorial explains how to change the default SSH port in Linux. We will also show you how to configure your firewall to allow access to the new SSH port. By default, SSH listens on port 22. Changing the default SSH port adds an extra layer of security to…

Read article
Get in Touch

Together, Let’s Build a Faster, Safer Internet.

Build scalable infrastructure with NexonHost — high-performance dedicated servers, VPS hosting, cloud hosting, and DDoS protection across Europe.

Get Started →Contact Us
[email protected]Support 24/7 · Billing 09:00 – 00:00