Linux

The Power of Moreutils: 8 Advanced Linux Command Line Tools



In this video we are taking a tour of moreutils and checking out some usecases with demos. We’ll explore key utilities like sponge, parallel, and combine, showing practical examples and demos to boost your efficiency on the command line.

Moreutils are perfect for sysadmins, developers, and Linux enthusiasts looking to streamline their workflows.

– presentation slides:
– tmux video:
– GNU Coreutils Documentation:
– Book: Linux Command Line and Shell Scripting Bible
– The Art of Command Line:
– moreutils:
– neovim series:

Utilities:

00:01:30 – coreutils
00:02:15 – sed/grep/awk
00:02:44 – intro moreutils
00:06:10 – combine
00:08:30 – ifne
00:09:43 – parallel
00:13:28 – pee
00:15:08 – sponge
00:16:48 – ts
00:17:30 – vidir
00:19:03 – vipe
00:20:38 – resources

[ad_2]

source

Related Articles

5 Comments

  1. The full list, as taken from the moreutils webpage:

    chronic: runs a command quietly unless it fails
    combine: combine the lines in two files using boolean operations
    errno: look up errno names and descriptions
    ifdata: get network interface info without parsing ifconfig output
    ifne: run a program if the standard input is not empty
    isutf8: check if a file or standard input is utf-8
    lckdo: execute a program with a lock held
    mispipe: pipe two commands, returning the exit status of the first
    parallel: run multiple jobs at once
    pee: tee standard input to pipes
    sponge: soak up standard input and write to a file
    ts: timestamp standard input
    vidir: edit a directory in your text editor
    vipe: insert a text editor into a pipe
    zrun: automatically uncompress arguments to command

    I wish they had better documentation, but most of them are easy enough. You can tldr all of them, at least.

    Edit: I'm not sure about the status of parallel. It is listed here, but it is also a separate gnu project, and a much larger and complex program than any of the others.

    Edit 2: It is explained on the gnu parallel website:

    In February 2009 I tried getting parallel added to the package moreutils. The author never replied to the email or the two reminders, but in June 2009 moreutils chose to add another program called parallel. This choice leads to some confusion even today.

    I would recommend sticking with the gnu version myself.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button