Skip to content

sheepla/awesome-for-oneliner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

42 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🐚 Awesome CLI tools for One Liner

Awesome

This is a list of useful commands in the Unix shell one liner. Contributions are welcome!


Utilities

moreutils

moreutils - moreutils is a growing collection of the unix tools that nobody thought to write long ago when unix was young.

  • 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

dateutils

dateutils - nifty command line date and time utilities; fast date calculations and conversion in the shell

  • strptime : Command line version of the C function
  • dateadd : Add durations to dates or times
  • dateconv : Convert dates or times between calendars
  • datediff : Compute durations between dates or times
  • dategrep : Grep dates or times in input streams
  • dateround : Round dates or times to "fuller" values
  • dateseq : Generate sequences of dates or times
  • datesort : Sort chronologically.
  • datetest : Compare dates or times
  • datezone : Convert date/times to timezones in bulk

uniutils

uniutils - Programs for manipulating and analyzing Unicode text.

Open USP Tsukubai

Open USP Tsukubai - Unix-style commands for corporate systems written in Python

JSON

  • dasel - Query and update data structures using selectors from the command line. Comparable to jq - yq but supports JSON, YAML, TOML and XML with zero runtime dependencies.
  • jo - A small utility to create JSON objects from command-line arguments
  • rjo - A small utility to create JSON objects from command-line arguments written in Rust
  • jq - A JSON Query Language tool
  • jql - A JSON Query Language tool written in Rust
  • gojq -A JSON Query Language tool written in Go
  • tv - A command to format JSON into table view
  • tvgo - A command to format JSON into table view written in Go

CSV

  • csvq - SQL-like query language for csv

HTML

  • htmlq - like jq but for HTML
  • emmet-cli - A command to expand emmet expression

YAML/XML/TOML

  • yq - Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents

Excel

  • cell - Command-line xlsx processor

Sed Replacement

  • sad - sed replacement written in Rust
  • sd - Intuitive find & replace CLI (sed alternative)

Grep Replacement

  • ripgrep - recursively searches directories for a regex pattern while respecting your gitignore. (The name of command: rg)
  • the_silver_searcher - A code searching tool similar to ack, with a focus on speed. (The name of command: ag)

Find Replacement

  • fd - A simple, fast and user-friendly alternative to find

AWK-like Tools

  • opy - A Python wrapper which works like AWK
  • hawk - Haskell text processor for the command-line
  • frawk - An efficient AWK like language written in Rust

Xargs-like Tools

  • rargs - xargs + awk with pattern matching support ls *.bak | rargs -p '(.*)\.bak' mv {0} {1}
  • teip - Select partial standard input and replace with the result of another command efficiently

Text Editing

  • tate - A command to convert text to vertical writing
  • align - Simple text align CLI
  • forest - A command that formats and outputs text that represents a line-oriented structured tree structure.

Regular Expression

  • grex - A command-line tool and library for generating regular expressions from user-provided test cases

Unicode

  • chr - A command-line tool that gives information about Unicode characters
  • uni - Query the Unicode database from the commandline, with good support for emojis

Translate

  • translate-shell - Command-line translation tool written in AWK
  • deepl-cli - DeepL Translator CLI written in Python
  • translate - A module grouping multiple translation APIs written in Python

Document Converter

  • pandoc - Universal markup converter written in Haskell

PDF

  • cpdf - A command-line tool to manipulate PDF files.
  • pdftotext - Simple PDF text extraction

Color

  • pastel - A command-line tool to generate, convert and manipulate colors

Image Processing

  • imagemagick - A tool to create, edit, compose, or convert digital images

  • textimg - Command to convert from color text (ANSI or 256) to image

Execution Environment


Related Awesome Repositories

Contribution

Welcome! ✨

License

CC0