mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 09:50:09 +00:00
Update cheatsheets
This commit is contained in:
@@ -18,9 +18,9 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`agetty {{[-t|--timeout]}} {{timeout_in_seconds}} -`
|
||||
|
||||
- Assume the `tty` is [8]-bit, overriding the `TERM` environment variable set by `init`:
|
||||
- Assume the `tty` is 8-bit, overriding the `TERM` environment variable set by `init`:
|
||||
|
||||
`agetty -8 - {{term_var}}`
|
||||
`agetty {{[-8|--8bits]}} - {{term_var}}`
|
||||
|
||||
- Skip the login (no login) and invoke, as root, another login program instead of `/bin/login`:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Manage subsystems in `apx`.
|
||||
> Subsystems are containers that can be created based on pre-existing stacks.
|
||||
> More information: <https://github.com/Vanilla-OS/apx>.
|
||||
> More information: <https://docs.vanillaos.org/docs/en/apx-manpage#subsystems>.
|
||||
|
||||
- Interactively create a new subsystem:
|
||||
|
||||
@@ -19,16 +19,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Reset a specific subsystem to its initial state:
|
||||
|
||||
`apx subsystems reset --name {{string}}`
|
||||
`apx subsystems reset {{[-n|--name]}} {{string}}`
|
||||
|
||||
- [f]orce reset a specific subsystem:
|
||||
- Force reset a specific subsystem:
|
||||
|
||||
`apx subsystems reset --name {{string}} --force`
|
||||
`apx subsystems reset {{[-n|--name]}} {{string}} {{[-f|--force]}}`
|
||||
|
||||
- Remove a specific subsystem:
|
||||
|
||||
`apx subsystems rm --name {{string}}`
|
||||
`apx subsystems rm {{[-n|--name]}} {{string}}`
|
||||
|
||||
- [f]orce remove a specific subsystem:
|
||||
- Force remove a specific subsystem:
|
||||
|
||||
`apx subsystems rm --name {{string}} --force`
|
||||
`apx subsystems rm {{[-n|--name]}} {{string}} {{[-f|--force]}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# arithmetic
|
||||
|
||||
> Quiz on simple arithmetic problems.
|
||||
> More information: <https://manned.org/arithmetic.6>.
|
||||
> More information: <https://manned.org/arithmetic>.
|
||||
|
||||
- Start an arithmetic quiz:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# arpspoof
|
||||
|
||||
> Forge ARP replies to intercept packets.
|
||||
> More information: <https://monkey.org/~dugsong/dsniff>.
|
||||
> More information: <https://manned.org/arpspoof>.
|
||||
|
||||
- Poison all hosts to intercept packets on [i]nterface for the host:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# asterisk
|
||||
|
||||
> Run and manage telephone and exchange (phone) server instances.
|
||||
> More information: <https://docs.asterisk.org>.
|
||||
> More information: <https://docs.asterisk.org/Operation/>.
|
||||
|
||||
- [r]econnect to a running server, and turn on logging 3 levels of [v]erbosity:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# atool
|
||||
|
||||
> Manage archives of various formats.
|
||||
> More information: <https://manned.org/man/atool>.
|
||||
> More information: <https://manned.org/atool>.
|
||||
|
||||
- List files in a Zip archive:
|
||||
|
||||
|
||||
@@ -12,14 +12,14 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`sudo autorecon {{host_or_ip1,host_or_ip2,...}}`
|
||||
|
||||
- Perform reconnaissance on [t]arget(s) from a file:
|
||||
- Perform reconnaissance on target(s) from a file:
|
||||
|
||||
`sudo autorecon --target-file {{path/to/file}}`
|
||||
`sudo autorecon {{[-t|--target-file]}} {{path/to/file}}`
|
||||
|
||||
- [o]utput results to a different directory:
|
||||
- Output results to a different directory:
|
||||
|
||||
`sudo autorecon --output {{path/to/results}} {{host_or_ip1,host_or_ip2,...}}`
|
||||
`sudo autorecon {{[-o|--output]}} {{path/to/results}} {{host_or_ip1,host_or_ip2,...}}`
|
||||
|
||||
- Limit scanning to specific [p]orts and protocols (`T` for TCP, `U` for UDP, `B` for both):
|
||||
- Limit scanning to specific ports and protocols (`T` for TCP, `U` for UDP, `B` for both):
|
||||
|
||||
`sudo autorecon --ports {{T:21-25,80,443,U:53,B:123}} {{host_or_ip1,host_or_ip2,...}}`
|
||||
`sudo autorecon {{[-p|--ports]}} {{T:21-25,80,443,U:53,B:123}} {{host_or_ip1,host_or_ip2,...}}`
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Burrows-Wheeler Alignment tool.
|
||||
> Short, low-divergent DNA sequences mapper against a large reference genome, such as the human genome.
|
||||
> More information: <https://github.com/lh3/bwa>.
|
||||
> More information: <https://manned.org/bwa>.
|
||||
|
||||
- Index the reference genome:
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`cat - > {{path/to/file}}`
|
||||
|
||||
- [n]umber all output lines:
|
||||
- Number all output lines:
|
||||
|
||||
`cat {{[-n|--number]}} {{path/to/file}}`
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# cdrdao
|
||||
|
||||
> Read and write CDs in disc-at-once mode.
|
||||
> More information: <https://manned.org/man/cdrdao>.
|
||||
> More information: <https://manned.org/cdrdao>.
|
||||
|
||||
- Read a CD and write its contents to a file:
|
||||
|
||||
|
||||
@@ -10,20 +10,20 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- List CPUs:
|
||||
|
||||
`sudo cpupower --cpu {{all}} info`
|
||||
`sudo cpupower {{[-c|--cpu]}} {{all}} info`
|
||||
|
||||
- Print information about all cores:
|
||||
|
||||
`sudo cpupower --cpu {{all}} info`
|
||||
`sudo cpupower {{[-c|--cpu]}} {{all}} info`
|
||||
|
||||
- Set all CPUs to a power-saving frequency governor:
|
||||
|
||||
`sudo cpupower --cpu {{all}} frequency-set --governor {{powersave}}`
|
||||
`sudo cpupower {{[-c|--cpu]}} {{all}} frequency-set --governor {{powersave}}`
|
||||
|
||||
- Print CPU 0's available frequency [g]overnors:
|
||||
- Print CPU 0's available frequency governors:
|
||||
|
||||
`sudo cpupower --cpu {{0}} frequency-info g | grep "analyzing\|governors"`
|
||||
`sudo cpupower {{[-c|--cpu]}} {{0}} frequency-info {{[-g|--governors]}} | grep "analyzing\|governors"`
|
||||
|
||||
- Print CPU 4's frequency from the hardware, in a human-readable format:
|
||||
|
||||
`sudo cpupower --cpu {{4}} frequency-info --hwfreq --human`
|
||||
`sudo cpupower {{[-c|--cpu]}} {{4}} frequency-info {{[-w|--hwfreq]}} {{[-m|--human]}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# cryptcat
|
||||
|
||||
> Cryptcat is netcat with encryption capabilities.
|
||||
> More information: <https://cryptcat.sourceforge.net>.
|
||||
> More information: <https://manned.org/cryptcat>.
|
||||
|
||||
- [l]isten on a specified [p]ort and print any data received:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# dbclient
|
||||
|
||||
> Lightweight Dropbear Secure Shell client.
|
||||
> More information: <https://manned.org/dbclient.1>.
|
||||
> More information: <https://manned.org/dbclient>.
|
||||
|
||||
- Connect to a remote host:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# dnf group
|
||||
|
||||
> Manage virtual collections of packages on Fedora-based systems.
|
||||
> More information: <https://manned.org/man/dnf-group>.
|
||||
> More information: <https://manned.org/dnf-group>.
|
||||
|
||||
- List DNF groups, showing installed and uninstalled status in a table:
|
||||
|
||||
|
||||
@@ -8,22 +8,22 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Show which installed packages occupy the most space on `apt` based systems.
|
||||
> More information: <https://manned.org/dpigs>.
|
||||
|
||||
- Display the N largest packages on the system:
|
||||
- Display the `n` largest packages on the system:
|
||||
|
||||
`dpigs --lines={{N}}`
|
||||
`dpigs {{[-n|--lines]}} {{n}}`
|
||||
|
||||
- Use the specified file instead of the default dpkg [s]tatus file:
|
||||
- Use the specified file instead of the default dpkg status file:
|
||||
|
||||
`dpigs --status={{path/to/file}}`
|
||||
`dpigs {{[-s|--status]}} {{path/to/file}}`
|
||||
|
||||
- Display the largest [S]ource packages of binary packages installed on the system:
|
||||
- Display the largest source packages of binary packages installed on the system:
|
||||
|
||||
`dpigs --source`
|
||||
`dpigs {{[-S|--source]}}`
|
||||
|
||||
- Display package sizes in [H]uman-readable format:
|
||||
- Display package sizes in human-readable format:
|
||||
|
||||
`dpigs --human-readable`
|
||||
`dpigs {{[-H|--human-readable]}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`dpigs --help`
|
||||
`dpigs {{[-h|--help]}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# dropbearkey
|
||||
|
||||
> Generate SSH keys in Dropbear format.
|
||||
> More information: <https://manned.org/dropbearkey.1>.
|
||||
> More information: <https://manned.org/dropbearkey>.
|
||||
|
||||
- Generate an SSH key of [t]ype ed25519 and write it to key [f]ile:
|
||||
|
||||
|
||||
@@ -24,4 +24,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Limit I/O threads (for hashing and dedupe stage) and CPU threads (for duplicate extent finding stage):
|
||||
|
||||
`duperemove -r -d --hashfile={{path/to/hashfile}} --io-threads={{N}} --cpu-threads={{N}} {{path/to/directory}}`
|
||||
`duperemove -r -d --hashfile={{path/to/hashfile}} --io-threads={{n}} --cpu-threads={{n}} {{path/to/directory}}`
|
||||
|
||||
@@ -21,6 +21,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`esearch -db nuccore -query "{{insulin [PROT] AND rodents [ORGN]}}"`
|
||||
|
||||
- Display [h]elp:
|
||||
- Display help:
|
||||
|
||||
`esearch -h`
|
||||
`esearch {{[-h|-help]}}`
|
||||
|
||||
@@ -12,10 +12,10 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`getfacl {{path/to/file_or_directory}}`
|
||||
|
||||
- Display the file access control list with [n]umeric user and group IDs:
|
||||
- Display the file access control list with numeric user and group IDs:
|
||||
|
||||
`getfacl --numeric {{path/to/file_or_directory}}`
|
||||
`getfacl {{[-n|--numeric]}} {{path/to/file_or_directory}}`
|
||||
|
||||
- Display the file access control list with [t]abular output format:
|
||||
- Display the file access control list with tabular output format:
|
||||
|
||||
`getfacl --tabular {{path/to/file_or_directory}}`
|
||||
`getfacl {{[-t|--tabular]}} {{path/to/file_or_directory}}`
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Linux run level manager.
|
||||
> Requires the SYSVINIT compile-time option to be enabled if using systemd.
|
||||
> More information: <https://manned.org/man/init.8>.
|
||||
> More information: <https://manned.org/init.8>.
|
||||
|
||||
- Set the system to run a graphical environment:
|
||||
|
||||
|
||||
@@ -13,10 +13,10 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`sudo iptables-save`
|
||||
|
||||
- Print the `iptables` configuration of a specific [t]able:
|
||||
- Print the `iptables` configuration of a specific table:
|
||||
|
||||
`sudo iptables-save --table {{table}}`
|
||||
`sudo iptables-save {{[-t|--table]}} {{table}}`
|
||||
|
||||
- Save the `iptables` configuration to a [f]ile:
|
||||
- Save the `iptables` configuration to a file:
|
||||
|
||||
`sudo iptables-save --file {{path/to/file}}`
|
||||
`sudo iptables-save {{[-f|--file]}} {{path/to/file}}`
|
||||
|
||||
@@ -16,9 +16,9 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`journalctl --vacuum-time 2d`
|
||||
|
||||
- Show only the last N lines and follow new messages (like `tail -f` for traditional syslog):
|
||||
- Show only the last `n` lines and follow new messages (like `tail -f` for traditional syslog):
|
||||
|
||||
`journalctl {{[-n|--lines]}} {{N}} {{[-f|--follow]}}`
|
||||
`journalctl {{[-n|--lines]}} {{n}} {{[-f|--follow]}}`
|
||||
|
||||
- Show all messages by a specific unit:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# lldpctl
|
||||
|
||||
> Print link layer discovery protocol information.
|
||||
> More information: <https://manned.org/man/lldpctl>.
|
||||
> More information: <https://manned.org/lldpctl>.
|
||||
|
||||
- Start the lldp daemon:
|
||||
|
||||
|
||||
@@ -12,9 +12,9 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`logread`
|
||||
|
||||
- Print a specified number of messages:
|
||||
- Print `n` messages:
|
||||
|
||||
`logread -l {{N}}`
|
||||
`logread -l {{n}}`
|
||||
|
||||
- Filter messages by (Keyword/Regular Expression):
|
||||
|
||||
|
||||
@@ -17,13 +17,13 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`lsipc {{--shmems|--queues|--semaphores}}`
|
||||
|
||||
- Show full details on the resource with a specific [i]D:
|
||||
- Show full details on the resource with a specific ID:
|
||||
|
||||
`lsipc {{--shmems|--queues|--semaphores}} --id {{resource_id}}`
|
||||
`lsipc {{--shmems|--queues|--semaphores}} {{[-i|--id]}} {{resource_id}}`
|
||||
|
||||
- Print the given [o]utput columns (see all supported columns with `--help`):
|
||||
- Print the given output columns (see all supported columns with `--help`):
|
||||
|
||||
`lsipc --output {{KEY,ID,PERMS,SEND,STATUS,NSEMS,RESOURCE,...}}`
|
||||
`lsipc {{[-o|--output]}} {{KEY,ID,PERMS,SEND,STATUS,NSEMS,RESOURCE,...}}`
|
||||
|
||||
- Use [r]aw, [J]SON, [l]ist or [e]xport (key="value") format:
|
||||
|
||||
|
||||
@@ -10,24 +10,24 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- View the current and permanent MAC addresses of a interface:
|
||||
|
||||
`macchanger --show {{interface}}`
|
||||
`macchanger {{[-s|--show]}} {{interface}}`
|
||||
|
||||
- Set interface to a random MAC:
|
||||
|
||||
`macchanger --random {{interface}}`
|
||||
`macchanger {{[-r|--random]}} {{interface}}`
|
||||
|
||||
- Set an interface to a random MAC address, and pretend to be a [b]urned-[i]n-[a]ddress:
|
||||
|
||||
`macchanger --random --bia {{interface}}`
|
||||
`macchanger {{[-r|--random]}} {{[-b|--bia]}} {{interface}}`
|
||||
|
||||
- Set an interface to a specific MAC address:
|
||||
|
||||
`macchanger --mac {{XX:XX:XX:XX:XX:XX}} {{interface}}`
|
||||
`macchanger {{[-m|--mac]}} {{XX:XX:XX:XX:XX:XX}} {{interface}}`
|
||||
|
||||
- Print the identifications (the first three bytes of a MAC address) of all known vendors:
|
||||
|
||||
`macchanger --list`
|
||||
`macchanger {{[-l|--list]}}`
|
||||
|
||||
- Reset an interface to its permanent hardware MAC address:
|
||||
|
||||
`macchanger --permanent {{interface}}`
|
||||
`macchanger {{[-p|--permanent]}} {{interface}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# namcap
|
||||
|
||||
> Check binary packages and source `PKGBUILD`s for common packaging mistakes.
|
||||
> More information: <https://manned.org/namcap.1>.
|
||||
> More information: <https://manned.org/namcap>.
|
||||
|
||||
- Check a specific `PKGBUILD` file:
|
||||
|
||||
@@ -16,6 +16,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`namcap {{path/to/package.pkg.tar.zst}}`
|
||||
|
||||
- Check a file, printing extra [i]nformational messages:
|
||||
- Check a file, printing extra informational messages:
|
||||
|
||||
`namcap -i {{path/to/file}}`
|
||||
`namcap {{[-i|--info]}} {{path/to/file}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# needrestart
|
||||
|
||||
> Check which daemons need to be restarted after library upgrades.
|
||||
> More information: <https://github.com/liske/needrestart>.
|
||||
> More information: <https://manned.org/needrestart>.
|
||||
|
||||
- List outdated processes:
|
||||
|
||||
|
||||
@@ -20,9 +20,9 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`sudo netselect -m {{10}} {{host_1}} {{host_2}}`
|
||||
|
||||
- Print fastest N servers among the hosts:
|
||||
- Print `n` fastest servers among the hosts:
|
||||
|
||||
`sudo netselect -s {{N}} {{host_1}} {{host_2}} {{host_3}}`
|
||||
`sudo netselect -s {{n}} {{host_1}} {{host_2}} {{host_3}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
|
||||
@@ -12,10 +12,10 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`nitch`
|
||||
|
||||
- Display [h]elp:
|
||||
- Display help:
|
||||
|
||||
`nitch --help`
|
||||
`nitch {{[-h|--help]}}`
|
||||
|
||||
- Display [v]ersion:
|
||||
- Display version:
|
||||
|
||||
`nitch --version`
|
||||
`nitch {{[-v|--version]}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# nl
|
||||
|
||||
> Number lines from a file or from `stdin`.
|
||||
> More information: <https://manned.org/man/nl>.
|
||||
> More information: <https://manned.org/nl>.
|
||||
|
||||
- Number non-blank lines in a file:
|
||||
|
||||
|
||||
@@ -8,9 +8,9 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Convert PDF document pages to portable Pixmap (image formats).
|
||||
> More information: <https://manned.org/pdftoppm>.
|
||||
|
||||
- Specify the range of pages to convert (N-first page, M-last page):
|
||||
- Specify the range of pages to convert (`n` - first page, `m` - last page):
|
||||
|
||||
`pdftoppm -f {{N}} -l {{M}} {{path/to/file.pdf}} {{image_name_prefix}}`
|
||||
`pdftoppm -f {{n}} -l {{m}} {{path/to/file.pdf}} {{image_name_prefix}}`
|
||||
|
||||
- Convert only the first page of a PDF:
|
||||
|
||||
|
||||
@@ -7,20 +7,20 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Compare package files using different modes.
|
||||
> See also: `pkgctl`.
|
||||
> More information: <https://manned.org/pkgctl-diff.1>.
|
||||
> More information: <https://manned.org/pkgctl-diff>.
|
||||
|
||||
- Compare package files in tar content [l]ist different mode (default):
|
||||
- Compare package files in tar content list different mode (default):
|
||||
|
||||
`pkgctl diff --list {{path/to/file|pkgname}}`
|
||||
`pkgctl diff {{[-l|--list]}} {{path/to/file|pkgname}}`
|
||||
|
||||
- Compare package files in [d]iffoscope different mode:
|
||||
- Compare package files in diffoscope different mode:
|
||||
|
||||
`pkgctl diff --diffoscope {{path/to/file|pkgname}}`
|
||||
`pkgctl diff {{[-d|--diffoscope]}} {{path/to/file|pkgname}}`
|
||||
|
||||
- Compare package files in `.PKGINFO` different mode:
|
||||
|
||||
`pkgctl diff --pkginfo {{path/to/file|pkgname}}`
|
||||
`pkgctl diff {{[-p|--pkginfo]}} {{path/to/file|pkgname}}`
|
||||
|
||||
- Compare package files in `.BUILDINFO` different mode:
|
||||
|
||||
`pkgctl diff --buildinfo {{path/to/file|pkgname}}`
|
||||
`pkgctl diff {{[-b|--buildinfo]}} {{path/to/file|pkgname}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# pyrit
|
||||
|
||||
> WPA/WPA2 cracking tool using computational power.
|
||||
> More information: <https://github.com/JPaulMora/Pyrit>.
|
||||
> More information: <https://manned.org/pyrit>.
|
||||
|
||||
- Display system cracking speed:
|
||||
|
||||
|
||||
@@ -20,13 +20,13 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`qrcp send --zip {{path/to/file_or_directory}}`
|
||||
|
||||
- Use a specific [p]ort:
|
||||
- Use a specific port:
|
||||
|
||||
`qrcp {{send|receive}} --port {{port_number}}`
|
||||
`qrcp {{send|receive}} {{[-p|--port]}} {{port_number}}`
|
||||
|
||||
- Use a specific network [i]nterface:
|
||||
- Use a specific network interface:
|
||||
|
||||
`qrcp {{send|receive}} --interface {{interface}}`
|
||||
`qrcp {{send|receive}} {{[-i|--interface]}} {{interface}}`
|
||||
|
||||
- Keep the server alive:
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`rig -{{m|f}}`
|
||||
|
||||
- Use data files from a specific directory (default is `/usr/share/rig`):
|
||||
- Use [d]ata files from a specific directory (default is `/usr/share/rig`):
|
||||
|
||||
`rig -d {{path/to/directory}}`
|
||||
|
||||
@@ -24,6 +24,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`rig -c {{number}}`
|
||||
|
||||
- Display a specific number of female identities:
|
||||
- Display a specific number of [f]emale identities:
|
||||
|
||||
`rig -f -c {{number}}`
|
||||
|
||||
@@ -12,6 +12,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`ruget {{https://example.com/file}}`
|
||||
|
||||
- Download the contents of a URL to a specified [o]utput file:
|
||||
- Download the contents of a URL to a specified output file:
|
||||
|
||||
`ruget --output {{file_name}} {{https://example.com/file}}`
|
||||
`ruget {{[-o|--output]}} {{file_name}} {{https://example.com/file}}`
|
||||
|
||||
@@ -8,18 +8,18 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Set file access control lists (ACL).
|
||||
> More information: <https://manned.org/setfacl>.
|
||||
|
||||
- [M]odify ACL of a file for user with read and write access:
|
||||
- Modify ACL of a file for user with read and write access:
|
||||
|
||||
`setfacl --modify u:{{username}}:rw {{path/to/file_or_directory}}`
|
||||
`setfacl {{[-m|--modify]}} u:{{username}}:rw {{path/to/file_or_directory}}`
|
||||
|
||||
- [M]odify [d]efault ACL of a file for all users:
|
||||
- Modify default ACL of a file for all users:
|
||||
|
||||
`setfacl --modify --default u::rw {{path/to/file_or_directory}}`
|
||||
`setfacl {{[-m|--modify]}} {{[-d|--default]}} u::rw {{path/to/file_or_directory}}`
|
||||
|
||||
- Remove ACL of a file for a user:
|
||||
|
||||
`setfacl --remove u:{{username}} {{path/to/file_or_directory}}`
|
||||
`setfacl {{[-x|--remove]}} u:{{username}} {{path/to/file_or_directory}}`
|
||||
|
||||
- Remove all ACL entries of a file:
|
||||
|
||||
`setfacl --remove-all {{path/to/file_or_directory}}`
|
||||
`setfacl {{[-X|--remove-all]}} {{path/to/file_or_directory}}`
|
||||
|
||||
@@ -17,11 +17,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`sudo setsebool {{httpd_can_network_connect}} {{1|true|on|0|false|off}}`
|
||||
|
||||
- Set or unset a boolean [p]ersistently:
|
||||
- Set or unset a boolean [P]ersistently:
|
||||
|
||||
`sudo setsebool -P {{container_use_devices}} {{1|true|on|0|false|off}}`
|
||||
|
||||
- Set or unset multiple booleans [p]ersistently at once:
|
||||
- Set or unset multiple booleans [P]ersistently at once:
|
||||
|
||||
`sudo setsebool -P {{ftpd_use_fusefs=1 mount_anyfile=0 ...}}`
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`shutdown {{[-r|--reboot]}} +{{5}} &`
|
||||
|
||||
- Shutdown at 1:00 pm (Uses 24[h] clock):
|
||||
- Shutdown at 1:00 pm (Uses 24h clock):
|
||||
|
||||
`shutdown -h 13:00`
|
||||
|
||||
|
||||
@@ -8,14 +8,14 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Wallpaper tool for Wayland compositors.
|
||||
> More information: <https://github.com/swaywm/swaybg/blob/master/swaybg.1.scd>.
|
||||
|
||||
- Set the wallpaper to an [i]mage:
|
||||
- Set the wallpaper to an image:
|
||||
|
||||
`swaybg --image {{path/to/image}}`
|
||||
`swaybg {{[-i|--image]}} {{path/to/image}}`
|
||||
|
||||
- Set the wallpaper [m]ode:
|
||||
- Set the wallpaper mode:
|
||||
|
||||
`swaybg --image {{path/to/image}} --mode {{stretch|fit|fill|center|tile|solid_color}}`
|
||||
`swaybg {{[-i|--image]}} {{path/to/image}} {{[-m|--mode]}} {{stretch|fit|fill|center|tile|solid_color}}`
|
||||
|
||||
- Set the wallpaper to a static [c]olor:
|
||||
- Set the wallpaper to a static color:
|
||||
|
||||
`swaybg --color "{{#rrggbb}}"`
|
||||
`swaybg {{[-c|--color]}} "{{#rrggbb}}"`
|
||||
|
||||
@@ -9,13 +9,13 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> It can capture and display TCP connections and data. It can also monitor network traffic on a interface, host, or port.
|
||||
> More information: <https://manned.org/tcpick.8>.
|
||||
|
||||
- Capture traffic on a specific [i]nterface, port and host::
|
||||
- Capture traffic on a specific interface, port and host::
|
||||
|
||||
`sudo tcpick -i {{interface}} -C -h {{host}} -p {{port}}`
|
||||
`sudo tcpick {{[-i|--interface]}} {{interface}} {{[-C|--colors]}} -h {{host}} -p {{port}}`
|
||||
|
||||
- Capture traffic on port 80 (HTTP) of a specific host:
|
||||
|
||||
`sudo tcpick -i {{eth0}} -C -h {{192.168.1.100}} -p {{80}}`
|
||||
`sudo tcpick {{[-i|--interface]}} {{eth0}} {{[-C|--colors]}} -h {{192.168.1.100}} -p {{80}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Show verbose information about devices that support verbosity:
|
||||
|
||||
`sudo tlp-stat --verbose --{{battery|processor|pcie|usb}}`
|
||||
`sudo tlp-stat {{[-v|--verbose]}} --{{battery|processor|pcie|usb}}`
|
||||
|
||||
- Show configuration:
|
||||
|
||||
@@ -33,7 +33,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`sudo tlp-stat --psup`
|
||||
|
||||
- Show [temp]eratures and fan speed:
|
||||
- Show [t]emperatures and fan speed:
|
||||
|
||||
`sudo tlp-stat {{[-t|--temp]}}`
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Route the traffic of any application through the Tor network.
|
||||
> Note: `torsocks` will assume that it should connect to the Tor SOCKS proxy running at 127.0.0.1:9050 being the defaults of the Tor daemon.
|
||||
> More information: <https://gitlab.torproject.org/tpo/core/torsocks/>.
|
||||
> More information: <https://manned.org/torsocks>.
|
||||
|
||||
- Run a command using Tor:
|
||||
|
||||
@@ -25,10 +25,10 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`torsocks show`
|
||||
|
||||
- [i]solate traffic through a different Tor circuit, improving anonymity:
|
||||
- Isolate traffic through a different Tor circuit, improving anonymity:
|
||||
|
||||
`torsocks --isolate {{curl https://check.torproject.org/api/ip}}`
|
||||
`torsocks {{[-i|--isolate]}} {{curl https://check.torproject.org/api/ip}}`
|
||||
|
||||
- Connect to a Tor proxy running on a specific [a]ddress and [P]ort:
|
||||
- Connect to a Tor proxy running on a specific address and port:
|
||||
|
||||
`torsocks --address {{ip}} --port {{port}} {{command}}`
|
||||
`torsocks {{[-a|--address]}} {{ip}} {{[-P|--port]}} {{port}} {{command}}`
|
||||
|
||||
@@ -9,22 +9,22 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Part of `util-linux`.
|
||||
> More information: <https://manned.org/tunelp>.
|
||||
|
||||
- Check the [s]tatus of a parallel port device:
|
||||
- Check the status of a parallel port device:
|
||||
|
||||
`tunelp --status {{/dev/lp0}}`
|
||||
`tunelp {{[-s|--status]}} {{/dev/lp0}}`
|
||||
|
||||
- [r]eset a given parallel port:
|
||||
- Reset a given parallel port:
|
||||
|
||||
`tunelp --reset {{/dev/lp0}}`
|
||||
`tunelp {{[-r|--reset]}} {{/dev/lp0}}`
|
||||
|
||||
- Use a given [i]RQ for a device, each one representing an interrupt line:
|
||||
- Use a given IRQ for a device, each one representing an interrupt line:
|
||||
|
||||
`tunelp -i 5 {{/dev/lp0}}`
|
||||
`tunelp {{[-i|--irq]}} 5 {{/dev/lp0}}`
|
||||
|
||||
- Try a given number of times to output a [c]haracter to the printer before sleeping for a given [t]ime:
|
||||
- Try a given number of times to output a character to the printer before sleeping for a given time:
|
||||
|
||||
`tunelp --chars {{times}} --time {{time_in_centiseconds}} {{/dev/lp0}}`
|
||||
`tunelp {{[-c|--chars]}} {{times}} {{[-t|--time]}} {{time_in_centiseconds}} {{/dev/lp0}}`
|
||||
|
||||
- Enable or disable [a]borting on error (disabled by default):
|
||||
- Enable or disable aborting on error (disabled by default):
|
||||
|
||||
`tunelp --abort {{on|off}}`
|
||||
`tunelp {{[-a|--abort]}} {{on|off}}`
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Find files in packages and query information about them in Mageia.
|
||||
> See also: `urpmi`, `urpme`, `urpmi.addmedia`, `urpmi.removemedia`, `urpmi.update`, `urpmq`.
|
||||
> More information: <https://wiki.mageia.org/en/URPMI#urpmi.removemedia>.
|
||||
> More information: <https://wiki.mageia.org/en/URPMI#urpmf>.
|
||||
|
||||
- Search for packages that contain a file:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# yakuake
|
||||
|
||||
> A drop-down terminal for KDE.
|
||||
> More information: <https://manned.org/man/yakuake>.
|
||||
> More information: <https://manned.org/yakuake>.
|
||||
|
||||
- Start up Yakuake:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user