toix command not found

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

Introduction

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

toix: command not found

or when using sudo you get the following error message

sudo: toix: command not found

Solutions to toix: command not found

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

In Ubuntu toix is provided by flip package.

flip is:

The program converts line endings of text files between MS-DOS and *nix formats. It detects binary files in a nearly foolproof way and leaves them alone unless you override this. It will also leave files alone that are already in the right format and preserves file timestamps. User interrupts are handled gracefully and no garbage or corrupted files left behind.

The program does not convert files to a different character set, and it can not handle old Apple Macintosh line endings that use CR only. For that (and more), you can use the ‘recode’ program (package ‘recode’).

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

sudo apt-get -y install flip

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

You can also use apt command to install flip.

sudo apt -y install flip

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

sudo aptitude install flip

Summary

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