4chars

acpi
Shows battery status or thermal information

More information: https://sourceforge.net/projects/acpiclient/files/acpiclient/.

- Show battery information: acpi

- Show thermal information: acpi -t

- Show cooling device information: acpi -c

- Show thermal information in Fahrenheit: acpi -tf

- Show all information: acpi -V

- Extract information from /proc instead of /sys: acpi -p

beep
A utility to beep the PC speaker

More information: https://github.com/spkr-beep/beep.

- Play a beep: beep

- Play a beep that repeats: beep -r repetitions

- Play a beep at a specified frequency (Hz) and duration (milliseconds): beep -f frequency -l duration

- Play each new frequency and duration as a distinct beep: beep -f frequency -l duration -n -f frequency -l duration

- Play the C major scale: beep -f 262 -n -f 294 -n -f 330 -n -f 349 -n -f 392 -n -f 440 -n -f 494 -n -f 523

bmon
Monitor bandwidth and capture network related statistics

More information: https://github.com/tgraf/bmon.

- Display the list of all the interfaces: bmon -a

- Display data transfer rates in bits per second: bmon -b

- Set policy to define which network interface(s) is/are displayed: bmon -p interface_1,interface_2,interface_3

- Set interval (in seconds) in which rate per counter is calculated: bmon -R 2.0

calc
An interactive arbitrary-precision calculator on the terminal

More information: https://github.com/lcn2/calc.

- Start calc in interactive mode: calc

- Perform a calculation in non-interactive mode: calc -p '85 * (36 / 4)'

ceph
A unified storage system

More information: https://ceph.io.

- Check cluster health status: ceph status

- Check cluster usage stats: ceph df

- Get the statistics for the placement groups in a cluster: ceph pg dump --format plain

- Create a storage pool: ceph osd pool create pool_name page_number

- Delete a storage pool: ceph osd pool delete pool_name

- Rename a storage pool: ceph osd pool rename current_name new_name

- Self-repair pool storage: ceph pg repair pool_name

cewl
URL spidering tool for making a cracking wordlist from web content

More information: https://digi.ninja/projects/cewl.php.

- Create a wordlist file from the given URL up to 2 links depth: cewl --depth 2 --write path/to/wordlist.txt url

- Output an alphanumeric wordlist from the given URL with words of minimum 5 characters: cewl --with-numbers --min_word_length 5 url

- Output a wordlist from the given URL in debug mode including email addresses: cewl --debug --email url

- Output a wordlist from the given URL using HTTP Basic or Digest authentication: cewl --auth_type basic|digest --auth_user username --auth_pass password url

- Output a wordlist from the given URL through a proxy: cewl --proxy_host host --proxy_port port url

chfn
Update finger info for a user

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

- Update a user's "Name" field in the output of finger: chfn -f new_display_name username

- Update a user's "Office Room Number" field for the output of finger: chfn -o new_office_room_number username

- Update a user's "Office Phone Number" field for the output of finger: chfn -p new_office_telephone_number username

- Update a user's "Home Phone Number" field for the output of finger: chfn -h new_home_telephone_number username

chrt
Manipulate the real-time attributes of a process

More information: https://man7.org/linux/man-pages/man1/chrt.1.html.

- Display attributes of a process: chrt --pid PID

- Display attributes of all threads of a process: chrt --all-tasks --pid PID

- Display the min/max priority values that can be used with chrt: chrt --max

- Set the scheduling policy for a process: chrt --pid PID --deadline|idle|batch|rr|fifo|other

cmus
Command-line Music Player.Use arrow keys to navigate,  to select, and numbers 1-8 switch between different views

More information: https://cmus.github.io.

- Open cmus into the specified directory (this will become your new working directory): cmus path/to/directory

- Add file/directory to library: :add path/to/file_or_directory

- Pause/unpause current song: c

- Toggle shuffle mode on/off: s

- Quit cmus: q

cuyo
Tetris like game

More information: https://www.karimmi.de/cuyo/.

- Start a new game: cuyo

- Navigate the piece horizontally: A|D OR Left|Right arrow key

- Turn the piece: W|Up arrow key

- Hard drop the piece: S|Down arrow key

dget
Download Debian packages

More information: https://manpages.debian.org/dget.

- Download a binary package: dget package_name

- Download and extract a package source from its .dsc file: dget http://deb.debian.org/debian/pool/main/h/haskell-tldr/haskell-tldr_0.4.0-2.dsc

- Download a package source tarball from its .dsc file but don't extract it: dget -d http://deb.debian.org/debian/pool/main/h/haskell-tldr/haskell-tldr_0.4.0-2.dsc

dkms
A framework that allows for dynamic building of kernel modules

More information: https://github.com/dell/dkms.

- List currently installed modules: dkms status

- Rebuild all modules for the currently running kernel: dkms autoinstall

- Install version 1.2.1 of the acpi_call module for the currently running kernel: dkms install -m acpi_call -v 1.2.1

- Remove version 1.2.1 of the acpi_call module from all kernels: dkms remove -m acpi_call -v 1.2.1 --all

dpkg
Debian package manager

More information: https://manpages.debian.org/buster/dpkg/dpkg.1.en.html.

- Install a package: dpkg -i path/to/file.deb

- Remove a package: dpkg -r package_name

- List installed packages: dpkg -l pattern

- List a package's contents: dpkg -L package_name

- List contents of a local package file: dpkg -c path/to/file.deb

- Find out which package owns a file: dpkg -S filename

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

More information: https://www.computerhope.com/unix/uedit.htm.

- Edit action can be used to view any file on default mailcap explorer: edit filename

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

eval
Execute arguments as a single command in the current shell and return its result

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

- Call echo with the "foo" argument: eval "echo foo"

- Set a variable in the current shell: eval "foo=bar"

exif
Show and change EXIF information in JPEG files

More information: https://github.com/libexif/exif/.

- Show all recognized EXIF information in an image: exif path/to/image.jpg

- Show a table listing known EXIF tags and whether each one exists in an image: exif --list-tags --no-fixup image.jpg

- Extract the image thumbnail into the file thumbnail.jpg: exif --extract-thumbnail --output=thumbnail.jpg image.jpg

- Show the raw contents of the "Model" tag in the given image: exif --ifd=0 --tag=Model --machine-readable image.jpg

- Change the value of the "Artist" tag to John Smith and save to new.jpg: exif --output=new.jpg --ifd=0 --tag="Artist" --set-value="John Smith" --no-fixup image.jpg

ffuf
Subdomain and directory discovery tool

More information: https://github.com/ffuf/ffuf.

- Discover directories using a [w]ordlist on a target [u]rl with [c]olorized and [v]erbose ouput: ffuf -w path/to/wordlist -u https://target/FUZZ -c -v

- Fuzz host-[H]eaders with a host file on a traget website and [m]atch HTTP 200 [c]ode responses: ffuf -w hosts.txt -u https://example.org -H "Host: FUZZ" -mc 200

- Discover directories using a [w]ordlist on a target website with a max individual job time of 60 seconds and recursion discovery depth of 2 levels: ffuf -w path/to/wordlist -u https://target/FUZZ -maxtime-job 60 -recursion -recursion-depth 2

- Fuzz GET parameter on a target website and [f]ilter out message [s]ize response of 4242 bytes: ffuf -w path/to/param_names.txt -u https://target/script.php?FUZZ=test_value -fs 4242

- Fuzz POST method with POST [d]ata of password on a target website and [f]ilter out HTTP response [c]ode 401: ffuf -w path/to/postdata.txt -X POST -d "username=admin\&password=FUZZ" -u https://target/login.php -fc 401

- Discover subdomains using a subdoomain list on a target website: ffuf -w subdomains.txt -u https://website.com -H "Host: FUZZ.website.com"

file
Determine file type

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

- Give a description of the type of the specified file. Works fine for files with no file extension: file filename

- Look inside a zipped file and determine the file type(s) inside: file -z foo.zip

- Allow file to work with special or device files: file -s filename

- Don't stop at first file type match; keep going until the end of the file: file -k filename

- Determine the mime encoding type of a file: file -i filename

free
Display amount of free and used memory in the system

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

- Display system memory: free

- Display memory in Bytes/KB/MB/GB: free -b|k|m|g

- Display memory in human-readable units: free -h

- Refresh the output every 2 seconds: free -s 2

fsck
Check the integrity of a filesystem or repair it. The filesystem should be unmounted at the time the command is run

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

- Check filesystem /dev/sdX, reporting any damaged blocks: fsck /dev/sdX

- Check filesystem /dev/sdX, reporting any damaged blocks and interactively letting the user choose to repair each one: fsck -r /dev/sdX

- Check filesystem /dev/sdX, reporting any damaged blocks and automatically repairing them: fsck -a /dev/sdX

gcov
Code coverage analysis and profiling tool that discovers untested parts of a program.Also displays a copy of source code annotated with execution frequencies of code segments

More information: https://gcc.gnu.org/onlinedocs/gcc/Invoking-Gcov.html.

- Generate a coverage report named file.cpp.gcov: gcov path/to/file.cpp

- Write individual execution counts for every basic block: gcov --all-blocks path/to/file.cpp

- Write branch frequencies to the output file and print summary information to stdout as a percentage: gcov --branch-probabilities path/to/file.cpp

- Write branch frequencies as the number of branches taken, rather than the percentage: gcov --branch-counts path/to/file.cpp

- Do not create a gcov output file: gcov --no-output path/to/file.cpp

- Write file level as well as function level summaries: gcov --function-summaries path/to/file.cpp

halt
Halt the system

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

- Halt the system: halt

- Power off the system (same as poweroff): halt --poweroff

- Reboot the system (same as reboot): halt --reboot

- Halt immediately without contacting the system manager: halt --force --force

- Write the wtmp shutdown entry without halting the system: halt --wtmp-only

ifup
Tool used to enable network interfaces

More information: https://manpages.debian.org/latest/ifupdown/ifup.8.html.

- Enable interface eth0: ifup eth0

- Enable all the interfaces defined with "auto" in /etc/network/interfaces: ifup -a

imgp
Command-line image resizer and rotator for JPEGs and PNGs.

- Convert single images and/or whole directories containing valid image formats: imgp -x 1366x1000 path/to/directory path/to/file

- Scale an image by 75% and overwrite the source image to a target resolution: imgp -x 75 -w path/to/file

- Rotate an image clockwise by 90 degrees: imgp -o 90 path/to/file

inxi
Print a summary of system information and resources for debugging purposes.

- Print a summary of CPU, memory, hard drive and kernel information: inxi

- Print a full description of CPU, memory, disk, network and process information: inxi -Fz

- Print information about the distribution's repository: inxi -r

jobs
Display status of jobs in the current session.

- Show status of all jobs: jobs

- Show status of a particular job: jobs %job_id

- Show status and process IDs of all jobs: jobs -l

- Show process IDs of all jobs: jobs -p

lftp
Sophisticated file transfer program

More information: https://lftp.yar.ru/lftp-man.html.

- Connect to an FTP server: lftp ftp.example.com

- Download multiple files (glob expression): mget path/to/*.png

- Upload multiple files (glob expression): mput path/to/*.zip

- Delete multiple files on the remote server: mrm path/to/*.txt

- Rename a file on the remote server: mv original_filename new_filename

- Download or update an entire directory: mirror path/to/remote_dir path/to/local_output_dir

- Upload or update an entire directory: mirror -R path/to/local_dir path/to/remote_output_dir

line
Read a single line of input

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

- Read input: line

lshw
List detailed information about hardware configurations as root user

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

- Launch the GUI: sudo lshw -X

- List all hardware in tabular format: sudo lshw -short

- List all disks and storage controllers in tabular format: sudo lshw -class disk -class storage -short

- Save all network interfaces to an HTML file: sudo lshw -class network -html > interfaces.html

maim
Screenshot utility

More information: https://github.com/naelstrof/maim.

- Capture a screenshot and save it to the given path: maim path/to/screenshot.png

- Capture a screenshot of the selected region: maim --select path/to/screenshot.png

- Capture a screenshot of the selected region and save it in the clipboard (requires xclip): maim --select | xclip -selection clipboard -target image/png

- Capture a screenshot of the current active window (requires xdotool): maim --window $(xdotool getactivewindow) path/to/screenshot.png

mkfs
Build a Linux filesystem on a hard disk partition.This command is deprecated in favor of filesystem specific mkfs. utils

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

- Build a Linux ext2 filesystem on a partition: mkfs path/to/partition

- Build a filesystem of a specified type: mkfs -t ext4 path/to/partition

- Build a filesystem of a specified type and check for bad blocks: mkfs -c -t ntfs path/to/partition

mocp
Music on Console (MOC) audio player

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

- Launch the MOC terminal UI: mocp

- Launch the MOC terminal UI in a specific directory: mocp path/to/directory

- Start the MOC server in the background, without launching the MOC terminal UI: mocp --server

- Add a specific song to the play queue while MOC is in the background: mocp --enqueue path/to/audio_file

- Add songs recursively to the play queue while MOC is in the background: mocp --append path/to/directory

- Clear the play queue while MOC is in the background: mocp --clear

- Play or stop the currently queued song while MOC is in the background: mocp --play|stop

- Stop the MOC server while it's in the background: mocp --exit

mono
Runtime for the .NET Framework

More information: https://www.mono-project.com/docs/.

- Run a .NET assembly in debug mode: mono --debug path/to/program.exe

- Run a .NET assembly: mono path/to/program.exe

mons
A tool to quickly manage two displays

More information: https://github.com/Ventto/mons.

- Enable only the primary monitor: mons -o

- Enable only the secondary monitor: mons -s

- Duplicate the primary monitor onto the secondary monitor, using the resolution of the primary monitor: mons -d

- Mirror the primary monitor onto the secondary monitor, using the resolution of the secondary monitor: mons -m

mssh
GTK+ based SSH client for interacting with multiple SSH servers at once

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

- Open a new window and connect to multiple SSH servers: mssh user@host1 user@host2 ...

- Open a new window and connect to a group of servers predefined in ~/.mssh_clusters: mssh --alias alias_name

ncat
Use the normal cat functionality over networks.

- Listen for input on the specified port and write it to the specified file: ncat -l port > path/to/file

- Accept multiple connections and keep ncat open after they have been closed: ncat -lk port

- Write output of specified file to the specified host on the specified port: ncat address port < path/to/file

ncdu
Disk usage analyzer with an ncurses interface.

- Analyze the current working directory: ncdu

- Analyze a given directory: ncdu path/to/directory

- Save results to a file: ncdu -o path/to/file

- Exclude files that match a pattern, argument can be given multiple times to add

More patterns: ncdu --exclude '*.txt'

nemo
File manager and graphical shell for Cinnamon

More information: https://github.com/linuxmint/nemo.

- Open a new window showing the user's home directory: nemo

- Open a new window showing the current directory: nemo.

- Close all open nemo windows: nemo --quit

nmon
A system administrator, tuner, and benchmark tool.

- Start nmon: nmon

- Save records to file ("-s 300 -c 288" by default): nmon -f

- Save records to file with a total of 240 measurements, by taking 30 seconds between each measurement: nmon -f -s 30 -c 240

ntpq
Query the Network Time Protocol (NTP) daemon

More information: https://www.eecis.udel.edu/~mills/ntp/html/ntpq.html.

- Start ntpq in interactive mode: ntpq --interactive

- Print a list of NTP peers: ntpq --peers

- Print a list of NTP peers without resolving hostnames from IP addresses: ntpq --numeric --peers

- Use ntpq in debugging mode: ntpq --debug-level

- Print NTP system variables values: ntpq --command=rv

opkg
A lightweight package manager used to install OpenWrt packages.

- Install a package: opkg install package

- Remove a package: opkg remove package

- Update the list of available packages: opkg update

- Upgrade all the installed packages: opkg upgrade

- Upgrade one or

More specific package(s): opkg upgrade package(s)

- Display information for a specific package: opkg info package

- List all the available packages: opkg list

paru
An AUR helper and pacman wrapper

More information: https://github.com/Morganamilo/paru.

- Interactively search for and install a package: paru package_name_or_seach_term

- Synchronize and update all packages: paru

- Upgrade AUR packages: paru -Sua

- Get information about a package: paru -Si package_name

- Download PKGBUILD and other package source files from the AUR or ABS: paru --getpkgbuild package_name

- Display the PKGBUILD file of a package: paru --getpkgbuild --print package_name

perf
Framework for Linux performance counter measurements.

- Display basic performance counter stats for a command: perf stat gcc hello.c

- Display system-wide real-time performance counter profile: sudo perf top

- Run a command and record its profile into perf.data: sudo perf record command

- Read perf.data (created by perf record) and display the profile: sudo perf report

phar
Create, update or extract PHP archives (PHAR).

- Add space-separated files or directories to a Phar file: phar add -f path/to/phar_file files_or_directories

- Display the contents of a Phar file: phar list -f path/to/phar_file

- Delete the specified file or directory from a Phar file: phar delete -f path/to/phar_file -e file_or_directory

- Display full usage information and available hashing/compression algorithms: phar help

- Compress or uncompress files and directories in a Phar file: phar compress -f path/to/phar_file -c algorithm

- Get information about a Phar file: phar info -f path/to/phar_file

- Sign a Phar file with a specific hash algorithm: phar sign -f path/to/phar_file -h algorithm

- Sign a Phar file with an OpenSSL private key: phar sign -f path/to/phar_file -h openssl -y path/to/private_key

pwdx
Print working directory of a process.

- Print current working directory of a process: pwdx process_id

qsub
Submits a script to the queue management system TORQUE.

- Submit a script with default settings (depends on TORQUE settings): qsub script.sh

- Submit a script with a specified wallclock runtime limit of 1 hour, 2 minutes and 3 seconds: qsub -l walltime=1:2:3 script.sh

- Submit a script that is executed on 2 nodes using 4 cores per node: qsub -l nodes=2:ppn=4 script.sh

- Submit a script to a specific queue. Note that different queues can have different maximum and minimum runtime limits: qsub -q queue_name script.sh

rofi
An application launcher and window switcher

More information: https://github.com/davatorium/rofi.

- Show the list of apps: rofi -show drun

- Show the list of all commands: rofi -show run

- Switch between windows: rofi -show window

- Pipe a list of items to stdin and print the selected item to stdout: printf "Choice1\nChoice2\nChoice3" | rofi -dmenu

slop
Get a selection of the screen

More information: https://github.com/naelstrof/slop.

- Wait for the user to make a selection and output its geometry to standard output: slop

- Double click, rather than click and drag, to draw a selection: slop -D

- Highlight the selection rather than outlining it: slop -l

- Specify the output format: slop -f format_string

- Specify the selection rectangle's color: slop -c red,green,blue,alpha

snap
Tool for managing the "snap" self-contained software packages.Similar to what apt is for ".deb".

- Search for a package: snap find package_name

- Install a package: snap install package_name

- Update a package: snap refresh package_name

- Update a package to another channel (track, risk, or branch): snap refresh package_name --channel=channel

- Update all packages: snap refresh

- Display basic information about installed snap software: snap list

- Uninstall a package: snap remove package_name

- Check for recent snap changes in the system: snap changes

srun
Create an interactive slurm job or connect to an existing job

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

- Submit a basic interactive job: srun --pty /bin/bash

- Submit an interactive job with different attributes: srun --ntasks-per-node=num_cores --mem-per-cpu=memory_MB --pty /bin/bash

- Connect to a worker node with a job running: srun --jobid=job_id --pty /bin/bash

sxiv
Simple X Image Viewer

More information: https://github.com/muennich/sxiv.

- Open an image: sxiv path/to/file

- Open an image in fullscreen mode: sxiv -f path/to/file

- Open a newline-separated list of images, reading filenames from standard input: echo path/to/file | sxiv -i

- Open a space-separated list of images as a slideshow: sxiv -S seconds path/to/file

- Open a space-separated list of images in thumbnail mode: sxiv -t path/to/file

tomb
Manage encrypted storage directories that can be safely transported and hidden in a filesystem

More information: https://www.dyne.org/software/tomb/.

- Create a new tomb with an initial size of 100 MB: tomb dig -s 100 encrypted_directory.tomb

- Create a new key file that can be used to lock a tomb; user will be prompted for a password for the key: tomb forge encrypted_directory.tomb.key

- Forcefully create a new key, even if the tomb isn't allowing key forging (due to swap): tomb forge encrypted_directory.tomb.key -f

- Initialize and lock an empty tomb using a key made with forge: tomb lock encrypted_directory.tomb -k encrypted_directory.tomb.key

- Mount a tomb (by default in /media) using its key, making it usable as a regular filesystem directory: tomb open encrypted_directory.tomb -k encrypted_directory.tomb.key

- Close a tomb (fails if the tomb is being used by a process): tomb close encrypted_directory.tomb

- Forcefully close all open tombs, killing any applications using them: tomb slam all

- List all open tombs: tomb list

trap
Automatically execute commands after receiving signals by processes or the operating system.Can be used to perform cleanups for interruptions by the user or other actions

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

- List available signals to set traps for: trap -l

- List active traps for the current shell: trap -p

- Set a trap to execute commands when one or

More signals are detected: trap 'echo "Caught signal SIGHUP"' SIGHUP

- Remove active traps: trap - SIGHUP SIGINT

tree
Show the contents of the current directory as a tree

More information: http://mama.indstate.edu/users/ice/tree/.

- Print files and directories up to 'num' levels of depth (where 1 means the current directory): tree -L num

- Print directories only: tree -d

- Print hidden files too with colorization on: tree -a -C

- Print the tree without indentation lines, showing the full path instead (use -N to not escape non-printable characters): tree -i -f

- Print the size of each file and the cumulative size of each directory, in human-readable format: tree -s -h --du

- Print files within the tree hierarchy, using a wildcard (glob) pattern, and pruning out directories that don't contain matching files: tree -P '*.txt' --prune

- Print directories within the tree hierarchy, using the wildcard (glob) pattern, and pruning out directories that aren't ancestors of the wanted one: tree -P directory_name --matchdirs --prune

- Print the tree ignoring the given directories: tree -I 'directory_name1|directory_name2'

tuxi
A CLI tool that scrapes Google search results and SERPs that provides instant and concise answers

More information: https://github.com/Bugswriter/tuxi.

- Make a search using Google: tuxi search_terms

- Display the search results in [r]aw format (no pretty output, no colors): tuxi -r search_terms

- Display only search results (silences "Did you mean?", greetings and usage): tuxi -q search_terms

- Display help: tuxi -h

uuid
Generate and decode Universally Unique Identifiers (UUID).See also uuidgen

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

- Generate a UUIDv1 (based on time and system's hardware address, if present): uuid

- Generate a UUIDv4 (based on random data): uuid -v 4

- Generate multiple UUIDv4 identifiers at once: uuid -v 4 -n number_of_uuids

- Generate a UUIDv4 and specify the output format: uuid -v 4 -F BIN|STR|SIV

- Generate a UUIDv4 and write the output to a file: uuid -v 4 -o path/to/file

- Generate a UUIDv5 (based on the supplied object name) with a specified namespace prefix: uuid -v 5 ns:DNS|URL|OID|X500 object_name

- Decode a given UUID: uuid -d uuid

vipw
Edit the password file

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

- Edit the password file: vipw

- Display the current version of vipw: vipw --version

vpnc
A VPN client for the Cisco 3000 VPN Concentrator.

- Connect with a defined configuration file: sudo vpnc config_file

- Terminate the previously created connection: sudo vpnc-disconnect

vrms
Report non-free packages installed on Debian-based OSes

More information: https://debian.pages.debian.net/vrms/.

- List non-free and contrib packages (and their description): vrms

- Only output the package names: vrms --sparse

wall
Write a message on the terminals of users currently logged in.

- Send a message: echo "message" | wall

- Send a message from a file: wall file

- Send a message with timeout (default 300): wall -t seconds file

wine
Run Windows programs on Unix

More information: https://wiki.winehq.org/.

- Run ipconfig.exe program: wine ipconfig /all

- Run cmd.exe in background: wine start cmd

- Run Windows-like Package Manager: wine uninstaller

- Install MSI packages: wine msiexec /i package

xbps
The X Binary Package System (or xbps) is the binary package system used by Void Linux

More information: https://github.com/void-linux/xbps.

- Install packages and synchronize them with the remote repository: xbps-install --synchronize package_name1 package_name2

- Search for a package in the remote repository: xbps-query --repository -s package_name

- Remove a package, leaving all of its dependencies installed: xbps-remove package_name

- Remove a package and all of its dependencies recursively that are not required by other packages: xbps-remove --recursive package_name

- Synchronize your repository databases and update your system and dependencies: xbps-install --synchronize -u

- Remove packages that were installed as dependencies and aren't currently needed: xbps-remove --remove-orphans

- Remove obsolete packages from the cache: xbps-remove --clean-cache

xman
Manual page viewer for X Window System.

- Start xman in three-button window: xman

- Open the manual page output stored in a given file: xman -helpfile filename

- Show both manual page and directory: xman -bothshown

xsel
X11 selection and clipboard manipulation tool.

- Use a command's output as input of the clip[b]oard (equivalent to Ctrl + C): echo 123 | xsel -ib

- Use the contents of a file as input of the clipboard: cat file | xsel -ib

- Output the clipboard's contents into the terminal (equivalent to Ctrl + V): xsel -ob

- Output the clipboard's contents into a file: xsel -ob > file

- Clear the clipboard: xsel -cb

- Output the X11 primary selection's contents into the terminal (equivalent to a mouse middle-click): xsel -op

yank
Read input from stdin and display a selection interface that allows a field to be selected and copied to the clipboard.

- Yank using the default delimiters (\f, \n, \r, \s, \t): sudo dmesg | yank

- Yank an entire line: sudo dmesg | yank -l

- Yank using a specific delimiter: echo hello=world | yank -d =

- Only yank fields matching a specific pattern: ps ux | yank -g "[0-9]+"

zile
Zile is a lightweight clone of the Emacs text editor

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

- Start a buffer for temporary notes, which won't be saved: zile

- Open a file: zile path/to/file

- Save a file: Ctrl + X, Ctrl + S

- Quit: Ctrl + X, Ctrl + C

- Open a file at a specified line number: zile +line_number path/to/file

- Undo changes: Ctrl + X, U