From b755e726c8b452066bf3bc3b5334f462eac37d20 Mon Sep 17 00:00:00 2001 From: Ruben Vereecken Date: Thu, 7 Jan 2016 16:51:03 +0100 Subject: [PATCH] Fixed annoyingly incorrect file syntaxes --- pages/common/git-checkout.md | 2 +- pages/common/passwd.md | 8 ++++---- pages/common/salt.md | 6 +++--- pages/common/sed.md | 3 +-- pages/common/touch.md | 6 +++--- pages/common/ufraw-batch.md | 8 ++++---- 6 files changed, 16 insertions(+), 17 deletions(-) diff --git a/pages/common/git-checkout.md b/pages/common/git-checkout.md index 0fddd7711..2e1e5a64a 100644 --- a/pages/common/git-checkout.md +++ b/pages/common/git-checkout.md @@ -12,4 +12,4 @@ - Undo unstaged local modification -`git checkout .` \ No newline at end of file +`git checkout .` diff --git a/pages/common/passwd.md b/pages/common/passwd.md index e4ebbe043..ddf4893e7 100644 --- a/pages/common/passwd.md +++ b/pages/common/passwd.md @@ -2,18 +2,18 @@ > passwd is a tool used to change a user's password. -* Change the password of the current user +- Change the password of the current user `passwd {{new password}}` -* Change the password of the specified user +- Change the password of the specified user `passwd {{username}} {{new password}}` -* Get the current statuts of the user +- Get the current statuts of the user `passwd -S` -* Make the password of the account blank (it will set the named account passwordless) +- Make the password of the account blank (it will set the named account passwordless) `passwd -d` diff --git a/pages/common/salt.md b/pages/common/salt.md index 4044e9275..b11b24759 100644 --- a/pages/common/salt.md +++ b/pages/common/salt.md @@ -8,12 +8,12 @@ - Execute a highstate on all connected minions: -`salt '*' state.highstate +`salt '*' state.highstate` - Upgrade packages using the OS package manager (apt, yum, brew) on a subset of minions -`salt '*.domain.com' pkg.upgrade +`salt '*.domain.com' pkg.upgrade` - Execute an arbitrary command on a particular minion: -`salt '{{minion_id}}' cmd.run "ls " +`salt '{{minion_id}}' cmd.run "ls "` diff --git a/pages/common/sed.md b/pages/common/sed.md index 249d9d58a..6ae128e8f 100644 --- a/pages/common/sed.md +++ b/pages/common/sed.md @@ -6,8 +6,7 @@ `sed 's/{{find}}/{{replace}}/g' {{filename}}` -- replace all occurrences of a string in a file, and overwrite the file - contents +- replace all occurrences of a string in a file, and overwrite the file contents `sed -i 's/{{find}}/{{replace}}/g' {{filename}}` diff --git a/pages/common/touch.md b/pages/common/touch.md index fb7c4e116..5838b67a9 100644 --- a/pages/common/touch.md +++ b/pages/common/touch.md @@ -2,14 +2,14 @@ > Change a file access and modification times (atime, mtime) -- Create a new empty file(s) or change the times for existing file(s) to current time.` +- Create a new empty file(s) or change the times for existing file(s) to current time. `touch {{filename}}` - Set the times on a file to those specified -`touch -t 201412250801.59 {{filename}} -`touch -t {{YYYYMMDDHHMM.SS}} {{filename}} +`touch -t 201412250801.59 {{filename}}` +`touch -t {{YYYYMMDDHHMM.SS}} {{filename}}` - Set the times on a file to match those on second file diff --git a/pages/common/ufraw-batch.md b/pages/common/ufraw-batch.md index c067fa176..49f6dcd05 100644 --- a/pages/common/ufraw-batch.md +++ b/pages/common/ufraw-batch.md @@ -4,16 +4,16 @@ - Simply convert RAW files to jpg. -``ufraw-batch --out-type=jpg {{input-file(s)}}`` +`ufraw-batch --out-type=jpg {{input-file(s)}}` - Simply convert RAW files to png. -``ufraw-batch --out-type=png {{input-file(s)}}`` +`ufraw-batch --out-type=png {{input-file(s)}}` - Extract the preview image from the raw file. -``ufraw-batch --embedded-image {{input-file(s)}}`` +`ufraw-batch --embedded-image {{input-file(s)}}` - Save the file with size up to the given maximums MAX1 and MAX2. -``ufraw-batch --size=MAX1,MAX2 {{input-file(s)}}`` +`ufraw-batch --size=MAX1,MAX2 {{input-file(s)}}`