@h4ckernews@mastodon.social avatar h4ckernews Bot , to random

Ed25519-CLI – command-line interface for the Ed25519 signature system

https://lib25519.cr.yp.to/ed25519-cli.html

@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@Dendrobatus_Azureus@bsd.cafe avatar Dendrobatus_Azureus , to random

Running sh commands on Android is easy.

You need a terminal ENV which runs unprivileged. You need package management. You need csh zsh ksh bash skills

It's full blown, comes with minimal packages, so you can extend with anything from vim, Yes VIM to htop, neofetch, to c programming, with all the cherry 🍒 on top

I use termux

You may get it on fDroid, the home site, even in playstore

image/jpeg

Dendrobatus_Azureus OP ,
@Dendrobatus_Azureus@bsd.cafe avatar

Termux has so much because It was written for the Command Line jockey. If you ever worked and an Open Source Operating System in {ba/ch/k/z}sh shell;
If you even worked in a closed source command line like DOS you'll feel right that home here

image/png

Dendrobatus_Azureus OP ,
@Dendrobatus_Azureus@bsd.cafe avatar

In these screen caps I've shown you how I've installed it on one of my Androids and then started working with it immediately because the environment is familiar just like the ones that I knew 30+ years ago

image/png
image/png

Dendrobatus_Azureus OP ,
@Dendrobatus_Azureus@bsd.cafe avatar

Packages are updated easily with pkg

The hints are plentiful

ifconfig is installed by default
You can also keep the shell evironment permanent, true termux itself and of course you should also use your Android BMS {battery management system} to tell it that termux needs to be unrestricted

image/png
image/png

@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random

A terminal command that tells you if your USB-C cable is bad

https://kau.sh/blog/usbi/

-C

@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@jjba23@mastodon.social avatar jjba23 , to random

Maak v0.2.3 is now part of Guix ! 🐂

https://codeberg.org/jjba23/maak

The infinitely extensible command runner, control plane and project automator à la Make (Guile Scheme - Lisp)

Now available via package manager! ✨

This version comes as first official release, and packs additional documentation and bash completions (as seen in screenshot)

ALT
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@h4ckernews@mastodon.social avatar h4ckernews Bot , to random

Yamlfmt: An extensible command line tool or library to format YAML files

https://github.com/google/yamlfmt

logging_strict , to Python in Python Tutorial: argparse advanced-help with additional options

why click is based on optparse and not argparse

Applies only to optional args
long help

Applies only to subcommands
short help

Special mention to how to document positional args. The docs explains the intentional lack of help kwarg for positional args.

./thing.py -h
./thing.py subcommand --help

Lists all the subcommands with one line short description for each subcommand.

Lists detailed docs of one subcommand

My opinion having used both argparse and click, click is simpler cleaner and less time consuming.

@h4ckernews@mastodon.social avatar h4ckernews Bot , to random

Lstr – A modern, interactive tree command written in Rust

https://github.com/bgreenwell/lstr

@h4ckernews@mastodon.social avatar h4ckernews Bot , to random

Yes-rs: A fast, memory-safe rewrite of the classic Unix yes command

https://github.com/jedisct1/yes-rs

@h4ckernews@mastodon.social avatar h4ckernews Bot , to random
@fsf@hostux.social avatar fsf , to random

New to and , or need a couple how-to videos to get your friend or relative started? We'd love to help: https://u.fsf.org/45i

@gamingonlinux@mastodon.social avatar gamingonlinux , to random