mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-17 09:00:39 +00:00
Update cheatsheets
This commit is contained in:
2
tldr/bc
2
tldr/bc
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
> An arbitrary precision calculator language.
|
> An arbitrary precision calculator language.
|
||||||
> See also: `dc`, `qalc`.
|
> See also: `dc`, `qalc`.
|
||||||
> More information: <https://manned.org/bc.1>.
|
> More information: <https://manned.org/bc>.
|
||||||
|
|
||||||
- Start an interactive session:
|
- Start an interactive session:
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# docker build
|
# docker build
|
||||||
|
|
||||||
> Build an image from a Dockerfile.
|
> Build an image from a Dockerfile.
|
||||||
> More information: <https://docs.docker.com/engine/reference/commandline/build/>.
|
> More information: <https://docs.docker.com/reference/cli/docker/buildx/build/>.
|
||||||
|
|
||||||
- Build a Docker image using the Dockerfile in the current directory:
|
- Build a Docker image using the Dockerfile in the current directory:
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# daemon
|
# daemon
|
||||||
|
|
||||||
> Run processes into daemons.
|
> Run processes into daemons.
|
||||||
> More information: <https://manned.org/man/daemon.1>.
|
> More information: <https://manned.org/daemon>.
|
||||||
|
|
||||||
- Run a command as a daemon:
|
- Run a command as a daemon:
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
> Rename multiple files.
|
> Rename multiple files.
|
||||||
> Note: this page refers to the command from the `prename` Fedora package.
|
> Note: this page refers to the command from the `prename` Fedora package.
|
||||||
> More information: <https://manned.org/man/prename>.
|
> More information: <https://manned.org/prename>.
|
||||||
|
|
||||||
- Rename files using a Perl Common Regular Expression (substitute 'foo' with 'bar' wherever found):
|
- Rename files using a Perl Common Regular Expression (substitute 'foo' with 'bar' wherever found):
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
> Summarize accounting information about commands called by users, including basic information on CPU time spent processing and I/O rates.
|
> Summarize accounting information about commands called by users, including basic information on CPU time spent processing and I/O rates.
|
||||||
> Part of the `acct` package.
|
> Part of the `acct` package.
|
||||||
> More information: <https://manned.org/man/sa.8>.
|
> More information: <https://manned.org/sa.8>.
|
||||||
|
|
||||||
- Display executable invocations per user (username not displayed):
|
- Display executable invocations per user (username not displayed):
|
||||||
|
|
||||||
|
|||||||
2
tldr/nc
2
tldr/nc
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# nc
|
# nc
|
||||||
|
|
||||||
> Redirect I/O into a network stream through this versatile tool.
|
> Redirect I/O into a network stream through this versatile tool.
|
||||||
> More information: <https://manned.org/nc.1>.
|
> More information: <https://manned.org/nc>.
|
||||||
|
|
||||||
- Start a listener on the specified TCP port and send a file into it:
|
- Start a listener on the specified TCP port and send a file into it:
|
||||||
|
|
||||||
|
|||||||
@@ -10,15 +10,15 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
- Print a summary for an image (width, height, and color depth):
|
- Print a summary for an image (width, height, and color depth):
|
||||||
|
|
||||||
`pngcheck {{image.png}}`
|
`pngcheck {{path/to/image.png}}`
|
||||||
|
|
||||||
- Print information for an image with [c]olorized output:
|
- Print information for an image with [c]olorized output:
|
||||||
|
|
||||||
`pngcheck -c {{image.png}}`
|
`pngcheck -c {{path/to/image.png}}`
|
||||||
|
|
||||||
- Print [v]erbose information for an image:
|
- Print [v]erbose information for an image:
|
||||||
|
|
||||||
`pngcheck -cvt {{image.png}}`
|
`pngcheck -cvt {{path/to/image.png}}`
|
||||||
|
|
||||||
- Receive an image from `stdin` and display detailed information:
|
- Receive an image from `stdin` and display detailed information:
|
||||||
|
|
||||||
@@ -26,8 +26,8 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
- [s]earch for PNGs within a specific file and display information about them:
|
- [s]earch for PNGs within a specific file and display information about them:
|
||||||
|
|
||||||
`pngcheck -s {{image.png}}`
|
`pngcheck -s {{path/to/image.png}}`
|
||||||
|
|
||||||
- Search for PNGs within another file and e[x]tract them:
|
- Search for PNGs within another file and e[x]tract them:
|
||||||
|
|
||||||
`pngcheck -x {{image.png}}`
|
`pngcheck -x {{path/to/image.png}}`
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# shar
|
# shar
|
||||||
|
|
||||||
> Create a shell archive.
|
> Create a shell archive.
|
||||||
> More information: <https://manned.org/man/freebsd/shar>.
|
> More information: <https://manned.org/shar>.
|
||||||
|
|
||||||
- Create a shell script that when executed extracts the given files from itself:
|
- Create a shell script that when executed extracts the given files from itself:
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# touch
|
# touch
|
||||||
|
|
||||||
> Create files and set access/modification times.
|
> Create files and set access/modification times.
|
||||||
> More information: <https://manned.org/man/freebsd-13.1/touch>.
|
> More information: <https://manned.org/touch>.
|
||||||
|
|
||||||
- Create specific files:
|
- Create specific files:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user