rs command not found

In this troubleshooting guide we learn how to fix rs command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

rs: command not found

or when using sudo you get the following error message

sudo: rs: command not found

Solutions to rs: command not found

How To Fix rs: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu rs is provided by rs package.

rs is:

rs reads the standard input, interpreting each line as a row of blank-separated entries in an array, transforms the array according to the options, and writes it on the standard output. Numerous options control input, reshaping and output processing; the simplest usage example is “ls -1 | rs”, which outputs the same (on an 80-column terminal) as the modern “ls” with no “-1” argument.

To fix this problem, we can install more using the command below.

sudo apt-get -y install rs

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install rs.

sudo apt -y install rs

Or if you have aptitude installed you can use the following command.

sudo aptitude install rs

Summary

In this tutorial we learn how to fix rs command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.