Skip to content

Command line tools

We provide several command line tools for use in the terminal on both Vera and Alvis. These tools provide additional functionality on top of the regular Linux CLI tools.

eza

Modern, maintained replacement for ls, built on exa. More information: https://github.com/eza-community/eza.

List files one per line:

  eza --oneline

List all files, including hidden files:

  eza --all
Long format list (permissions, ownership, size and modification date) of all files:
  eza --long --all
List files with the largest at the top:
  eza --reverse --sort=size
Display a tree of files, three levels deep:
  eza --long --tree --level=3
List files sorted by modification date (oldest first):
  eza --long --sort=modified
List files with their headers, icons, and Git statuses:
  eza --long --header --icons --git
Don't list files mentioned in .gitignore:
  eza --git-ignore

bat

Print and concatenate files. A cat clone with syntax highlighting and Git integration. More information: https://github.com/sharkdp/bat.

Pretty print the contents of one or more files to stdout:

  bat path/to/file1 path/to/file2 ...
Concatenate several files into the target file:
  bat path/to/file1 path/to/file2 ... > path/to/target_file
Remove decorations and disable paging (--style plain can be replaced with -p, or both options with -pp):
  bat --style plain --pager never path/to/file
Highlight a specific line or a range of lines with a different background color:
  bat -H|--highlight-line 10|5:10|:10|10:|10:+5 path/to/file
Show non-printable characters like space, tab or newline:
  bat -A|--show-all path/to/file
Remove all decorations except line numbers in the output:
  bat -n|--number path/to/file
Syntax highlight a JSON file by explicitly setting the language:
  bat -l|--language json path/to/file.json
Display all supported languages:
  bat -L|--list-languages

dust

Dust gives an instant overview of which directories are using disk space. More information: https://github.com/bootandy/dust.

Display information for the current directory:

  dust
Display information about one or more directories:
  dust path/to/directory1 path/to/directory2 ...
Display 30 directories (defaults to 21):
  dust --number-of-lines 30
Display information for the current directory, up to 3 levels deep:
  dust --depth 3
Display the biggest directories at the top in descending order:
  dust --reverse
Ignore all files and directories with a specific name:
  dust --ignore-directory file_or_directory_name
Do not display percent bars and percentages:
  dust --no-percent-bars

sk

Fuzzy finder written in Rust. Similar to fzf. More information: https://github.com/skim-rs/skim.

Start skim on all files in the specified directory:

  find path/to/directory -type f | sk
Start skim for running processes:
  ps aux | sk
Start skim with a specified query:
  sk --query "query"
Select multiple files with Shift + Tab and write to a file:
  find path/to/directory -type f | sk --multi > path/to/file

gitui

A lightweight keyboard-only TUI for Git. See also: tig, git-gui. More information: https://github.com/gitui-org/gitui.

Specify the color theme (defaults to theme.ron):

  gitui --theme theme
Store logging output into a cache directory:
  gitui --logging
Use notify-based file system watcher instead of tick-based update:
  gitui --watcher
Generate a bug report:
  gitui --bugreport
Use a specific Git directory:
  gitui --directory path/to/directory
Use a specific working directory:
  gitui --workdir path/to/directory
Display help:
  gitui --help
Display version:
  gitui --version

rg

Ripgrep is a recursive line-oriented search tool. Aims to be a faster alternative to grep. More information: https://github.com/BurntSushi/ripgrep.

Recursively search the current directory for a regular expression:

  rg regular_expression
Search for regular expressions recursively in the current directory, including hidden files and files listed in .gitignore:
  rg --no-ignore --hidden regular_expression
Search for a regular expression only in a subset of directories:
  rg regular_expression set_of_subdirs
Search for a regular expression in files matching a glob (e.g. README.*):
  rg regular_expression --glob glob
Search for filenames that match a regular expression:
  rg --files | rg regular_expression
Only list matched files (useful when piping to other commands):
  rg --files-with-matches regular_expression
Show lines that do not match the given regular expression:
  rg --invert-match regular_expression
Search a literal string pattern:
  rg --fixed-strings -- string

ripunzip

RipUnzip is a tool to unzip zippfiles in parallel.

ripunzip unzip-file <filename>

Other tools

If you want to explore any other tools, you can explore those in the folder /apps/bin.