Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sheepla/awesome-for-oneliner

🐚 A list of useful commands in the Unix shell one liner
https://github.com/sheepla/awesome-for-oneliner

List: awesome-for-oneliner

awesome awesome-list bash cli oneliner shell shellgei

Last synced: 3 months ago
JSON representation

🐚 A list of useful commands in the Unix shell one liner

Awesome Lists containing this project

README

        





🐚 Awesome CLI tools for One Liner



[![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)

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

---

## Utilities

### moreutils

[moreutils](https://joeyh.name/code/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](https://github.com/hroptatyr/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](http://www.billposer.org/Software/unidesc.html) - Programs for manipulating and analyzing Unicode text.

### Open USP Tsukubai

[Open USP Tsukubai](https://github.com/usp-engineers-community/Open-usp-Tukubai) - Unix-style commands for corporate systems written in Python
- [About Open USP Tsukubai](https://uec.usp-lab.com/tukubai)
- [Manual](https://uec.usp-lab.com/tukubai_man)

## JSON

- [dasel](https://github.com/tomwright/dasel) - Query and update data structures using selectors from the command line. Comparable to [jq](https://github.com/stedolan/jq) - [yq](https://github.com/kislyuk/yq) but supports JSON, YAML, TOML and XML with zero runtime dependencies.
- [jo](https://github.com/jpmens/jo) - A small utility to create JSON objects from command-line arguments
- [rjo](https://github.com/dskkato/rjo) - A small utility to create JSON objects from command-line arguments written in Rust
- [jq](https://github.com/stedolan/jq) - A JSON Query Language tool
- [jql](https://github.com/yamafaktory/jql) - A JSON Query Language tool written in Rust
- [gojq](https://github.com/itchyny/gojq) -A JSON Query Language tool written in Go
- [tv](https://github.com/uzimaru0000/tv) - A command to format JSON into table view
- [tvgo](https://github.com/mattn/tvgo) - A command to format JSON into table view written in Go

## CSV

- [csvq](https://github.com/mithrandie/csvq) - SQL-like query language for csv

## HTML

- [htmlq](https://github.com/mgdm/htmlq) - like jq but for HTML
- [emmet-cli](https://github.com/Delapouite/emmet-cli) - A command to expand emmet expression

## YAML/XML/TOML

- [yq](https://github.com/kislyuk/yq) - Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents

## Excel

- [cell](https://github.com/twinbird/cell) - Command-line xlsx processor

## Sed Replacement

- [sad](https://github.com/ms-jpq/sad) - sed replacement written in Rust
- [sd](https://github.com/chmln/sd) - Intuitive find & replace CLI (sed alternative)

## Grep Replacement

- [ripgrep](https://github.com/BurntSushi/ripgrep) - recursively searches directories for a regex pattern while respecting your gitignore. (The name of command: `rg`)
- [the_silver_searcher](https://github.com/ggreer/the_silver_searcher) - A code searching tool similar to ack, with a focus on speed. (The name of command: `ag`)

## Find Replacement

- [fd](https://github.com/ggreer/the_silver_searcher) - A simple, fast and user-friendly alternative to `find`

## AWK-like Tools

- [opy](https://github.com/ryuichiueda/opy) - A Python wrapper which works like AWK
- To know how to use `opy`, see [EXAMPLES.md](https://github.com/ryuichiueda/opy/blob/master/EXAMPLES.md)
- [hawk](https://github.com/gelisam/hawk) - Haskell text processor for the command-line
- [frawk](https://github.com/ezrosent/frawk) - An efficient AWK like language written in Rust

## Xargs-like Tools

- [rargs](https://github.com/lotabout/rargs) - xargs + awk with pattern matching support `ls *.bak | rargs -p '(.*)\.bak' mv {0} {1}`
- [teip](https://github.com/greymd/teip) - Select partial standard input and replace with the result of another command efficiently

## Text Editing

- [tate](https://github.com/mattn/tate) - A command to convert text to vertical writing
- [align](https://github.com/jiro4989/align) - Simple text align CLI
- [forest](https://github.com/KoharaKazuya/forest) - A command that formats and outputs text that represents a line-oriented structured tree structure.

## Regular Expression

- [grex](https://github.com/pemistahl/grex) - A command-line tool and library for generating regular expressions from user-provided test cases

## Unicode

- [chr](https://github.com/pemistahl/chr) - A command-line tool that gives information about Unicode characters
- [uni](https://github.com/arp242/uni) - Query the Unicode database from the commandline, with good support for emojis

## Translate

- [translate-shell](https://github.com/soimort/translate-shell) - Command-line translation tool written in AWK
- [deepl-cli](https://github.com/eggplants/deepl-cli) - DeepL Translator CLI written in Python
- [translate](https://github.com/Animenosekai/translate) - A module grouping multiple translation APIs written in Python

## Document Converter

- [pandoc](https://github.com/jgm/pandoc) - Universal markup converter written in Haskell

## PDF

- [cpdf](https://community.coherentpdf.com) - A command-line tool to manipulate PDF files.
- [pdftotext](https://github.com/jalan/pdftotext) - Simple PDF text extraction

## Color

- [pastel](https://github.com/sharkdp/pastel) - A command-line tool to generate, convert and manipulate colors

## Image Processing

- [imagemagick](https://imagemagick.org/index.php) - A tool to create, edit, compose, or convert digital images

- [textimg](https://github.com/jiro4989/textimg) - Command to convert from color text (ANSI or 256) to image

## Execution Environment

- [websh](https://websh.jiro4989.com) - A web shell execution environmentγ€€**Note:** This service has already been discontinued

- [Repository](https://github.com/jiro4989/websh)
- [API Reference](https://jiro4989.github.io/websh/swagger.html)

- [Sakura-no-Cloud Shell](https://www.sakura.ad.jp/services/cloudshell/)

## Related *Awesome* Repositories

- [awesome-shell](https://github.com/alebcay/awesome-shell)
- [command-line-tools](https://github.com/learn-anything/command-line-tools)
- [awesome-cli-apps](https://github.com/agarrharr/awesome-cli-apps)

## Contribution

Welcome! ✨

## License

[![CC0](https://i.creativecommons.org/p/zero/1.0/88x31.png)](https://creativecommons.org/publicdomain/zero/1.0/)