mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-06 05:44:37 +00:00
Update cheatsheets
This commit is contained in:
@@ -16,6 +16,10 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`git add -A`
|
||||
|
||||
- Add all files in the current folder:
|
||||
|
||||
`git add .`
|
||||
|
||||
- Only add already tracked files:
|
||||
|
||||
`git add -u`
|
||||
|
||||
@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Print 3 lines of context around, before, or after each match:
|
||||
|
||||
`grep --{{context|before-context|after-context}} {{3}} "{{search_pattern}}" {{path/to/file}}`
|
||||
`grep --{{context|before-context|after-context}} 3 "{{search_pattern}}" {{path/to/file}}`
|
||||
|
||||
- Print file name and line number for each match with color output:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Remove logical volumes.
|
||||
> See also: `lvm`.
|
||||
> More information: <https://man7.org/linux/man-pages/man8/lvremove.8.html>.
|
||||
> More information: <https://manned.org/lvremove>.
|
||||
|
||||
- Remove a logical volume in a volume group:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# poweroff
|
||||
|
||||
> Power off the system.
|
||||
> More information: <https://www.man7.org/linux/man-pages/man8/poweroff.8.html>.
|
||||
> More information: <https://www.manned.org/poweroff>.
|
||||
|
||||
- Power off the system:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Initialize a disk or partition for use as a physical volume.
|
||||
> See also: `lvm`.
|
||||
> More information: <https://man7.org/linux/man-pages/man8/pvcreate.8.html>.
|
||||
> More information: <https://manned.org/pvcreate>.
|
||||
|
||||
- Initialize the `/dev/sda1` volume for use by LVM:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Display information about Logical Volume Manager (LVM) physical volumes.
|
||||
> See also: `lvm`.
|
||||
> More information: <https://man7.org/linux/man-pages/man8/pvdisplay.8.html>.
|
||||
> More information: <https://manned.org/pvdisplay>.
|
||||
|
||||
- Display information about all physical volumes:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Display information about physical volumes.
|
||||
> See also: `lvm`.
|
||||
> More information: <https://man7.org/linux/man-pages/man8/pvs.8.html>.
|
||||
> More information: <https://manned.org/pvs>.
|
||||
|
||||
- Display information about physical volumes:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Create volume groups combining multiple mass-storage devices.
|
||||
> See also: `lvm`.
|
||||
> More information: <https://man7.org/linux/man-pages/man8/vgcreate.8.html>.
|
||||
> More information: <https://manned.org/vgcreate>.
|
||||
|
||||
- Create a new volume group called vg1 using the `/dev/sda1` device:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Display information about Logical Volume Manager (LVM) volume groups.
|
||||
> See also: `lvm`.
|
||||
> More information: <https://man7.org/linux/man-pages/man8/vgdisplay.8.html>.
|
||||
> More information: <https://manned.org/vgdisplay>.
|
||||
|
||||
- Display information about all volume groups:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Display information about volume groups.
|
||||
> See also: `lvm`.
|
||||
> More information: <https://man7.org/linux/man-pages/man8/vgs.8.html>.
|
||||
> More information: <https://manned.org/vgs>.
|
||||
|
||||
- Display information about volume groups:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> An SNTP server.
|
||||
> It should not be invoked manually.
|
||||
> More information: <https://linux.die.net/man/8/snmpd>.
|
||||
> More information: <https://keith.github.io/xcode-man-pages/sntpd.8.html>.
|
||||
|
||||
- Start the daemon:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user