diff --git a/tldr/git-add b/tldr/git-add index e5999f20..2b1a411c 100644 --- a/tldr/git-add +++ b/tldr/git-add @@ -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` diff --git a/tldr/grep b/tldr/grep index 4f38a847..2857b7c0 100644 --- a/tldr/grep +++ b/tldr/grep @@ -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: diff --git a/tldr/linux/lvremove b/tldr/linux/lvremove index 46871de1..a9fc8886 100644 --- a/tldr/linux/lvremove +++ b/tldr/linux/lvremove @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Remove logical volumes. > See also: `lvm`. -> More information: . +> More information: . - Remove a logical volume in a volume group: diff --git a/tldr/linux/poweroff b/tldr/linux/poweroff index d278c8dc..7e3d7c38 100644 --- a/tldr/linux/poweroff +++ b/tldr/linux/poweroff @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # poweroff > Power off the system. -> More information: . +> More information: . - Power off the system: diff --git a/tldr/linux/pvcreate b/tldr/linux/pvcreate index fc5742ea..0b9eb25f 100644 --- a/tldr/linux/pvcreate +++ b/tldr/linux/pvcreate @@ -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: . +> More information: . - Initialize the `/dev/sda1` volume for use by LVM: diff --git a/tldr/linux/pvdisplay b/tldr/linux/pvdisplay index 941b2b87..e1928686 100644 --- a/tldr/linux/pvdisplay +++ b/tldr/linux/pvdisplay @@ -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: . +> More information: . - Display information about all physical volumes: diff --git a/tldr/linux/pvs b/tldr/linux/pvs index ba51e68a..acbcac01 100644 --- a/tldr/linux/pvs +++ b/tldr/linux/pvs @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Display information about physical volumes. > See also: `lvm`. -> More information: . +> More information: . - Display information about physical volumes: diff --git a/tldr/linux/vgcreate b/tldr/linux/vgcreate index 84295c59..3e0a1fd4 100644 --- a/tldr/linux/vgcreate +++ b/tldr/linux/vgcreate @@ -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: . +> More information: . - Create a new volume group called vg1 using the `/dev/sda1` device: diff --git a/tldr/linux/vgdisplay b/tldr/linux/vgdisplay index 51d5a650..20120dba 100644 --- a/tldr/linux/vgdisplay +++ b/tldr/linux/vgdisplay @@ -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: . +> More information: . - Display information about all volume groups: diff --git a/tldr/linux/vgs b/tldr/linux/vgs index eecfa9b1..408653bb 100644 --- a/tldr/linux/vgs +++ b/tldr/linux/vgs @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Display information about volume groups. > See also: `lvm`. -> More information: . +> More information: . - Display information about volume groups: diff --git a/tldr/osx/sntpd b/tldr/osx/sntpd index fe259629..fccdac0e 100644 --- a/tldr/osx/sntpd +++ b/tldr/osx/sntpd @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > An SNTP server. > It should not be invoked manually. -> More information: . +> More information: . - Start the daemon: