moreutils: Unix utility pack for GNU / Linux


Surely you already know several of these packs of tools or utilities. An example is GNU core utilities, which are the GNU utilities, but there are more. An example of this is the moreutils package that you can install on your distro if you want to have some basic UNIX tools, since it is available for several operating systems, also for Apple's FreeBSD, openBSD, and macOS.

Inside moreutilis you will find several interesting utilities. And you can install this package simply using the package manager of your distro (yum, zypper, APT, dnf, pacman, etc), since it is in most software repositories and receives the same name in all of them: "moreutils", without changes as with other packages from one distro to another. Once installed, you will have at your disposal a good repertoire of new tools for the command line.

Between moreutils featured tools The following are found:

  • protect- Execute a command silently unless it fails.
  • combine: combine lines from two files using Boolean operators to do so.
  • wrong- Finds names and descriptions of errno.
  • ifdata- Get information from a network interface without parsing the ifconfig output.
  • ifne- Run a program if standard input is not empty.
  • isutf8: checks if a file or standard input is in UTF-8 format.
  • lckdo- Similar to flock and lckrun, to prevent multiple processes from running in parallel. It can be seen as a kind of nice or a nohup for processes. You can use it to avoid duplicate jobs ...
  • mispine: pipeline for two commands, returning the exit state first if it fails.
  • Parallel- Run multiple tasks at the same time.
  • pee: comes from pipe tee and complements this other tool for working with pipes.
  • sponge: absorbs the input and writes it to a file.
  • ts: timestamp for standard input.
  • see: edit a directory in your text editor, very useful for modifying names of the files it contains, paths, etc.
  • VIP- Open a text editor in the middle of a pipeline to edit the content before proceeding with the pipeline.
  • zrun: automatically unzips past files as command arguments.

As you can see, they are utilities extremely interesting for scripts and the rest…

The content of the article adheres to our principles of editorial ethics. To report an error click here!.

Be the first to comment

Leave a Comment

Your email address will not be published.



  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.