prompt
stringlengths
4
230
command
stringlengths
1
231
Split terminals vertically
<Ctrl> + <Shift> + E
Open new tab
<Ctrl> + <Shift> + T
Automatically choose the right build script to build packages in a clean `chroot`
chroot
Manually build packages in a clean `chroot`
chroot
Escape the given text
systemd-escape {{text}}
Reverse the escaping process
systemd-escape --unescape {{text}}
Treat the given text as a path
systemd-escape --path {{text}}
Append the given suffix to the escaped text
systemd-escape --suffix {{suffix}} {{text}}
Use a template and inject the escaped text
systemd-escape --template {{template}} {{text}}
Fold lines in a fixed width
fold --width {{width}} {{path/to/file}}
Count width in bytes (the default is to count in columns)
fold --bytes --width {{width_in_bytes}} {{path/to/file}}
Break the line after the rightmost blank within the width limit
fold --spaces --width {{width}} {{path/to/file}}
Log in to the ProtonVPN account
protonvpn-cli login {{username}}
Start a kill switch upon connecting to ProtonVPN
protonvpn-cli killswitch --on
Connect to ProtonVPN interactively
protonvpn-cli connect
Display connection status
protonvpn-cli status
Block malware using ProtonVPN NetShield
protonvpn-cli netshield --malware
Disconnect from ProtonVPN
protonvpn-cli disconnect
Display the current ProtonVPN configuration
protonvpn-cli config --list
Display help for a subcommand
protonvpn-cli {{subcommand}} --help
List all mounted filesystems
findmnt
Search for a device
findmnt {{/dev/sdb1}}
Search for a mountpoint
findmnt {{/}}
Find filesystems in specific type
findmnt -t {{ext4}}
Find filesystems with specific label
findmnt LABEL={{BigStorage}}
Run the daemon with a configuration file
dbus-daemon --config-file {{path/to/file}}
Run the daemon with the standard per-login-session message bus configuration
dbus-daemon --session
Run the daemon with the standard systemwide message bus configuration
dbus-daemon --system
Set the address to listen on and override the configuration value for it
dbus-daemon --address {{address}}
Output the process ID to `stdout`
stdout
Force the message bus to write to the system log for messages
dbus-daemon --syslog
Show information for job
scontrol show job {{job_id}}
Suspend a comma-separated list of running jobs
scontrol suspend {{job_id1,job_id2,...}}
Resume a comma-separated list of suspended jobs
scontrol resume {{job_id1,job_id2,...}}
Hold a comma-separated list of queued jobs (Use `release` command to permit the jobs to be scheduled)
release
Release a comma-separated list of suspended job
scontrol release {{job_id1,job_id2,...}}
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}}
Print all nodes (sinks and sources) along with their IDs
pw-cli list-objects Node
Print information about an object with a specific ID
pw-cli info {{4}}
Print all objects' information
pw-cli info all
List all running units, ordered by the time they took to initialize
systemd-analyze blame
Print a tree of the time-critical chain of units
systemd-analyze critical-chain
Create an SVG file showing when each system service started, highlighting the time that they spent on initialization
systemd-analyze plot > {{path/to/file.svg}}
Plot a dependency graph and convert it to an SVG file
systemd-analyze dot | dot -T{{svg}} > {{path/to/file.svg}}
Show security scores of running units
systemd-analyze security
Rescan all storages and update disk sizes and unused disk images of a specific virtual machine
qm rescan {{vm_id}}
Perform a dry-run of rescan on a specific virtual machine and do not write any changes to configurations
qm rescan --dryrun {{true}} {{vm_id}}
Print action can be used to print any file on default run-mailcap tool
print {{filename}}
With `run-mailcap`
run-mailcap
Display information about all volume groups
sudo vgdisplay
Display information about volume group vg1
sudo vgdisplay {{vg1}}
Launch the GNOME Software GUI if it's not already running
gnome-software
Launch the GNOME Software GUI if it's not open, and navigate to the specified page
gnome-software --mode {{updates|updated|installed|overview}}
Launch the GNOME Software GUI if it's not open and view the details of the specified package
gnome-software --details {{package}}
Display the version
gnome-software --version
List detectable virtualization technologies
systemd-detect-virt --list
Detect virtualization, print the result and return a zero status code when running in a VM or a container, and a non-zero code otherwise
systemd-detect-virt
Silently check without printing anything
systemd-detect-virt --quiet
Only detect container virtualization
systemd-detect-virt --container
Only detect hardware virtualization
systemd-detect-virt --vm
Reinitialize the current terminal
reset
Display the terminal type instead
reset -q
View documentation for the original command
tldr ip-route-show
Run a specific program inside the `wine` environment
wine
Run a specific program in background
wine start {{command}}
Install/uninstall an MSI package
wine msiexec /{{i|x}} {{path/to/package.msi}}
Run `File Explorer`, `Notepad`, or `WordPad`
File Explorer`, `Notepad`, or `WordPad
Run `Registry Editor`, `Control Panel`, or `Task Manager`
Registry Editor`, `Control Panel`, or `Task Manager
Run the configuration tool
wine winecfg
Scan for available networks
wpa_cli scan
Show scan results
wpa_cli scan_results
Add a network
wpa_cli add_network {{number}}
Set a network's SSID
wpa_cli set_network {{number}} ssid "{{SSID}}"
Enable network
wpa_cli enable_network {{number}}
Save config
wpa_cli save_config
Generate a mirrorlist using the default settings
sudo pacman-mirrors --fasttrack
Get the status of the current mirrors
pacman-mirrors --status
Display the current branch
pacman-mirrors --get-branch
Switch to a different branch
sudo pacman-mirrors --api --set-branch {{stable|unstable|testing}}
Generate a mirrorlist, only using mirrors in your country
sudo pacman-mirrors --geoip
Set an environment variable
export {{VARIABLE}}={{value}}
Unset an environment variable
export -n {{VARIABLE}}
Export a function to child processes
export -f {{FUNCTION_NAME}}
Append a pathname to the environment variable `PATH`
PATH
Install BetterDiscord on Discord Stable
sudo betterdiscordctl install
Install BetterDiscord on Discord Canary
sudo betterdiscordctl --d-flavors canary install
Install BetterDiscord on Discord PTB
sudo betterdiscordctl --d-flavors ptb install
Install BetterDiscord on Discord installed with Flatpak
sudo betterdiscordctl --d-install flatpak install
Install BetterDiscord on Discord installed with Snap
sudo betterdiscordctl --d-install snap install
List all global environment variables describing the user's locale
locale
List all available locales
locale --all-locales
Display all available locales and the associated metadata
locale --all-locales --verbose
Display the current date format
locale date_fmt
Connect `stdin` to a port (relative to `/dev`) and optionally specify a baud rate (defaults to 9600)
stdin` to a port (relative to `/dev
Assume `stdin` is already connected to a `tty` and set a [t]imeout for the login
stdin` is already connected to a `tty
Assume the `tty` is [8]-bit, overriding the `TERM` environment variable set by `init`
tty` is [8]-bit, overriding the `TERM` environment variable set by `init
Skip the login ([n]o login) and invoke, as root, another [l]ogin program instead of `/bin/login`
/bin/login
Do not display the pre-login ([i]ssue) file (`/etc/issue` by default) before writing the login prompt
/etc/issue