Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Nushell


Crates.io

Follow this guide first: Install rust.

If your distro has it just install it as nu or nushell. In Fedora:

sudo dnf in nu

Compile it from source

Dependencies

# Debian
sudo apt install pkg-config libssl-dev build-essential

# RedHat/Fedora based
sudo yum install libxcb openssl-devel libX11-devel
cargo install nu --locked

Usage

Removing files older than 3 weeks

ls | where modified <= (date now) - 3wk | each {|file| rm $file.name}