5chars

anbox
Run Android applications on any GNU/Linux operating system

More information: https://manned.org/anbox.

- Launch Anbox into the app manager: anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity

aplay
Command-line sound player for ALSA soundcard driver

More information: https://manned.org/aplay.

- Play a specific file (sampling rate, bit depth, etc. will be automatically determined for the file format): aplay path/to/file

- Play the first 10 seconds of a specific file at 2500 Hz: aplay --duration=10 --rate=2500 path/to/file

- Play the raw file as a 22050 Hz, mono, 8-bit, Mu-Law .au file: aplay --channels=1 --file-type raw --rate=22050 --format=mu_law path/to/file

ascii
Show ASCII character aliases

More information: http://www.catb.org/~esr/ascii/.

- Show ASCII aliases of a character: ascii a

- Show ASCII aliases in short, script-friendly mode: ascii -t a

- Show ASCII aliases of multiple characters: ascii -s tldr

- Show ASCII table in decimal: ascii -d

- Show ASCII table in hexadecimal: ascii -x

- Show ASCII table in octal: ascii -o

- Show ASCII table in binary: ascii -b

- Show options summary and complete ASCII table: ascii

blkid
Lists all recognized partitions and their Universally Unique Identifier (UUID)

More information: https://manned.org/blkid.

- List all partitions: sudo blkid

- List all partitions in a table, including current mountpoints: sudo blkid -o list

brctl
Ethernet bridge administration

More information: https://manned.org/brctl.

- Show a list with information about currently existing Ethernet bridges: sudo brctl show

- Create a new Ethernet bridge interface: sudo brctl add bridge_name

- Delete an existing Ethernet bridge interface: sudo brctl del bridge_name

- Add an interface to an existing bridge: sudo brctl addif bridge_name interface_name

- Remove an interface from an existing bridge: sudo brctl delif bridge_name interface_name

btrfs
A filesystem based on the copy-on-write (COW) principle for Linux

More information: https://btrfs.wiki.kernel.org/index.php/Manpage/btrfs.

- Create subvolume: sudo btrfs subvolume create path/to/subvolume

- List subvolumes: sudo btrfs subvolume list path/to/mount_point

- Show space usage information: sudo btrfs filesystem df path/to/mount_point

- Enable quota: sudo btrfs quota enable path/to/subvolume

- Show quota: sudo btrfs qgroup show path/to/subvolume

chage
Change user account and password expiry information

More information: https://manned.org/chage.

- List password information for the user: chage -l username

- Enable password expiration in 10 days: sudo chage -M 10 username

- Disable password expiration: sudo chage -M -1 username

- Set account expiration date: sudo chage -E YYYY-MM-DD

- Force user to change password on next log in: sudo chage -d 0

chcpu
Enable/disable a system's CPUs

More information: https://manned.org/chcpu.

- Disable CPUs via a list of CPU ID numbers: chcpu -d 1,3

- Enable a set of CPUs via a range of CPU ID numbers: chcpu -e 1-10

colrm
Remove columns from stdin

More information: https://manned.org/colrm.

- Remove first column of stdin: colrm 1 1

- Remove from 3rd column till the end of each line: colrm 3

- Remove from the 3rd column till the 5th column of each line: colrm 3 5

conky
Light-weight system monitor for X

More information: https://github.com/brndnmtthws/conky.

- Launch with default, built-in config: conky

- Create a new default config: conky -C > ~/.conkyrc

- Launch Conky with a given config file: conky -c path/to/config

- Start in the background (daemonize): conky -d

- Align Conky on the desktop: conky -a top,bottom,middle_left,right,middle

- Pause for 5 seconds at startup before launching: conky -p 5

cpuid
Display detailed information about all CPUs

More information: http://etallen.com/cpuid.html.

- Display information for all CPUs: cpuid

- Display information only for the current CPU: cpuid -1

- Display raw hex information with no decoding: cpuid -r

dconf
Simple tool for manipulating dconf databases.See also dconf write

More information: https://developer.gnome.org/dconf.

- Print the value of a dconf path: dconf read /example/dconf/path

- List contents of a dconf path: dconf list /example/dconf/path

- Watch for dconf database changes in a path and subpaths: dconf watch /example/dconf/path diff3 Compare three files line by line

More information: https://www.gnu.org/software/diffutils/manual/html_node/Invoking-diff3.html.

- Compare files: diff3 file1 file2 file3

- Show all changes, outlining conflicts: diff3 --show-all file1 file2 file3

dmenu
Dynamic menu.Creates a menu from a text input with each item on a new line

More information: https://manned.org/dmenu.

- Display a menu of the output of the ls command: ls | dmenu

- Display a menu with custom items separated by a new line (\n): echo -e "red\ngreen\nblue" | dmenu

- Let the user choose between multiple items and save the selected one to a file: echo -e "red\ngreen\nblue" | dmenu > color.txt

- Launch dmenu on a specific monitor: ls | dmenu -m 1

- Display dmenu at the bottom of the screen: ls | dmenu -b

dmesg
Write the kernel messages to standard output

More information: https://manned.org/dmesg.

- Show kernel messages: dmesg

- Show kernel error messages: dmesg --level err

- Show kernel messages and keep reading new ones, similar to tail -f (available in kernels 3.5.0 and newer): dmesg -w

- Show how much physical memory is available on this system: dmesg | grep -i memory

- Show kernel messages 1 page at a time: dmesg | less

- Show kernel messages with a timestamp (available in kernels 3.5.0 and newer): dmesg -T

- Show kernel messages in human-readable form (available in kernels 3.5.0 and newer): dmesg -H

- Colorize output (available in kernels 3.5.0 and newer): dmesg -L

dstat
Versatile tool for generating system resource statistics

More information: http://dag.wieers.com/home-made/dstat.

- Display CPU, disk, net, paging and system statistics: dstat

- Display statistics every 5 seconds and 4 updates only: dstat 5 4

- Display CPU and memory statistics only: dstat --cpu --mem

- List all available dstat plugins: dstat --list

- Display the process using the most memory and most CPU: dstat --top-mem --top-cpu

- Display battery percentage and remaining battery time: dstat --battery --battery-remain

eject
Eject cds, floppy disks and tape drives

More information: https://manned.org/eject.

- Display the default device: eject -d

- Eject the default device: eject

- Eject a specific device (the default order is cd-rom, scsi, floppy and tape): eject /dev/cdrom

- Toggle whether a device's tray is open or closed: eject -T /dev/cdrom

- Eject a cd drive: eject -r /dev/cdrom

- Eject a floppy drive: eject -f /mnt/floppy

- Eject a tape drive: eject -q /mnt/tape eyeD3 Read and manipulate metadata of MP3 files

More information: https://eyed3.readthedocs.io/en/latest/.

- View information about an MP3 file: eyeD3 filename.mp3

- Set the title of an MP3 file: eyeD3 --title "A Title" filename.mp3

- Set the album of all the MP3 files in a directory: eyeD3 --album "Album Name" *.mp3

- Set the front cover art for an MP3 file: eyeD3 --add-image front_cover.jpeg:FRONT_COVER: filename.mp3 f5fpc A proprietry commercial SSL VPN client by BIG-IP Edge

More information: https://techdocs.f5.com/kb/en-us/products/big-ip_apm/manuals/product/apm-client-configuration-11-4-0/4.html.

- Open a new VPN connection: sudo f5fpc --start

- Open a new VPN connection to a specific host: sudo f5fpc --start --host host.example.com

- Specify a username (user will be prompted for a password): sudo f5fpc --start --host host.example.com --username user

- Show the current VPN status: sudo f5fpc --info

- Shutdown the VPN connection: sudo f5fpc --stop

fdisk
A program for managing partition tables and partitions on a hard disk.See also: partprobe

More information: https://manned.org/fdisk.

- List partitions: sudo fdisk -l

- Start the partition manipulator: sudo fdisk /dev/sdX

- Once partitioning a disk, create a partition: n

- Once partitioning a disk, select a partition to delete: d

- Once partitioning a disk, view the partition table: p

- Once partitioning a disk, write the changes made: w

- Once partitioning a disk, discard the changes made: q

- Once partitioning a disk, open a help menu: m

finch
Console-based modular messaging client

More information: https://developer.pidgin.im/wiki/Using%20Finch.

- Launch finch: finch

- Quit: alt + q or ctrl + c

- Show actions menu: alt + a

- Jump to n-th window: alt + number_key

- Close current window: alt + c

- Start moving a window, use arrow keys to move, press escape when done: alt + m

- Start resizing a window, use arrow keys to resize, press escape when done: alt + r

flash
Flash cards in the terminal

More information: https://github.com/tallguyjenks/fla.sh.

- Open a menu of available flashcard decks for selection: flash

- Display the program version: flash -v

- Display information about the flashcard system: flash -i

- Display a list of available commands: flash -h

- Change the previewer from default bat to cat: flash -p cat

fuser
Display process IDs currently using files or sockets

More information: https://manned.org/fuser.

- Find which processes are accessing a file or directory: fuser path/to/file_or_directory

- Show

More fields (USER, PID, ACCESS and COMMAND): fuser --verbose path/to/file_or_directory

- Identify processes using a TCP socket: fuser --namespace tcp port

- Kill all processes accessing a file or directory (sends the SIGKILL signal): fuser --kill path/to/file_or_directory

- Find which processes are accessing the filesystem containing a specific file or directory: fuser --mount path/to/file_or_directory

gdebi
Simple tool to install .deb files

More information: https://www.commandlinux.com/man-page/man1/gdebi.1.html.

- Install local .deb packages resolving and installing its dependencies: gdebi path/to/package.deb

- Display the program version: gdebi --version

- Do not show progress information: gdebi path/to/package.deb --quiet

- Set an APT configuration option: gdebi path/to/package.deb --option=APT_OPTS

- Use alternative root dir: gdebi path/to/package.deb --root=path/to/root_dir

gedit
Text editor of the GNOME Desktop project

More information: https://help.gnome.org/users/gedit/stable/.

- Open a text file: gedit path/to/file

- Open multiple text files: gedit file1 file2 ...

- Open a text file with a specific encoding: gedit --encoding=UTF-8 path/to/file

- Display a list of supported encodings: gedit --list-encodings

genid
Generate IDs, such as snowflakes, UUIDs, and a new GAID

More information: https://github.com/bleonard252/genid.

- Generate a UUIDv4: genid uuid

- Generate a UUIDv5 using a namespace UUID and a specific name: genid uuidv5 ce598faa-8dd0-49ee-8525-9e24fff71dca name

- Generate a Discord Snowflake, without a trailing newline (useful in shell scripts): genid --script snowflake

- Generate a Generic Anonymous ID with a specific "real ID": genid gaid real_id

- Generate a Snowflake with the epoch set to a specific date: genid snowflake --epoch=unix_epoch_time

genie
Set up and use a "bottle" namespace to run systemd under WSL (Windows Subsystem for Linux).To run these from Windows rather than an already-running distribution, precede them with wsl

More information: https://github.com/arkane-systems/genie.

- Initialize the bottle (run once, at start): genie -i

- Run a login shell inside the bottle: genie -s

- Run a specified command inside the bottle: genie -c command

guake
A drop-down terminal for GNOME

More information: http://guake-project.org/.

- Toggle Guake visibility: F12

- Toggle fullscreen mode: F11

- Open a new tab: Ctrl+Shift+T

- Close the terminal: Super+X

- Go to the previous tab: Ctrl+PageUp

- Search the selected text in the browser: Shift+Ctrl+L

hello
Print "Hello, world!", "hello, world" or a customizable text

More information: https://www.gnu.org/software/hello/.

- Print "Hello, world!": hello

- Print "hello, world", the traditional type: hello --traditional

- Print a text message: hello --greeting="greeting_text"

hlint
Tool for suggesting improvements to Haskell code

More information: http://hackage.haskell.org/package/hlint.

- Display suggestions for a given file: hlint path/to/file options

- Check all Haskell files and generate a report: hlint path/to/directory --report

- Automatically apply most suggestions: hlint path/to/file --refactor

- Display additional options: hlint path/to/file --refactor-options

- Generate a settings file ignoring all outstanding hints: hlint path/to/file --default > .hlint.yaml

iftop
Show bandwidth usage on an interface by host

More information: https://manned.org/iftop.

- Show the bandwidth usage: sudo iftop

- Show the bandwidth usage of a given interface: sudo iftop -i interface

- Show the bandwidth usage with port information: sudo iftop -P

- Do not show bar graphs of traffic: sudo iftop -b

- Do not look up hostnames: sudo iftop -n

- Get help about interactive commands: ?

ipcmk
Create IPC (Inter-process Communication) resources.

- Create a shared memory segment: ipcmk --shmem segment_size_in_bytes

- Create a semaphore: ipcmk --semaphore element_size

- Create a message queue: ipcmk --queue

- Create a shared memory segment with specific permissions (default is 0644): ipcmk --shmem segment_size_in_bytes octal_permissons

ipcrm
Delete IPC (Inter-process Communication) resources.

- Delete a shared memory segment by ID: ipcrm --shmem-id shmem_id

- Delete a shared memory segment by key: ipcrm --shmem-key shmem_key

- Delete an IPC queue by ID: ipcrm --queue-id ipc_queue_id

- Delete an IPC queue by key: ipcrm --queue-key ipc_queue_key

- Delete a semaphore by ID: ipcrm --semaphore-id semaphore_id

- Delete a semaphore by key: ipcrm --semaphore-key semaphore_key

- Delete all IPC resources: ipcrm --all

iwctl
A command-line tool for controlling the iwd network supplicant

More information: https://iwd.wiki.kernel.org/gettingstarted.

- Start the interactive mode, in this mode you can enter the commands directly, with autocompletion: iwctl

- Call general help: iwctl --help

- Display your Wi-Fi stations: iwctl station list

- Start looking for networks with a station: iwctl station station scan

- Display the networks found by a station: iwctl station station get-networks

- Connect to a network with a station, if credentials are needed they will be asked: iwctl station station connect network_name

kexec
Directly reboot into a new kernel.

- Load a new kernel: kexec -l path/to/kernel --initrd=path/to/initrd --command-line=arguments

- Load a new kernel with current boot parameters: kexec -l path/to/kernel --initrd=path/to/initrd --reuse-cmdline

- Execute a currently loaded kernel: kexec -e

- Unload current kexec target kernel: kexec -u

lastb
Show a listing of last logged in users

More information: https://manned.org/lastb.

- Show a list of all last logged in users: sudo lastb

- Show a list of all last logged in users since a given time: sudo lastb --since YYYY-MM-DD

- Show a list of all last logged in users until a given time: sudo lastb --until YYYY-MM-DD

- Show a list of all logged in users at a specific time: sudo lastb --present hh:mm

- Show a list of all last logged in users and translate the IP into a hostname: sudo lastb --dns

legit
Complementary command-line interface for Git

More information: https://frostming.github.io/legit.

- Switch to a specified branch, stashing and restoring unstaged changes: git switch target_branch

- Synchronize current branch, automatically merging or rebasing, and stashing and unstashing: git sync

- Publish a specified branch to the remote server: git publish branch_name

- Remove a branch from the remote server: git unpublish branch_name

- List all branches and their publication status: git branches glob_pattern

- Remove the last commit from the history: git undo --hard

light
CLI to control the backlight of your screen

More information: https://manned.org/light.

- Get the current backlight value in percent: light

- Set the backlight value to 50 percent: light -S 50

- Reduce 20 percent from the current backlight value: light -U 20

- Add 20 percent to the current backlight value: light -A 20

login
Initiates a session for a user

More information: https://manned.org/login.

- Log in as a user: login user

- Log in as user without authentication if user is preauthenticated: login -f user

- Log in as user and preserve environment: login -p user

- Log in as a user on a remote host: login -h host user

lrzip
A large file compression program.See also lrunzip, lrztar, lrzuntar

More information: https://manned.org/lrzip.

- Compress a file with LZMA - slow compression, fast decompression: lrzip filename

- Compress a file with BZIP2 - good middle ground for compression/speed: lrzip -b filename

- Compress with ZPAQ - extreme compression, but very slow: lrzip -z filename

- Compress with LZO - light compression, extremely fast decompression: lrzip -l filename

- Compress a file and password protect/encrypt it: lrzip -e filename

- Override the number of processor threads to use: lrzip -p 8 filename

lsblk
Lists information about devices

More information: https://manned.org/lsblk.

- List all storage devices in a tree-like format: lsblk

- Also list empty devices: lsblk -a

- Print the SIZE column in bytes rather than in a human-readable format: lsblk -b

- Output info about filesystems: lsblk -f

- Use ASCII characters for tree formatting: lsblk -i

- Output info about block-device topology: lsblk -t

- Exclude the devices specified by the comma-separated list of major device numbers: lsblk -e 1,7

- Display a customized summary using a comma-separated list of columns: lsblk --output NAME,SERIAL,MODEL,TRAN,TYPE,SIZE,FSTYPE,MOUNTPOINT

lscpu
Displays information about the CPU architecture

More information: https://manned.org/lscpu.

- Display information about all CPUs: lscpu

- Display information in a table: lscpu --extended

- Display only information about offline CPUs in a table: lscpu --extended --offline

lsmod
Shows the status of Linux kernel modules.See also modprobe, which loads kernel modules

More information: https://manned.org/lsmod.

- List all currently loaded kernel modules: lsmod

lspci
List all PCI devices

More information: https://manned.org/lspci.

- Show a brief list of devices: lspci

- Display additional info: lspci -v

- Display drivers and modules handling each device: lspci -k

- Show a specific device: lspci -s 00:18.3

- Dump info in a readable form: lspci -vm

lsusb
Display information about USB buses and devices connected to them

More information: https://manned.org/lsusb.

- List all the USB devices available: lsusb

- List the USB hierarchy as a tree: lsusb -t

- List verbose information about USB devices: lsusb --verbose

- List detailed information about a USB device: lsusb -D device

- List devices with a specified vendor and product ID only: lsusb -d vendor:product

lynis
System and security auditing tool

More information: https://cisofy.com/documentation/lynis/.

- Check that Lynis is up-to-date: sudo lynis update info

- Run a security audit of the system: sudo lynis audit system

- Run a security audit of a Dockerfile: sudo lynis audit dockerfile path/to/dockerfile

mandb
Manage the pre-formatted manual page database

More information: https://man7.org/linux/man-pages/man8/mandb.8.html.

- Purge and process manual pages: mandb

- Update a single entry: mandb --filename path/to/file

- Create entries from scratch instead of updating: mandb --create

- Only process user databases: mandb --user-db

- Do not purge obsolete entries: mandb --no-purge

- Check the validity of manual pages: mandb --test

mdadm
RAID management utility

More information: https://manned.org/mdadm.

- Create array: mdadm --create /dev/md/MyRAID --level raid_level --raid-devices number_of_disks /dev/sdXN

- Stop array: mdadm --stop /dev/md0

- Mark disk as failed: mdadm --fail /dev/md0 /dev/sdXN

- Remove disk: mdadm --remove /dev/md0 /dev/sdXN

- Add disk to array: mdadm --assemble /dev/md0 /dev/sdXN

- Show RAID info: mdadm --detail /dev/md0

mknod
Create block or character device special files

More information: https://www.gnu.org/software/coreutils/mknod.

- Create a block device: sudo mknod path/to/device_file b major_device_number minor_device_number

- Create a character device: sudo mknod path/to/device_file c major_device_number minor_device_number

- Create a FIFO (queue) device: sudo mknod path/to/device_file p

- Create a device file with default SELinux security context: sudo mknod -Z path/to/device_file type major_device_number minor_device_number

mmcli
Control and monitor the ModemManager

More information: https://www.freedesktop.org/software/ModemManager/man/latest/mmcli.1.html.

- List SMS messages available on the modem: sudo mmcli --modem=modem --messaging-list-sms

- Delete a message from the modem, specifying its path: sudo mmcli --modem=modem --messaging-delete-sms=path/to/message_file

mycli
A command-line client for MySQL that can do auto-completion and syntax highlighting

More information: https://mycli.net.

- Connect to a local database on port 3306, using the current user's username: mycli database_name

- Connect to a database (user will be prompted for a password): mycli -u username database_name

- Connect to a database on another host: mycli -h database_host -P port -u username database_name

named
Execute the DNS (Dynamic Name Service) server daemon that converts host names to IP addresses and vice versa

More information: https://manned.org/named.

- Read the default configuration file /etc/named.conf, read any initial data and listen for queries: named

- Read a custom configuration file: named -c path/to/named.conf

- Use IPv4 or IPv6 only, even if the host machine is capable of utilising other protocols: named -4|-6

- Listen for queries on a specific port instead of the default port 53: named -p port

- Run the server in the foreground and do not daemonize: named -f

namei
Follows a pathname (which can be a symbolic link) until a terminal point is found (a file/directory/char device etc).This program is useful for finding "too many levels of symbolic links" problems.

- Resolve the pathnames specified as the argument parameters: namei path/to/a path/to/b path/to/c

- Display the results in a long-listing format: namei --long path/to/a path/to/b path/to/c

- Show the mode bits of each file type in the style of ls: namei --modes path/to/a path/to/b path/to/c

- Show owner and group name of each file: namei --owners path/to/a path/to/b path/to/c

- Don't follow symlinks while resolving: namei --nosymlinks path/to/a path/to/b path/to/c

ndctl
Utility for managing Non-Volatile DIMMs.

- Create an 'fsdax' mode namespace: ndctl create-namespace --mode=fsdax

- Change the mode of a namespace to 'raw': ndctl create-namespace --reconfigure=namespaceX.Y --mode=raw

- Check a sector mode namespace for consistency, and repair if needed: ndctl check-namespace --repair namespaceX.Y

- List all namespaces, regions, and buses (including disabled ones): ndctl list --namespaces --regions --buses --idle

- List a specific namespace and include lots of additional information: ndctl list -vvv --namespace=namespaceX.Y

- Run a monitor to watch for SMART health events for NVDIMMs on the 'ACPI.NFIT' bus: ndctl monitor --bus=ACPI.NFIT

- Remove a namespace (when applicable) or reset it to an initial state: ndctl destroy-namespace --force namespaceX.Y

nmcli
A command-line tool for controlling NetworkManager

More information: https://manned.org/nmcli.

- Run an nmcli subcommand: nmcli agent|connection|device|general|help|monitor|networking|radio command_options

- Display the current version of NetworkManager: nmcli --version

- Display help: nmcli --help

- Display help for a subcommand: nmcli subcommand --help

nmtui
Text user interface for controlling NetworkManager.Use arrow keys to navigate, enter to select an option.

- Open the user interface: nmtui

- Show a list of available connections, with the option to activate or deactivate them: nmtui connect

- Connect to a given network: nmtui connect name|uuid|device|SSID

- Edit/Add/Delete a given network: nmtui edit name|id

- Set the system hostname: nmtui hostname

pamac
A command-line utility for the GUI package manager pamac.If you can't see the AUR packages, enable it in /etc/pamac.conf or in the GUI

More information: https://wiki.manjaro.org/index.php/Pamac.

- Install a new package: pamac install package_name

- Remove a package and its no longer required dependencies (orphans): pamac remove --orphans package_name

- Search the package database for a package: pamac search package_name

- List installed packages: pamac list --installed

- Check for package updates: pamac checkupdates

- Upgrade all packages: pamac upgrade

partx
Parse a partition table and tell the kernel about it

More information: https://man7.org/linux/man-pages/man8/partx.8.html.

- List the partitions on a block device or disk image: sudo partx --list path/to/device_or_disk_image

- Add all the partitions found in a given block device to the kernel: sudo partx --add --verbose path/to/device_or_disk_image

- Delete all the partitions found from the kernel (does not alter partitions on disk): sudo partx --delete path/to/device_or_disk_image

pidof
Gets the ID of a process using its name.

- List all process IDs with given name: pidof bash

- List a single process ID with given name: pidof -s bash

- List process IDs including scripts with given name: pidof -x script.py

- Kill all processes with given name: kill "$(pidof name)"

pivpn
Easy security-hardened OpenVPN setup and manager.Originally designed for the Raspberry Pi, but works on other Linux devices too

More information: http://www.pivpn.io/.

- Add a new client device: sudo pivpn add

- List all client devices: sudo pivpn list

- List currently connected devices and their statistics: sudo pivpn clients

- Revoke a previously authenticated device: sudo pivpn revoke

- Uninstall PiVPN: sudo pivpn uninstall

pkgmk
Make a binary package for use with pkgadd on CRUX.

- Make and download a package: pkgmk -d

- Install the package after making it: pkgmk -d -i

- Upgrade the package after making it: pkgmk -d -u

- Ignore the footprint when making a package: pkgmk -d -if

- Ignore the MD5 sum when making a package: pkgmk -d -im

- Update the package's footprint: pkgmk -uf

pkgrm
Remove a package from a CRUX system.

- Remove an installed package: pkgrm package_name

ports
Update/list the ports tree on a CRUX system.

- Update the ports tree: ports -u

- List the ports in the current tree: ports -l

- Check the differences between installed packages and the ports tree: ports -d

print
An alias to a run-mailcap's action print.Originally run-mailcap is used to process mime-type/file.

- Print action can be used to print any file on default run-mailcap tool: print filename

- With run-mailcap: run-mailcap --action=print filename

procs
Display information about the active processes

More information: https://github.com/dalance/procs.

- List all processes showing the PID, user, CPU usage, memory usage, and the command which started them: procs

- Show information about processes, if the commands which started them contain zsh: procs zsh

- Show information about all processes sorted by CPU time in [a]scending or [d]escending order: procs --sortd|--sorta cpu

- Show information about processes with either a PID, command, or user containing (zsh or firefox): procs --or PID|command|user 41 firefox

- Show information about processes with both PID 41 and a command or user containing zsh: procs --and 41 zsh

pwgen
Generate pronounceable passwords.

- Generate random password with s[y]mbols: pwgen -y length

- Generate secure, hard-to-memorize passwords: pwgen -s length

- Generate password with at least one capital letter in them: pwgen -c length

reset
Reinitialises the current terminal. Clears the entire terminal screen.

- Reinitialise the current terminal: reset

- Display the terminal type instead: reset -q

sacct
Display accounting data from the Slurm service

More information: https://slurm.schedmd.com/sacct.html.

- Display job id, job name, partition, account, number of allocated cpus, job state, and job exit codes for recent jobs: sacct

- Display job id, job state, job exit code for recent jobs: sacct --brief

- Display the allocations of a job: sacct --jobs job_id --allocations

- Display elapsed time, job name, number of requested CPUs, and memory requested of a job: sacct --jobs job_id --format=elapsed,jobname,reqcpus,reqmem

scrot
Screen capture utility

More information: https://github.com/resurrecting-open-source-projects/scrot.

- Capture a screenshot and save it to the current directory with the current date as the filename: scrot

- Capture a screenshot and save it as capture.png: scrot capture.png

- Capture a screenshot interactively: scrot --select

- Capture a screenshot from the currently focused window: scrot --focused

- Display a countdown of 10 seconds before taking a screenshot: scrot --count --delay 10

sfill
Securely overwrite the free space and inodes of the partition where the specified directory resides

More information: https://manned.org/sfill.

- Overwrite free space and inodes of a disk with 38 writes (slow but secure): sfill /path/to/mounted_disk_directory

- Overwrite free space and inodes of a disk with 6 writes (fast but less secure) and show status: sfill -l -v /path/to/mounted_disk_directory

- Overwrite free space and inodes of a disk with 1 write (very fast but insecure) and show status: sfill -ll -v /path/to/mounted_disk_directory

- Overwrite only free space of a disk: sfill -I /path/to/mounted_disk_directory

- Overwrite only free inodes of a disk: sfill -i /path/to/mounted_disk_directory

sinfo
View information about Slurm nodes and partitions.See also squeue and sbatch, which are also part of the Slurm workload manager

More information: https://slurm.schedmd.com/sinfo.html.

- Show a quick summary overview of the cluster: sinfo --summarize

- View the detailed status of all partitions across the entire cluster: sinfo

- View the detailed status of a specific partition: sinfo --partition partition_name

- View information about idle nodes: sinfo --states idle

- Summarise dead nodes: sinfo --dead

- List dead nodes and the reasons why: sinfo --list-reasons

sstat
View information about running jobs

More information: https://slurm.schedmd.com/sstat.html.

- Display status information of a comma-separated list of jobs: sstat --jobs=job_id

- Display job ID, average CPU and average virtual memory size of a comma-separated list of jobs, with pipes as column delimiters: sstat --parsable --jobs=job_id --format=JobID,AveCPU,AveVMSize

- Display list of fields available: sstat --helpformat

swupd
Package management utility for Clear Linux

More information: https://docs.01.org/clearlinux/latest/guides/clear/swupd.html.

- Update to the latest version: sudo swupd update

- Show current version, and check whether a newer one exists: swupd check-update

- List installed bundles: swupd bundle-list

- Locate the bundle where a wanted package exists: swupd search -b package

- Install a new bundle: sudo swupd bundle-add bundle

- Remove a bundle: sudo swupd bundle-remove bundle

- Correct broken or missing files: sudo swupd verify

trash
A CLI for managing your trashcan / recycling bin

More information: https://github.com/andreafrancia/trash-cli.

- Delete a file (send to trash): trash path/to/file

- List files in trash: trash-list

- Restore file from trash: trash-restore

- Empty trash: trash-empty

- Empty trash, keeping files trashed less than 10 days ago: trash-empty 10

- Remove all files named 'foo' from the trash: trash-rm foo

- Remove all files with a given original location: trash-rm /absolute/path/to/file_or_directory

unset
Remove shell variables or functions

More information: https://manned.org/unset.

- Remove the variable foo, or if the variable doesn't exist, remove the function foo: unset foo

- Remove the variables foo and bar: unset -v foo bar

- Remove the function my_func: unset -f my_func

urxvt
Rxvt-unicode.A customizable terminal emulator.

- Open a new urxvt window: urxvt

- Run in a specific directory: urxvt -cd path/to/directory

- Run a command in a new urxvt window: urxvt -e command

- Run a command and keep the window open: urxvt --hold -e command

- Run a command within the sh shell: urxvt -e sh -c command

uuidd
Daemon for generating UUIDs

More information: https://manned.org/uuidd.

- Generate a random UUID: uuidd --random

- Generate a bulk number of random UUIDs: uuidd --random --uuids number_of_uuids

- Generate a time-based UUID, based on the current time and MAC address of the system: uuidd --time No tldr entry for vcgen

watch
Execute a program periodically, showing output fullscreen.

- Repeatedly run a command and show the result: watch command

- Re-run a command every 60 seconds: watch -n 60 command

- Monitor the contents of a directory, highlighting differences as they appear: watch -d ls -l

wodim
Command (aliased as cdrecord on some systems) for recording data to CDs or DVDs.Some invocations of wodim can cause destructive actions, such as erasing all the data on a disc.

- Display optical drives available to wodim: wodim --devices

- Record ("burn") an audio-only disc: wodim dev=/dev/optical_drive -audio track*.cdaudio

- Burn a file to a disc, ejecting the disc once done (some recorders require this): wodim -eject dev=/dev/optical_drive -data file.iso

- Burn a file to the disc in an optical drive, potentially writing to multiple discs in succession: wodim -tao dev=/dev/optical_drive -data file.iso

xclip
X11 clipboard manipulation tool, similar to xsel.Handles the X primary and secondary selections, plus the system clipboard (Ctrl + C/Ctrl + V).

- Copy the output from a command to the X11 primary selection area (clipboard): echo 123 | xclip

- Copy the output from a command to a given X11 selection area: echo 123 | xclip -selection primary|secondary|clipboard

- Copy the output from a command to the system clipboard, using short notation: echo 123 | xclip -sel clip

- Copy the contents of a file into the system clipboard: xclip -sel clip input_file.txt

- Copy the contents of a PNG into the system clipboard (can be pasted in other programs correctly): xclip -sel clip -t image/png input_file.png

- Copy the user input in the console into the system clipboard: xclip -i

- Paste the contents of the X11 primary selection area to the console: xclip -o

- Paste the contents of the system clipboard to the console: xclip -o -sel clip

xeyes
Display eyes on the screen that follow the mouse cursor.

- Launch xeyes on the local machine's default display: xeyes

- Launch xeyes on a remote machine's display 0, screen 0: xeyes -display remote_host:0.0

xterm
A terminal emulator for the X Window System.

- Open the terminal with a title of Example: xterm -T Example

- Open the terminal in fullscreen mode: xterm -fullscreen

- Open the terminal with a dark blue background and yellow foreground (font color): xterm -bg darkblue -fg yellow

- Open the terminal with 100 characters per line and 35 lines, in screen position x=200px, y=20px: xterm -geometry 100x35+200+20

- Open the terminal using a Serif font and a font size equal to 20: xterm -fa 'Serif' -fs 20

zgrep
Grep text patterns from files within compressed file (equivalent to grep -Z).

- Grep a pattern in a compressed file (case-sensitive): zgrep pattern path/to/compressed/file

- Grep a pattern in a compressed file (case-insensitive): zgrep -i pattern path/to/compressed/file

- Output count of lines containing matched pattern in a compressed file: zgrep -c pattern path/to/compressed/file

- Display the lines which don’t have the pattern present (Invert the search function): zgrep -v pattern path/to/compressed/file

- Grep a compressed file for multiple patterns: zgrep -e "pattern_1" -e "pattern_2" path/to/compressed/file

- Use extended regular expressions (supporting ?, +,, and |): zgrep -E regular_expression path/to/file

- Print 3 lines of [C]ontext around, [B]efore, or [A]fter each match: zgrep -C|B|A 3 pattern path/to/compressed/file