Update cheatsheets

This commit is contained in:
ivuorinen
2024-10-13 00:18:36 +00:00
parent 9e6dfc9983
commit 5f589d2ead
96 changed files with 227 additions and 103 deletions

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# abduco # abduco
> Terminal session manager. > Terminal session manager.
> More information: <http://www.brain-dump.org/projects/abduco/>. > More information: <https://www.brain-dump.org/projects/abduco/>.
- List sessions: - List sessions:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Source code indenter, formatter, and beautifier for the C, C++, C# and Java programming languages. > Source code indenter, formatter, and beautifier for the C, C++, C# and Java programming languages.
> Upon running, a copy of the original file is created with an ".orig" appended to the original file name. > Upon running, a copy of the original file is created with an ".orig" appended to the original file name.
> More information: <http://astyle.sourceforge.net>. > More information: <https://astyle.sourceforge.net>.
- Apply the default style of 4 spaces per indent and no formatting changes: - Apply the default style of 4 spaces per indent and no formatting changes:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# atoum # atoum
> A simple, modern and intuitive unit testing framework for PHP. > A simple, modern and intuitive unit testing framework for PHP.
> More information: <http://atoum.org>. > More information: <https://atoum.org>.
- Initialize a configuration file: - Initialize a configuration file:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# blockout2 # blockout2
> Tetris like game in 3D. > Tetris like game in 3D.
> More information: <http://www.blockout.net/blockout2/>. > More information: <https://www.blockout.net/blockout2/>.
- Start a new game: - Start a new game:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> A static analysis tool for C/C++ code. > A static analysis tool for C/C++ code.
> Instead of syntax errors, it focuses on the types of bugs that compilers normally do not detect. > Instead of syntax errors, it focuses on the types of bugs that compilers normally do not detect.
> More information: <http://cppcheck.sourceforge.net>. > More information: <https://cppcheck.sourceforge.net>.
- Recursively check the current directory, showing progress on the screen and logging error messages to a file: - Recursively check the current directory, showing progress on the screen and logging error messages to a file:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# dcfldd # dcfldd
> Enhanced version of dd for forensics and security. > Enhanced version of dd for forensics and security.
> More information: <http://dcfldd.sourceforge.net/>. > More information: <https://dcfldd.sourceforge.net/>.
- Copy a disk to a raw image file and hash the image using SHA256: - Copy a disk to a raw image file and hash the image using SHA256:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# doxygen # doxygen
> A documentation system for various programming languages. > A documentation system for various programming languages.
> More information: <http://www.doxygen.nl>. > More information: <https://www.doxygen.nl>.
- Generate a default template configuration file `Doxyfile`: - Generate a default template configuration file `Doxyfile`:

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Create incremental, compressed, encrypted and versioned backups. > Create incremental, compressed, encrypted and versioned backups.
> Can also upload the backups to a variety of backend services. > Can also upload the backups to a variety of backend services.
> It is worth mentioning that depending on the version, some options may not be available (e.g. `--gio` in 2.0.0). > It is worth mentioning that depending on the version, some options may not be available (e.g. `--gio` in 2.0.0).
> More information: <http://duplicity.nongnu.org>. > More information: <https://duplicity.gitlab.io>.
- Backup a directory via FTPS to a remote machine, encrypting it with a password: - Backup a directory via FTPS to a remote machine, encrypting it with a password:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# entr # entr
> Run arbitrary commands when files change. > Run arbitrary commands when files change.
> More information: <http://eradman.com/entrproject/>. > More information: <https://eradman.com/entrproject/>.
- Rebuild with `make` if any file in any subdirectory changes: - Rebuild with `make` if any file in any subdirectory changes:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# espeak # espeak
> Uses text-to-speech to speak through the default sound device. > Uses text-to-speech to speak through the default sound device.
> More information: <http://espeak.sourceforge.net>. > More information: <https://espeak.sourceforge.net>.
- Speak a phrase aloud: - Speak a phrase aloud:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Edit the partition table of a fake flash drive. > Edit the partition table of a fake flash drive.
> See also: `f3probe`, `f3write`, `f3read`. > See also: `f3probe`, `f3write`, `f3read`.
> More information: <http://oss.digirati.com.br/f3/>. > More information: <https://oss.digirati.com.br/f3/>.
- Fill a fake flash drive with a single partition that matches its real capacity: - Fill a fake flash drive with a single partition that matches its real capacity:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Validate .h2w files to test the real capacity of the drive. > Validate .h2w files to test the real capacity of the drive.
> See also: `f3write`, `f3probe`, `f3fix`. > See also: `f3write`, `f3probe`, `f3fix`.
> More information: <http://oss.digirati.com.br/f3/>. > More information: <https://oss.digirati.com.br/f3/>.
- Validate a device by checking the files in a given directory: - Validate a device by checking the files in a given directory:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Fill a drive out with .h2w files to test its real capacity. > Fill a drive out with .h2w files to test its real capacity.
> See also: `f3read`, `f3probe`, `f3fix`. > See also: `f3read`, `f3probe`, `f3fix`.
> More information: <http://oss.digirati.com.br/f3/>. > More information: <https://oss.digirati.com.br/f3/>.
- Write test files to a given directory, filling the drive: - Write test files to a given directory, filling the drive:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Extract fields from a flat database file and write to another format. > Extract fields from a flat database file and write to another format.
> A configuration file is required to interpret the input and format the output. > A configuration file is required to interpret the input and format the output.
> More information: <http://ff-extractor.sourceforge.net/ffe.html>. > More information: <https://ff-extractor.sourceforge.net/ffe.html>.
- Display all input data using the specified data configuration: - Display all input data using the specified data configuration:

33
tldr/freebsd/base64 Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, freebsd]
source: https://github.com/tldr-pages/tldr.git
---
# base64
> Encode or decode file or `stdin` to/from base64, to `stdout` or another file.
> More information: <https://man.freebsd.org/cgi/man.cgi?query=base64>.
- Encode a file to `stdout`:
`base64 {{-i|--input}} {{path/to/file}}`
- Encode a file to the specified output file:
`base64 {{-i|--input}} {{path/to/input_file}} {{-o|--output}} {{path/to/output_file}}`
- Wrap encoded output at a specific width (`0` disables wrapping):
`base64 {{-b|--break}} {{0|76|...}} {{path/to/file}}`
- Decode a file to `stdout`:
`base64 {{-d|--decode}} {{-i|--input}} {{path/to/file}}`
- Encode from `stdin` to `stdout`:
`{{command}} | base64`
- Decode from `stdin` to `stdout`:
`{{command}} | base64 {{-d|--decode}}`

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> A lightweight packet sniffer for displaying and logging HTTP traffic. > A lightweight packet sniffer for displaying and logging HTTP traffic.
> It can be run in real-time displaying the traffic as it is parsed, or as a daemon process that logs to an output file. > It can be run in real-time displaying the traffic as it is parsed, or as a daemon process that logs to an output file.
> More information: <http://dumpsterventures.com/jason/httpry/>. > More information: <https://dumpsterventures.com/jason/httpry/>.
- Save output to a file: - Save output to a file:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Inkscape graphical SVG previewer. > Inkscape graphical SVG previewer.
> Also functions as a slideshow viewer. > Also functions as a slideshow viewer.
> More information: <http://wiki.inkscape.org/wiki/index.php/Inkview>. > More information: <https://wiki.inkscape.org/wiki/index.php/Inkview>.
- Preview an SVG: - Preview an SVG:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# interdiff # interdiff
> Show differences between two diff files. > Show differences between two diff files.
> More information: <http://freshmeat.sourceforge.net/projects/patchutils>. > More information: <https://freshmeat.sourceforge.net/projects/patchutils>.
- Compare diff files: - Compare diff files:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jcal # jcal
> Display calendar information in the Jalali format, with the current day highlighted. > Display calendar information in the Jalali format, with the current day highlighted.
> More information: <http://www.nongnu.org/jcal/>. > More information: <https://www.nongnu.org/jcal/>.
- Display a calendar for the current month: - Display a calendar for the current month:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# jrnl # jrnl
> A simple journal application for your command-line. > A simple journal application for your command-line.
> More information: <http://jrnl.sh>. > More information: <https://jrnl.sh>.
- Insert a new entry with your editor: - Insert a new entry with your editor:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# keychain # keychain
> Re-use ssh-agent and/or gpg-agent between logins. > Re-use ssh-agent and/or gpg-agent between logins.
> More information: <http://funtoo.org/Keychain>. > More information: <https://funtoo.org/Keychain>.
- Check for a running ssh-agent, and start one if needed: - Check for a running ssh-agent, and start one if needed:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# kosmorro # kosmorro
> Compute the ephemerides and the events for a date at a position on Earth. > Compute the ephemerides and the events for a date at a position on Earth.
> More information: <http://kosmorro.space>. > More information: <https://kosmorro.space>.
- Get ephemerides for Paris, France: - Get ephemerides for Paris, France:

View File

@@ -5,10 +5,17 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# Less than # Less than
> Redirect a file to `stdin`. > Redirect data to `stdin`.
> Achieves the same effect as `cat file.txt |`.
> More information: <https://gnu.org/software/bash/manual/bash.html#Redirecting-Input>. > More information: <https://gnu.org/software/bash/manual/bash.html#Redirecting-Input>.
- Redirect a file to `stdin`: - Redirect a file to `stdin` (achieves the same effect as `cat file.txt |`):
`{{command}} < {{path/to/file.txt}}` `{{command}} < {{path/to/file.txt}}`
- Create a here document and pass that into `stdin` (requires a multiline command):
`{{command}} << {{EOF}} <Enter> {{multiline_data}} <Enter> {{EOF}}`
- Create a here string and pass that into `stdin`:
`{{command}} <<< {{string}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# betterlockscreen # betterlockscreen
> Simple, minimal lock screen. > Simple, minimal lock screen.
> More information: <https://github.com/pavanjadhaw/betterlockscreen>. > More information: <https://github.com/betterlockscreen/betterlockscreen>.
- Lock the screen: - Lock the screen:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# checkinstall # checkinstall
> Track the local installation of a software package, and produce a binary package which can be used with a system's native package manager. > Track the local installation of a software package, and produce a binary package which can be used with a system's native package manager.
> More information: <http://checkinstall.izto.org>. > More information: <https://checkinstall.izto.org>.
- Create and install a package with default settings: - Create and install a package with default settings:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# cpuid # cpuid
> Display detailed information about all CPUs. > Display detailed information about all CPUs.
> More information: <http://etallen.com/cpuid.html>. > More information: <https://etallen.com/cpuid.html>.
- Display information for all CPUs: - Display information for all CPUs:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# cpulimit # cpulimit
> A tool to throttle the CPU usage of other processes. > A tool to throttle the CPU usage of other processes.
> More information: <http://cpulimit.sourceforge.net/>. > More information: <https://cpulimit.sourceforge.net/>.
- Limit an existing process with PID 1234 to only use 25% of the CPU: - Limit an existing process with PID 1234 to only use 25% of the CPU:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# cryptcat # cryptcat
> Cryptcat is netcat with encryption capabilities. > Cryptcat is netcat with encryption capabilities.
> More information: <http://cryptcat.sourceforge.net>. > More information: <https://cryptcat.sourceforge.net>.
- [l]isten on a specified [p]ort and print any data received: - [l]isten on a specified [p]ort and print any data received:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# daemonize # daemonize
> Run a command (that does not daemonize itself) as a Unix daemon. > Run a command (that does not daemonize itself) as a Unix daemon.
> More information: <http://software.clapper.org/daemonize/>. > More information: <https://software.clapper.org/daemonize/>.
- Run a command as a daemon: - Run a command as a daemon:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# datamash # datamash
> Perform basic numeric, textual and statistical operations on input textual data files. > Perform basic numeric, textual and statistical operations on input textual data files.
> More information: <http://www.gnu.org/software/datamash/>. > More information: <https://www.gnu.org/software/datamash/>.
- Get max, min, mean and median of a single column of numbers: - Get max, min, mean and median of a single column of numbers:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# dirb # dirb
> Scan HTTP-based webservers for directories and files. > Scan HTTP-based webservers for directories and files.
> More information: <http://dirb.sourceforge.net>. > More information: <https://dirb.sourceforge.net>.
- Scan a webserver using the default wordlist: - Scan a webserver using the default wordlist:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# esa snap # esa snap
> Sentinel Application Platform (SNAP) for processing satellite data from the European Space Agency (ESA). > Sentinel Application Platform (SNAP) for processing satellite data from the European Space Agency (ESA).
> More information: <http://step.esa.int/main/download/snap-download/>. > More information: <https://step.esa.int/main/download/snap-download/>.
- Display all updates: - Display all updates:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# etckeeper # etckeeper
> Track system configuration files in Git. > Track system configuration files in Git.
> More information: <http://etckeeper.branchable.com/>. > More information: <https://etckeeper.branchable.com/>.
- Set up a Git repo and perform various setup tasks (run from `/etc`): - Set up a Git repo and perform various setup tasks (run from `/etc`):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# ethtool # ethtool
> Display and modify Network Interface Controller (NIC) parameters. > Display and modify Network Interface Controller (NIC) parameters.
> More information: <http://manned.org/ethtool>. > More information: <https://manned.org/ethtool>.
- Display the current settings for an interface: - Display the current settings for an interface:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Recover deleted files from ext3 or ext4 partitions by parsing the journal. > Recover deleted files from ext3 or ext4 partitions by parsing the journal.
> See also `date` for Unix time information and `umount` for unmounting partitions. > See also `date` for Unix time information and `umount` for unmounting partitions.
> More information: <http://extundelete.sourceforge.net>. > More information: <https://extundelete.sourceforge.net>.
- Restore all deleted files inside partition N on device X: - Restore all deleted files inside partition N on device X:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# gbp # gbp
> A system to integrate the Debian package build system with Git. > A system to integrate the Debian package build system with Git.
> More information: <http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.html>. > More information: <https://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.html>.
- Convert an existing Debian package to gbp: - Convert an existing Debian package to gbp:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# hlint # hlint
> Suggest improvements to Haskell code. > Suggest improvements to Haskell code.
> More information: <http://hackage.haskell.org/package/hlint>. > More information: <https://hackage.haskell.org/package/hlint>.
- Display suggestions for a given file: - Display suggestions for a given file:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# htpdate # htpdate
> Synchronize local date and time via HTTP headers from web servers. > Synchronize local date and time via HTTP headers from web servers.
> More information: <http://www.vervest.org/htp/>. > More information: <https://www.vervest.org/htp/>.
- Synchronize date and time: - Synchronize date and time:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> An HTTP benchmarking tool. > An HTTP benchmarking tool.
> Runs multiple HTTP fetches in parallel to test the throughput of a web server. > Runs multiple HTTP fetches in parallel to test the throughput of a web server.
> More information: <http://www.acme.com/software/http_load/>. > More information: <https://www.acme.com/software/http_load/>.
- Emulate 20 requests based on a given URL list file per second for 60 seconds: - Emulate 20 requests based on a given URL list file per second for 60 seconds:

View File

@@ -6,7 +6,8 @@ source: https://github.com/tldr-pages/tldr.git
# iw # iw
> Show and manipulate wireless devices. > Show and manipulate wireless devices.
> More information: <https://manned.org/iw>. > See also: `iw dev`.
> More information: <https://wireless.docs.kernel.org/en/latest/en/users/documentation/iw.html>.
- Scan for available wireless networks: - Scan for available wireless networks:
@@ -23,3 +24,19 @@ source: https://github.com/tldr-pages/tldr.git
- Show information about the current connection: - Show information about the current connection:
`iw dev {{wlp}} link` `iw dev {{wlp}} link`
- List all physical and logical wireless network interfaces:
`iw dev`
- List all wireless capabilities for all physical hardware interfaces:
`iw phy`
- List the kernel's current wireless regulatory domain information:
`iw reg get`
- Display help for all commands:
`iw help`

38
tldr/linux/iw-dev Normal file
View File

@@ -0,0 +1,38 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# iw dev
> Show and manipulate wireless devices.
> For a list of channels, frequencies and reg information: <https://wireless.docs.kernel.org/en/latest/en/developers/documentation/channellist.html>.
> More information: <https://wireless.docs.kernel.org/en/latest/en/users/documentation/iw.html>.
- Set device to monitor mode (interface must be down first. See also `ip link`):
`sudo iw dev {{wlp}} set type monitor`
- Set device to managed mode (interface must be down first):
`sudo iw dev {{wlp}} set type managed`
- Set device WiFi channel (device must first be in monitor mode with the interface up):
`sudo iw dev {{wlp}} set channel {{channel_number}}`
- Set device WiFi frequency in Mhz (device must first be in monitor mode with the interface up):
`sudo iw dev {{wlp}} set freq {{freq_in_mhz}}`
- Show all known station info:
`iw dev {{wlp}} station dump`
- Create a virtual interface in monitor mode with a specific MAC address:
`sudo iw dev {{wlp}} interface add "{{vif_name}}" type monitor addr {{12:34:56:aa:bb:cc}}`
- Delete virtual interface:
`sudo iw dev "{{vif_name}}" del`

13
tldr/linux/lndir Normal file
View File

@@ -0,0 +1,13 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# lndir
> Create a shadow directory of symbolic links to another directory tree.
> More information: <https://manned.org/lndir>.
- Create a shadow directory in the current directory:
`lndir {{path/to/directory}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# numlockx # numlockx
> Control the number lock key status in X11 sessions. > Control the number lock key status in X11 sessions.
> More information: <http://www.mike-devlin.com/linux/README-numlockx.htm>. > More information: <https://www.mike-devlin.com/linux/README-numlockx.htm>.
- Show the current number lock status: - Show the current number lock status:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# physlock # physlock
> Lock all consoles and virtual terminals. > Lock all consoles and virtual terminals.
> More information: <http://github.com/muennich/physlock>. > More information: <https://github.com/muennich/physlock>.
- Lock every console (require current user or root to unlock): - Lock every console (require current user or root to unlock):

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Easy security-hardened OpenVPN setup and manager. > Easy security-hardened OpenVPN setup and manager.
> Originally designed for the Raspberry Pi, but works on other Linux devices too. > Originally designed for the Raspberry Pi, but works on other Linux devices too.
> More information: <http://www.pivpn.io/>. > More information: <https://www.pivpn.io/>.
- Add a new client device: - Add a new client device:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Postfix mail transfer agent (MTA) control program. > Postfix mail transfer agent (MTA) control program.
> See also `dovecot`, a mail delivery agent (MDA) that integrates with Postfix. > See also `dovecot`, a mail delivery agent (MDA) that integrates with Postfix.
> More information: <http://www.postfix.org>. > More information: <https://www.postfix.org>.
- Check the configuration: - Check the configuration:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# qjoypad # qjoypad
> Translate input from gamepads or joysticks into keyboard strokes or mouse actions. > Translate input from gamepads or joysticks into keyboard strokes or mouse actions.
> More information: <http://qjoypad.sourceforge.net/>. > More information: <https://qjoypad.sourceforge.net/>.
- Start QJoyPad: - Start QJoyPad:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# runlim # runlim
> Sample and limit time and memory usage of a program and its child processes using the proc file system on Linux. > Sample and limit time and memory usage of a program and its child processes using the proc file system on Linux.
> More information: <http://fmv.jku.at/runlim>. > More information: <https://fmv.jku.at/runlim>.
- Print the time and memory usage of a command: - Print the time and memory usage of a command:

View File

@@ -22,4 +22,8 @@ source: https://github.com/tldr-pages/tldr.git
- Record timing information (data is outputted to `stderr`): - Record timing information (data is outputted to `stderr`):
`script -t 2> {{path/to/timingfile}}` `script -t 2> {{path/to/timing_file}}`
- Write out data as soon as it happens:
`script -f {{path/to/file}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# speedometer # speedometer
> Python script that shows a network traffic graph in the terminal. > Python script that shows a network traffic graph in the terminal.
> More information: <http://excess.org/speedometer>. > More information: <https://excess.org/speedometer>.
- Show graph for a specific interface: - Show graph for a specific interface:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# udisksctl # udisksctl
> Interact with `udisksd` to query and manipulate storage devices. > Interact with `udisksd` to query and manipulate storage devices.
> More information: <http://storaged.org/doc/udisks2-api/latest/udisksctl.1.html>. > More information: <https://storaged.org/doc/udisks2-api/latest/udisksctl.1.html>.
- Show high-level information about disk drives and block devices: - Show high-level information about disk drives and block devices:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Task runner for targets described in Mkfile. > Task runner for targets described in Mkfile.
> Mostly used to control the compilation of an executable from source code. > Mostly used to control the compilation of an executable from source code.
> More information: <http://doc.cat-v.org/plan_9/4th_edition/papers/mk>. > More information: <https://doc.cat-v.org/plan_9/4th_edition/papers/mk>.
- Call the first target specified in the Mkfile (usually named "all"): - Call the first target specified in the Mkfile (usually named "all"):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# mp3info # mp3info
> Viewer/editor for ID3v1 (but not ID3v2) tags of MP3 files. > Viewer/editor for ID3v1 (but not ID3v2) tags of MP3 files.
> More information: <http://www.ibiblio.org/mp3info>. > More information: <https://www.ibiblio.org/mp3info>.
- Show all ID3v1 tags of a specific MP3 file: - Show all ID3v1 tags of a specific MP3 file:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3. > High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
> Mpg321 was written (sometime in 1999) to be a drop-in replacement for the (previously) non-free mpg123 player. > Mpg321 was written (sometime in 1999) to be a drop-in replacement for the (previously) non-free mpg123 player.
> More information: <http://mpg321.sourceforge.net/>. > More information: <https://mpg321.sourceforge.net/>.
- Play an audio source exactly N times (N=0 means forever): - Play an audio source exactly N times (N=0 means forever):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# mytop # mytop
> Display MySQL server performance info like `top`. > Display MySQL server performance info like `top`.
> More information: <http://jeremy.zawodny.com/mysql/mytop/mytop.html>. > More information: <https://jeremy.zawodny.com/mysql/mytop/mytop.html>.
- Start `mytop`: - Start `mytop`:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> The findlib package manager for OCaml. > The findlib package manager for OCaml.
> Simplifies linking executables with external libraries. > Simplifies linking executables with external libraries.
> More information: <http://projects.camlcity.org/projects/findlib.html>. > More information: <https://projects.camlcity.org/projects/findlib.html>.
- Compile a source file to a native binary and link with packages: - Compile a source file to a native binary and link with packages:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# offlineimap # offlineimap
> Synchronize a remote IMAP server with local Maildir folders. > Synchronize a remote IMAP server with local Maildir folders.
> More information: <http://www.offlineimap.org>. > More information: <https://www.offlineimap.org>.
- Synchronize once, without enabling autorefresh: - Synchronize once, without enabling autorefresh:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# optipng # optipng
> PNG file optimization utility. > PNG file optimization utility.
> More information: <http://optipng.sourceforge.net>. > More information: <https://optipng.sourceforge.net>.
- Compress a PNG with default settings: - Compress a PNG with default settings:

View File

@@ -5,21 +5,29 @@ source: https://github.com/tldr-pages/tldr.git
--- ---
# base64 # base64
> Encode and decode using Base64 representation. > Encode or decode file or `stdin` to/from base64, to `stdout` or another file.
> More information: <https://keith.github.io/xcode-man-pages/base64.1.html>. > More information: <https://keith.github.io/xcode-man-pages/base64.1.html>.
- Encode a file: - Encode a file to `stdout`:
`base64 --input={{plain_file}}` `base64 {{-i|--input}} {{path/to/file}}`
- Decode a file: - Encode a file to the specified output file:
`base64 --decode --input={{base64_file}}` `base64 {{-i|--input}} {{path/to/input_file}} {{-o|--output}} {{path/to/output_file}}`
- Encode from `stdin`: - Wrap encoded output at a specific width (`0` disables wrapping):
`echo -n "{{plain_text}}" | base64` `base64 {{-b|--break}} {{0|76|...}} {{path/to/file}}`
- Decode from `stdin`: - Decode a file to `stdout`:
`echo -n {{base64_text}} | base64 --decode` `base64 {{-d|--decode}} {{-i|--input}} {{path/to/file}}`
- Encode from `stdin` to `stdout`:
`{{command}} | base64`
- Decode from `stdin` to `stdout`:
`{{command}} | base64 {{-d|--decode}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# wacaw # wacaw
> Capture both still pictures and video from an attached camera. > Capture both still pictures and video from an attached camera.
> More information: <http://webcam-tools.sourceforge.net>. > More information: <https://webcam-tools.sourceforge.net>.
- Take a picture from webcam: - Take a picture from webcam:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# whatis # whatis
> Search a set of database files for short descriptions of system commands for keywords. > Search a set of database files for short descriptions of system commands for keywords.
> More information: <http://www.linfo.org/whatis.html>. > More information: <https://www.linfo.org/whatis.html>.
- Search for information about keyword: - Search for information about keyword:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Wrapper of 7-Zip file archiver with high compression ratio. > Wrapper of 7-Zip file archiver with high compression ratio.
> Internally executes either 7za or 7zr command. > Internally executes either 7za or 7zr command.
> More information: <http://p7zip.sourceforge.net>. > More information: <https://p7zip.sourceforge.net>.
- Archive a file, replacing it with a 7zipped compressed version: - Archive a file, replacing it with a 7zipped compressed version:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Audio player of SoX - Sound eXchange. > Audio player of SoX - Sound eXchange.
> Plays any audio, with audio formats identified by the extension. > Plays any audio, with audio formats identified by the extension.
> More information: <http://sox.sourceforge.net>. > More information: <https://sox.sourceforge.net>.
- Play the given audio file: - Play the given audio file:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> An audio player with an interface similar to Winamp or XMMS. > An audio player with an interface similar to Winamp or XMMS.
> See also: `clementine`, `ncmpcpp`, `cmus`. > See also: `clementine`, `ncmpcpp`, `cmus`.
> More information: <http://qmmp.ylsoftware.com>. > More information: <https://qmmp.ylsoftware.com>.
- Launch the GUI: - Launch the GUI:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> The Raptor RDF parsing utility. > The Raptor RDF parsing utility.
> Part of the Raptor RDF Syntax Library. > Part of the Raptor RDF Syntax Library.
> More information: <http://librdf.org/raptor/rapper.html>. > More information: <https://librdf.org/raptor/rapper.html>.
- Convert an RDF/XML document to Turtle: - Convert an RDF/XML document to Turtle:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# ropper # ropper
> Find ROP gadgets in binary files. > Find ROP gadgets in binary files.
> More information: <http://scoding.de/ropper/>. > More information: <https://scoding.de/ropper/>.
- List gadgets in the binary file: - List gadgets in the binary file:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# rtmpdump # rtmpdump
> Dump media content streamed over the RTMP protocol. > Dump media content streamed over the RTMP protocol.
> More information: <http://rtmpdump.mplayerhq.hu/>. > More information: <https://rtmpdump.mplayerhq.hu/>.
- Download a file: - Download a file:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# runit # runit
> 3-stage init system. > 3-stage init system.
> More information: <http://smarden.org/runit/runit.8.html>. > More information: <https://smarden.org/runit/runit.8.html>.
- Start runit's 3-stage init scheme: - Start runit's 3-stage init scheme:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# sbcl # sbcl
> High performance Common Lisp compiler. > High performance Common Lisp compiler.
> More information: <http://www.sbcl.org/>. > More information: <https://www.sbcl.org/>.
- Start a REPL (interactive shell): - Start a REPL (interactive shell):

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Sound eXchange: play, record and convert audio files. > Sound eXchange: play, record and convert audio files.
> Audio formats are identified by the extension. > Audio formats are identified by the extension.
> More information: <http://sox.sourceforge.net>. > More information: <https://sox.sourceforge.net>.
- Merge two audio files into one: - Merge two audio files into one:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# sphinx-build # sphinx-build
> Sphinx documentation generator. > Sphinx documentation generator.
> More information: <http://www.sphinx-doc.org/en/master/man/sphinx-build.html>. > More information: <https://www.sphinx-doc.org/en/master/man/sphinx-build.html>.
- Build documentation: - Build documentation:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Securely remove files or directories. > Securely remove files or directories.
> Overwrites the existing data one or multiple times. Drop in replacement for rm. > Overwrites the existing data one or multiple times. Drop in replacement for rm.
> More information: <http://srm.sourceforge.net/srm.html>. > More information: <https://srm.sourceforge.net/srm.html>.
- Remove a file after a single-pass overwriting with random data: - Remove a file after a single-pass overwriting with random data:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# svn changelist # svn changelist
> Associate a changelist with a set of files. > Associate a changelist with a set of files.
> More information: <http://svnbook.red-bean.com/en/1.7/svn.advanced.changelists.html>. > More information: <https://svnbook.red-bean.com/en/1.7/svn.advanced.changelists.html>.
- Add files to a changelist, creating the changelist if it does not exist: - Add files to a changelist, creating the changelist if it does not exist:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Generate bindings between C/C++ code and various high level languages such as JavaScript, Python, C#, and more. > Generate bindings between C/C++ code and various high level languages such as JavaScript, Python, C#, and more.
> It uses special `.i` or `.swg` files to generate the bindings (C/C++ with SWIG directives, then outputs a C/C++ file that contains all the wrapper code needed to build an extension module. > It uses special `.i` or `.swg` files to generate the bindings (C/C++ with SWIG directives, then outputs a C/C++ file that contains all the wrapper code needed to build an extension module.
> More information: <http://www.swig.org>. > More information: <https://www.swig.org>.
- Generate a binding between C++ and Python: - Generate a binding between C++ and Python:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# timidity # timidity
> Play and convert MIDI files. > Play and convert MIDI files.
> More information: <http://timidity.sourceforge.net>. > More information: <https://timidity.sourceforge.net>.
- Play a MIDI file: - Play a MIDI file:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Wrapper for a set of expert tools for profiling, optimizing and debugging programs. > Wrapper for a set of expert tools for profiling, optimizing and debugging programs.
> Commonly used tools include `memcheck`, `cachegrind`, `callgrind`, `massif`, `helgrind`, and `drd`. > Commonly used tools include `memcheck`, `cachegrind`, `callgrind`, `massif`, `helgrind`, and `drd`.
> More information: <http://www.valgrind.org>. > More information: <https://www.valgrind.org>.
- Use the (default) Memcheck tool to show a diagnostic of memory usage by `program`: - Use the (default) Memcheck tool to show a diagnostic of memory usage by `program`:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# virtualenvwrapper # virtualenvwrapper
> Group of simple wrapper commands for Python's `virtualenv` tool. > Group of simple wrapper commands for Python's `virtualenv` tool.
> More information: <http://virtualenvwrapper.readthedocs.org>. > More information: <https://virtualenvwrapper.readthedocs.org>.
- Create a new Python `virtualenv` in `$WORKON_HOME`: - Create a new Python `virtualenv` in `$WORKON_HOME`:

View File

@@ -15,3 +15,7 @@ source: https://github.com/tldr-pages/tldr.git
- Wait for all processes known to the invoking shell to finish: - Wait for all processes known to the invoking shell to finish:
`wait` `wait`
- Wait for a job to finish:
`wait %{{N}}`

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# pabcnetcclear # pabcnetcclear
> Preprocess and compile PascalABC.NET source files. > Preprocess and compile PascalABC.NET source files.
> More information: <http://pascalabc.net>. > More information: <https://pascalabc.net>.
- Compile the specified source file into an executable with the same name: - Compile the specified source file into an executable with the same name:

View File

@@ -6,8 +6,8 @@ source: https://github.com/tldr-pages/tldr.git
# xml # xml
> XMLStarlet Toolkit: query, edit, check, convert and transform XML documents. > XMLStarlet Toolkit: query, edit, check, convert and transform XML documents.
> Some subcommands such as `validate` have their own usage documentation. > Some subcommands such as `xml validate` have their own usage documentation.
> More information: <http://xmlstar.sourceforge.net/docs.php>. > More information: <https://xmlstar.sourceforge.net/docs.php>.
- Display general help, including the list of subcommands: - Display general help, including the list of subcommands:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# xml canonic # xml canonic
> Make XML documents canonical. > Make XML documents canonical.
> More information: <http://xmlstar.sourceforge.net/docs.php>. > More information: <https://xmlstar.sourceforge.net/docs.php>.
- Make an XML document canonical, preserving comments: - Make an XML document canonical, preserving comments:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# xml depyx # xml depyx
> Convert a PYX (ESIS - ISO 8879) document to XML format. > Convert a PYX (ESIS - ISO 8879) document to XML format.
> More information: <http://xmlstar.sourceforge.net/docs.php>. > More information: <https://xmlstar.sourceforge.net/docs.php>.
- Convert a PYX (ESIS - ISO 8879) document to XML format: - Convert a PYX (ESIS - ISO 8879) document to XML format:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# xml edit # xml edit
> Edit an XML document. > Edit an XML document.
> More information: <http://xmlstar.sourceforge.net/docs.php>. > More information: <https://xmlstar.sourceforge.net/docs.php>.
- Delete elements matching an XPATH from an XML document: - Delete elements matching an XPATH from an XML document:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# xml elements # xml elements
> Extract elements and display the structure of an XML document. > Extract elements and display the structure of an XML document.
> More information: <http://xmlstar.sourceforge.net/docs.php>. > More information: <https://xmlstar.sourceforge.net/docs.php>.
- Extract elements from an XML document (producing XPATH expressions): - Extract elements from an XML document (producing XPATH expressions):

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# xml escape # xml escape
> Escape special XML characters, e.g. `<a1>` → `&lt;a1&gt;`. > Escape special XML characters, e.g. `<a1>` → `&lt;a1&gt;`.
> More information: <http://xmlstar.sourceforge.net/doc/xmlstarlet.pdf>. > More information: <https://xmlstar.sourceforge.net/doc/xmlstarlet.pdf>.
- Escape special XML characters in a string: - Escape special XML characters in a string:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# xml format # xml format
> Format an XML document. > Format an XML document.
> More information: <http://xmlstar.sourceforge.net/docs.php>. > More information: <https://xmlstar.sourceforge.net/docs.php>.
- Format an XML document, indenting with tabs: - Format an XML document, indenting with tabs:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# xml list # xml list
> List a directory's contents (like `ls`) in XML format. > List a directory's contents (like `ls`) in XML format.
> More information: <http://xmlstar.sourceforge.net/docs.php>. > More information: <https://xmlstar.sourceforge.net/docs.php>.
- Write the current directory's listing to an XML document: - Write the current directory's listing to an XML document:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# xml pyx # xml pyx
> Convert an XML document to PYX (ESIS - ISO 8879) format. > Convert an XML document to PYX (ESIS - ISO 8879) format.
> More information: <http://xmlstar.sourceforge.net/docs.php>. > More information: <https://xmlstar.sourceforge.net/docs.php>.
- Convert an XML document to PYX format: - Convert an XML document to PYX format:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Select from XML documents using XPATHs. > Select from XML documents using XPATHs.
> Tip: use `xml elements` to display the XPATHs of an XML document. > Tip: use `xml elements` to display the XPATHs of an XML document.
> More information: <http://xmlstar.sourceforge.net/docs.php>. > More information: <https://xmlstar.sourceforge.net/docs.php>.
- Select all elements matching "XPATH1" and print the value of their sub-element "XPATH2": - Select all elements matching "XPATH1" and print the value of their sub-element "XPATH2":

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# xml transform # xml transform
> Transform XML documents using XSLT. > Transform XML documents using XSLT.
> More information: <http://xmlstar.sourceforge.net/docs.php>. > More information: <https://xmlstar.sourceforge.net/docs.php>.
- Transform an XML document using an XSL stylesheet, passing one XPATH parameter and one literal string parameter: - Transform an XML document using an XSL stylesheet, passing one XPATH parameter and one literal string parameter:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# xml unescape # xml unescape
> Unescape special XML characters, e.g. `&lt;a1&gt;` → `<a1>`. > Unescape special XML characters, e.g. `&lt;a1&gt;` → `<a1>`.
> More information: <http://xmlstar.sourceforge.net/docs.php>. > More information: <https://xmlstar.sourceforge.net/docs.php>.
- Unescape special XML characters from a string: - Unescape special XML characters from a string:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# xml validate # xml validate
> Validate XML documents. > Validate XML documents.
> More information: <http://xmlstar.sourceforge.net/docs.php>. > More information: <https://xmlstar.sourceforge.net/docs.php>.
- Validate one or more XML documents for well-formedness only: - Validate one or more XML documents for well-formedness only:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# yacas # yacas
> Yet Another Computer Algebra System. > Yet Another Computer Algebra System.
> More information: <http://www.yacas.org>. > More information: <https://www.yacas.org>.
- Start an interactive `yacas` session: - Start an interactive `yacas` session:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Download videos from YouTube and other websites. > Download videos from YouTube and other websites.
> See also: `yt-dlp`, `ytfzf`, `you-get`. > See also: `yt-dlp`, `ytfzf`, `you-get`.
> More information: <http://rg3.github.io/youtube-dl/>. > More information: <https://rg3.github.io/youtube-dl/>.
- Download a video or playlist: - Download a video or playlist:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# zbarimg # zbarimg
> Scan and decode bar codes from image file(s). > Scan and decode bar codes from image file(s).
> More information: <http://zbar.sourceforge.net>. > More information: <https://zbar.sourceforge.net>.
- Process an image file: - Process an image file:

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Move or rename files matching a specified extended glob pattern. > Move or rename files matching a specified extended glob pattern.
> See also `zcp` and `zln`. > See also `zcp` and `zln`.
> More information: <http://zsh.sourceforge.net/Doc/Release/User-Contributions.html>. > More information: <https://zsh.sourceforge.net/Doc/Release/User-Contributions.html>.
- Move files using a regular expression-like pattern: - Move files using a regular expression-like pattern: