From 3e1df9f818b1c0751b2db2379388378df85efa19 Mon Sep 17 00:00:00 2001 From: lord63 Date: Thu, 22 Oct 2015 15:21:14 +0800 Subject: [PATCH 1/2] Fix lint for osx --- pages/osx/du.md | 2 +- pages/osx/sysctl.md | 2 +- pages/osx/wacaw.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/osx/du.md b/pages/osx/du.md index 32caa80f2..065f01c65 100644 --- a/pages/osx/du.md +++ b/pages/osx/du.md @@ -14,6 +14,6 @@ `du -ah {{directory}}` -- list the KB sizes of directories for N levels below the specified directory +- list the KB sizes of directories for N levels below the specified directory `du -k -depth=1 {{directory}}` diff --git a/pages/osx/sysctl.md b/pages/osx/sysctl.md index ca21de6b2..6c5bcc3c4 100644 --- a/pages/osx/sysctl.md +++ b/pages/osx/sysctl.md @@ -18,7 +18,7 @@ `sysctl -n machdep.cpu.feature` -- Set a changeable kernel state variable +- Set a changeable kernel state variable `sysctl -w name=value` `sysctl -w kern.maxfiles=15000` diff --git a/pages/osx/wacaw.md b/pages/osx/wacaw.md index 5076fe22a..b5bbe8adc 100644 --- a/pages/osx/wacaw.md +++ b/pages/osx/wacaw.md @@ -1,4 +1,4 @@ -#WACAW +# wacaw > a little command-line tool for Mac OS X that allows you to capture both still pictures and video from an attached camera. From 56a7cba6568fcdaaeca2ddf0b80341cfc7de6285 Mon Sep 17 00:00:00 2001 From: lord63 Date: Thu, 22 Oct 2015 15:31:52 +0800 Subject: [PATCH 2/2] Fix lint for common --- pages/common/alias.md | 4 ++-- pages/common/ar.md | 4 ++-- pages/common/bundle.md | 2 +- pages/common/chmod.md | 2 +- pages/common/chown.md | 4 ++-- pages/common/chsh.md | 2 +- pages/common/cksum.md | 2 +- pages/common/convert.md | 4 ++-- pages/common/cp.md | 2 +- pages/common/curl.md | 2 +- pages/common/diff.md | 2 +- pages/common/fdupes.md | 2 +- pages/common/ffmpeg.md | 2 +- pages/common/fswebcam.md | 2 +- pages/common/gem.md | 2 +- pages/common/git-add.md | 2 +- pages/common/git-branch.md | 2 +- pages/common/git-checkout.md | 4 ++-- pages/common/git-clone.md | 4 ++-- pages/common/git-commit.md | 4 ++-- pages/common/git-diff.md | 2 +- pages/common/git-init.md | 4 ++-- pages/common/git-log.md | 2 +- pages/common/git-merge.md | 4 ++-- pages/common/git-push.md | 2 +- pages/common/git-remote.md | 2 +- pages/common/git-status.md | 4 ++-- pages/common/git.md | 4 ++-- pages/common/gpg.md | 2 +- pages/common/grep.md | 4 ++-- pages/common/gzip.md | 4 ++-- pages/common/handbrakecli.md | 4 ++-- pages/common/haxelib.md | 2 +- pages/common/ipcs.md | 4 ++-- pages/common/mp4box.md | 2 +- pages/common/mtr.md | 2 +- pages/common/mysql.md | 2 +- pages/common/mysqldump.md | 2 +- pages/common/nc.md | 2 +- pages/common/node.md | 4 ++-- pages/common/passwd.md | 2 +- pages/common/patch.md | 2 +- pages/common/pgrep.md | 2 +- pages/common/rename.md | 2 +- pages/common/rsync.md | 2 +- pages/common/salt-call.md | 1 + pages/common/salt-key.md | 1 + pages/common/salt-run.md | 2 +- pages/common/salt.md | 2 +- pages/common/screen.md | 2 +- pages/common/ssh.md | 6 +++--- pages/common/sudo.md | 1 - pages/common/svn.md | 4 ++-- pages/common/tee.md | 2 +- pages/common/touch.md | 2 +- pages/common/wget.md | 2 +- pages/common/which.md | 2 +- pages/common/zpool.md | 2 +- 58 files changed, 76 insertions(+), 75 deletions(-) diff --git a/pages/common/alias.md b/pages/common/alias.md index 19adaa6e7..229837893 100644 --- a/pages/common/alias.md +++ b/pages/common/alias.md @@ -1,6 +1,6 @@ # alias -> Creates an alias for a word when used +> Creates an alias for a word when used > as the first word of a command - creating a generic alias @@ -21,4 +21,4 @@ - overriding la as ls -a -`alias {{la}}="{{ls -a}}"` \ No newline at end of file +`alias {{la}}="{{ls -a}}"` diff --git a/pages/common/ar.md b/pages/common/ar.md index c250dbb0d..d52f32256 100644 --- a/pages/common/ar.md +++ b/pages/common/ar.md @@ -1,4 +1,4 @@ -#ar +# ar > Create, modify, and extract from archives (.a .so .o) @@ -8,4 +8,4 @@ - List the content (files) of libfoo.a -`ar -t libfoo.a` \ No newline at end of file +`ar -t libfoo.a` diff --git a/pages/common/bundle.md b/pages/common/bundle.md index f19512ea5..84925f87f 100644 --- a/pages/common/bundle.md +++ b/pages/common/bundle.md @@ -1,4 +1,4 @@ -#bundle +# bundle > Dependency manager for the Ruby programming language. diff --git a/pages/common/chmod.md b/pages/common/chmod.md index 8690435b5..602f2a9ea 100644 --- a/pages/common/chmod.md +++ b/pages/common/chmod.md @@ -10,7 +10,7 @@ `chmod u+rw {{file}}` -- Remove executable rights from the (g)roup +- Remove executable rights from the (g)roup `chmod g-x {{file}}` diff --git a/pages/common/chown.md b/pages/common/chown.md index 4bbc69dd9..bf2f1f859 100644 --- a/pages/common/chown.md +++ b/pages/common/chown.md @@ -7,7 +7,7 @@ `chown {{user}} {{path/to/file}}` - change the user and group of a file - + `chown {{user}}:{{group}} {{path/to/file}}` - recursively change the owner of an entire folder @@ -15,7 +15,7 @@ `chown -R {{user}} {{path/to/folder}}` - change the owner of a symbolic link - + `chown -h {{user}} {{path/to/symlink}}` - use the owner and group of a reference file and apply those values to another file diff --git a/pages/common/chsh.md b/pages/common/chsh.md index 4a7ccb6b6..cb73e03fa 100644 --- a/pages/common/chsh.md +++ b/pages/common/chsh.md @@ -1,4 +1,4 @@ -#CHSH +# chsh > Change user's login shell diff --git a/pages/common/cksum.md b/pages/common/cksum.md index c813e8ae0..7572b441b 100644 --- a/pages/common/cksum.md +++ b/pages/common/cksum.md @@ -1,7 +1,7 @@ # cksum > Calculates CRC checksums and byte counts of a file -> Note, on old UNIX systems the CRC implementation may differ. +> Note, on old UNIX systems the CRC implementation may differ. - Display a 32 bit checksum, size in bytes and filename diff --git a/pages/common/convert.md b/pages/common/convert.md index 4183f151f..8c4e9f461 100644 --- a/pages/common/convert.md +++ b/pages/common/convert.md @@ -6,10 +6,10 @@ `convert {{image.jpg}} {{image.png}}` -- Scale an image 50% it's original size +- Scale an image 50% it's original size `convert {{image.png}} -resize 50% {{image2.png}}` -- Horizontally append images +- Horizontally append images `convert {{image1.png}} {{image2.png}} {{image3.png}} +append {{image123.png}}` diff --git a/pages/common/cp.md b/pages/common/cp.md index d99ba9ee9..789a371a5 100644 --- a/pages/common/cp.md +++ b/pages/common/cp.md @@ -15,7 +15,7 @@ `cp -r {{/path/to/original}} {{/path/to/copy}}` `cp -vr {{/path/to/original}} {{/path/to/copy}}` -- Make a copy of a file adding and extension or changing an extension +- Make a copy of a file adding and extension or changing an extension `cp {{file.html}}\{,.backup\}` `cp file.\{html,backup\}` diff --git a/pages/common/curl.md b/pages/common/curl.md index 5e55c515c..d0ee68265 100644 --- a/pages/common/curl.md +++ b/pages/common/curl.md @@ -5,7 +5,7 @@ - Download a URL to a file -`curl "{{URL}}" -o filename` +`curl "{{URL}}" -o filename` - send form-encoded data diff --git a/pages/common/diff.md b/pages/common/diff.md index c75b2e089..71a185f88 100644 --- a/pages/common/diff.md +++ b/pages/common/diff.md @@ -18,6 +18,6 @@ `diff -r {{directory1}} {{directory2}}` -- Compare directories, only showing the names of files that differ +- Compare directories, only showing the names of files that differ `diff -rq {{directory1}} {{directory2}}` diff --git a/pages/common/fdupes.md b/pages/common/fdupes.md index 74221e0cf..88b80ad0c 100644 --- a/pages/common/fdupes.md +++ b/pages/common/fdupes.md @@ -1,6 +1,6 @@ # fdupes -> Finds duplicate files in a given +> Finds duplicate files in a given > set of directories - search a single directory diff --git a/pages/common/ffmpeg.md b/pages/common/ffmpeg.md index 73d745cbf..87d0e8671 100644 --- a/pages/common/ffmpeg.md +++ b/pages/common/ffmpeg.md @@ -6,7 +6,7 @@ `ffmpeg -i {{video-filename}} -vn -ar 44100 -ac 2 -ab 192 -f mp3 {{sound.mp3}}` -- Convert frames from a video into individual numbered images +- Convert frames from a video into individual numbered images `ffmpeg -i {{video-filename}} {{image%d.png}}` diff --git a/pages/common/fswebcam.md b/pages/common/fswebcam.md index 46d9fc739..27cf70bcc 100644 --- a/pages/common/fswebcam.md +++ b/pages/common/fswebcam.md @@ -1,4 +1,4 @@ -#FSWEBCAM +# fswebcam > small and simple webcam for *nix diff --git a/pages/common/gem.md b/pages/common/gem.md index fbc3d8c7b..44a71ea82 100644 --- a/pages/common/gem.md +++ b/pages/common/gem.md @@ -1,4 +1,4 @@ -#gem +# gem > Interact with the package manager for the Ruby programming language. diff --git a/pages/common/git-add.md b/pages/common/git-add.md index e505ca9d4..27056845d 100644 --- a/pages/common/git-add.md +++ b/pages/common/git-add.md @@ -1,4 +1,4 @@ -#git add +# git add > Adds changed files to the index diff --git a/pages/common/git-branch.md b/pages/common/git-branch.md index 3ce245e80..f44573bb5 100644 --- a/pages/common/git-branch.md +++ b/pages/common/git-branch.md @@ -1,4 +1,4 @@ -#git branch +# git branch > Main command for working with branches diff --git a/pages/common/git-checkout.md b/pages/common/git-checkout.md index 0e61e4434..672c5ff04 100644 --- a/pages/common/git-checkout.md +++ b/pages/common/git-checkout.md @@ -1,4 +1,4 @@ -#git checkout +# git checkout > Checkout a branch or paths to the working tree @@ -8,4 +8,4 @@ - Create and switch to a new branch -`git checkout -b {{BRANCH-NAME}}` \ No newline at end of file +`git checkout -b {{BRANCH-NAME}}` diff --git a/pages/common/git-clone.md b/pages/common/git-clone.md index 28c9d528d..c8425c543 100644 --- a/pages/common/git-clone.md +++ b/pages/common/git-clone.md @@ -1,4 +1,4 @@ -#git clone +# git clone > Clone an existing repository @@ -12,4 +12,4 @@ - Do it quietly -`git clone -q` \ No newline at end of file +`git clone -q` diff --git a/pages/common/git-commit.md b/pages/common/git-commit.md index 030264671..ffb97726b 100644 --- a/pages/common/git-commit.md +++ b/pages/common/git-commit.md @@ -1,4 +1,4 @@ -#git commit +# git commit >Commit staged files to the repository @@ -8,4 +8,4 @@ - Replace the last commit with currently staged changes -`git commit --amend` \ No newline at end of file +`git commit --amend` diff --git a/pages/common/git-diff.md b/pages/common/git-diff.md index d76b12e44..9eea98161 100644 --- a/pages/common/git-diff.md +++ b/pages/common/git-diff.md @@ -1,4 +1,4 @@ -#git diff +# git diff > Show changes to tracked files diff --git a/pages/common/git-init.md b/pages/common/git-init.md index 8dce8a41e..7c3c12b97 100644 --- a/pages/common/git-init.md +++ b/pages/common/git-init.md @@ -1,4 +1,4 @@ -#git init +# git init > Initializes a new local Git repository @@ -8,4 +8,4 @@ - Initialize a barebones repository -`git init --bare` \ No newline at end of file +`git init --bare` diff --git a/pages/common/git-log.md b/pages/common/git-log.md index 78ce6e160..4f5f29ef9 100644 --- a/pages/common/git-log.md +++ b/pages/common/git-log.md @@ -1,4 +1,4 @@ -#git log +# git log >Show a history of commits diff --git a/pages/common/git-merge.md b/pages/common/git-merge.md index 4f69dfbc9..896874f12 100644 --- a/pages/common/git-merge.md +++ b/pages/common/git-merge.md @@ -1,4 +1,4 @@ -#git merge +# git merge > Merge branches @@ -8,4 +8,4 @@ - Edit the merge message -`git merge -e {{BRANCH-NAME}}` \ No newline at end of file +`git merge -e {{BRANCH-NAME}}` diff --git a/pages/common/git-push.md b/pages/common/git-push.md index 1f6a8d781..97cbe40f5 100644 --- a/pages/common/git-push.md +++ b/pages/common/git-push.md @@ -1,4 +1,4 @@ -#git push +# git push > Push commits to a remote repository diff --git a/pages/common/git-remote.md b/pages/common/git-remote.md index d5f8ae058..66ea744b1 100644 --- a/pages/common/git-remote.md +++ b/pages/common/git-remote.md @@ -1,4 +1,4 @@ -#git remote +# git remote > Manage set of tracked repositories (“remotes”) diff --git a/pages/common/git-status.md b/pages/common/git-status.md index f52cea84e..b17c489a6 100644 --- a/pages/common/git-status.md +++ b/pages/common/git-status.md @@ -1,4 +1,4 @@ -#git status +# git status > Show the index (changed files) @@ -8,4 +8,4 @@ - Give output in short format -`git status -s` \ No newline at end of file +`git status -s` diff --git a/pages/common/git.md b/pages/common/git.md index b2033a4b9..94901d793 100644 --- a/pages/common/git.md +++ b/pages/common/git.md @@ -1,4 +1,4 @@ -#git +# git > Main command for all `git` commands @@ -16,4 +16,4 @@ - Execute Git command -`git {{COMMAND}}` \ No newline at end of file +`git {{COMMAND}}` diff --git a/pages/common/gpg.md b/pages/common/gpg.md index 06cfc9f8b..3f345a0d7 100644 --- a/pages/common/gpg.md +++ b/pages/common/gpg.md @@ -20,4 +20,4 @@ - Import a public key -`gpg --import {{public.gpg}}` +`gpg --import {{public.gpg}}` diff --git a/pages/common/grep.md b/pages/common/grep.md index 9f6a7c0f1..8b1a2ed37 100644 --- a/pages/common/grep.md +++ b/pages/common/grep.md @@ -4,7 +4,7 @@ > Supports simple patterns and regular expressions - search for an exact string - + `grep {{something}} {{file_path}}` - search recursively in current directory for an exact string @@ -19,7 +19,7 @@ `grep -C 3 {{something}} {{file_path}}` -- print the count of matches instead of the matching text +- print the count of matches instead of the matching text `grep -c {{something}} {{file_path}}` diff --git a/pages/common/gzip.md b/pages/common/gzip.md index 87e913cae..560164108 100644 --- a/pages/common/gzip.md +++ b/pages/common/gzip.md @@ -1,6 +1,6 @@ # gzip -> Compress/uncompress files with gzip compression (LZ77) +> Compress/uncompress files with gzip compression (LZ77) - compress a file, replacing it with a gzipped compressed version @@ -20,4 +20,4 @@ - specify the compression level. 1=Fastest (Worst), 9=Slowest (Best), Default level is 6 -`gzip -9 -c {{file.ext}} > compressed-file.ext.gz` \ No newline at end of file +`gzip -9 -c {{file.ext}} > compressed-file.ext.gz` diff --git a/pages/common/handbrakecli.md b/pages/common/handbrakecli.md index 81cf73bc2..be39a6136 100644 --- a/pages/common/handbrakecli.md +++ b/pages/common/handbrakecli.md @@ -10,10 +10,10 @@ `HandBrakeCLI -i {{input.mp4}} -o {{output.mp4} -w 320 -l 240` -- List available presets +- List available presets `HandBrakeCLI --preset-list` - Convert an AVI video to MP4 using the Android preset -`HandBrakeCLI --preset="Android" -i {{input.ext}} -o {{output.mp4}}` +`HandBrakeCLI --preset="Android" -i {{input.ext}} -o {{output.mp4}}` diff --git a/pages/common/haxelib.md b/pages/common/haxelib.md index b8ce9a3fc..0f9943cff 100644 --- a/pages/common/haxelib.md +++ b/pages/common/haxelib.md @@ -10,7 +10,7 @@ `haxelib install {{libname}}` -- Upgrade all installed Haxe libraries +- Upgrade all installed Haxe libraries `haxelib upgrade` diff --git a/pages/common/ipcs.md b/pages/common/ipcs.md index 267828206..d5318bb80 100644 --- a/pages/common/ipcs.md +++ b/pages/common/ipcs.md @@ -1,4 +1,4 @@ -#ipcs +# ipcs > Display information about ressources used in IPC (Inter-process Communication) @@ -8,4 +8,4 @@ - General information about all the IPC -`ipcs -a` \ No newline at end of file +`ipcs -a` diff --git a/pages/common/mp4box.md b/pages/common/mp4box.md index fe185f411..339c4ebb0 100644 --- a/pages/common/mp4box.md +++ b/pages/common/mp4box.md @@ -6,7 +6,7 @@ `MP4Box -info {{filename}}` -- Add an SRT subtitle file into an MP4 file +- Add an SRT subtitle file into an MP4 file `MP4Box -add {{input-subs.srt}}:lang=eng -add {{input.mp4}} {{output.mp4}}` diff --git a/pages/common/mtr.md b/pages/common/mtr.md index 47e5c61c3..af19885b8 100644 --- a/pages/common/mtr.md +++ b/pages/common/mtr.md @@ -10,7 +10,7 @@ `mtr -n {{host}}` -- Generate output after pinging each hop 10 times +- Generate output after pinging each hop 10 times `mtr -w {{host}}` diff --git a/pages/common/mysql.md b/pages/common/mysql.md index 7170969dc..8fe41fd52 100644 --- a/pages/common/mysql.md +++ b/pages/common/mysql.md @@ -1,6 +1,6 @@ # mysql -> the MySQL command-line tool +> the MySQL command-line tool - Connect to a database diff --git a/pages/common/mysqldump.md b/pages/common/mysqldump.md index 6e9ffa426..994edb5ad 100644 --- a/pages/common/mysqldump.md +++ b/pages/common/mysqldump.md @@ -1,6 +1,6 @@ # mysqldump -> Backups mysql databases +> Backups mysql databases - creating a backup diff --git a/pages/common/nc.md b/pages/common/nc.md index ddca98046..a1a6a3bdc 100644 --- a/pages/common/nc.md +++ b/pages/common/nc.md @@ -10,7 +10,7 @@ `nc {{ip_address}} {{port}}` -- set a timeout +- set a timeout `nc -w {{timeout_in_seconds}} {{ipaddress}} {{port}}` diff --git a/pages/common/node.md b/pages/common/node.md index 4384edfd7..c8bcb96d0 100644 --- a/pages/common/node.md +++ b/pages/common/node.md @@ -1,4 +1,4 @@ -#node +# node >Main node command @@ -8,4 +8,4 @@ - Execute node on a JS file -`node {{FILENAME}}.js` \ No newline at end of file +`node {{FILENAME}}.js` diff --git a/pages/common/passwd.md b/pages/common/passwd.md index bef85ddfd..e4ebbe043 100644 --- a/pages/common/passwd.md +++ b/pages/common/passwd.md @@ -1,4 +1,4 @@ -#passwd +# passwd > passwd is a tool used to change a user's password. diff --git a/pages/common/patch.md b/pages/common/patch.md index 70e900fa6..b275158b9 100644 --- a/pages/common/patch.md +++ b/pages/common/patch.md @@ -1,4 +1,4 @@ -#patch +# patch > Patch a file (or files) with a diff file. > Note that diff files contain both the target filenames and list of changes. diff --git a/pages/common/pgrep.md b/pages/common/pgrep.md index c82b856c4..6929ab6b9 100644 --- a/pages/common/pgrep.md +++ b/pages/common/pgrep.md @@ -2,7 +2,7 @@ > Find or signal process by name -- return PIDs of any running processes with a matching command string +- return PIDs of any running processes with a matching command string `pgrep {{Finder}}` diff --git a/pages/common/rename.md b/pages/common/rename.md index caa35fe4f..60d9911ab 100644 --- a/pages/common/rename.md +++ b/pages/common/rename.md @@ -12,7 +12,7 @@ - Replace whitespace with underscores -`rename --nows {{*.txt}}` +`rename --nows {{*.txt}}` `rename 's/\s+/_/g' {{*.txt}}` - No action, just show what renames would occur diff --git a/pages/common/rsync.md b/pages/common/rsync.md index 69605fcf0..5c2181418 100644 --- a/pages/common/rsync.md +++ b/pages/common/rsync.md @@ -20,6 +20,6 @@ `rsync -r mike@devbox:~/projects/cakeStore /Users/mike/devProjects/` -- transfer file over SSH and show progress +- transfer file over SSH and show progress `rsync -e ssh --progress {{remote_host_name}}:{{remote_file}} {{local_file}}` diff --git a/pages/common/salt-call.md b/pages/common/salt-call.md index c76c46b64..82be787b2 100644 --- a/pages/common/salt-call.md +++ b/pages/common/salt-call.md @@ -1,4 +1,5 @@ # salt-key + > Invoke salt locally on a salt minion. - Perform a highstate on this minion diff --git a/pages/common/salt-key.md b/pages/common/salt-key.md index 47346cbca..5f5ed64c3 100644 --- a/pages/common/salt-key.md +++ b/pages/common/salt-key.md @@ -1,4 +1,5 @@ # salt-key + > Manages salt minion keys on the salt master > Needs to be run on the salt master, likely as root or with sudo diff --git a/pages/common/salt-run.md b/pages/common/salt-run.md index 58c3e59d1..67629ee98 100644 --- a/pages/common/salt-run.md +++ b/pages/common/salt-run.md @@ -1,4 +1,4 @@ -#salt-run +# salt-run >Frontend for executing salt-runners on minions diff --git a/pages/common/salt.md b/pages/common/salt.md index b6d076c37..4044e9275 100644 --- a/pages/common/salt.md +++ b/pages/common/salt.md @@ -1,4 +1,4 @@ -#salt +# salt >Execute commands and assert state on remote salt minions. diff --git a/pages/common/screen.md b/pages/common/screen.md index e73491348..430670684 100644 --- a/pages/common/screen.md +++ b/pages/common/screen.md @@ -2,7 +2,7 @@ > Hold a session open on a remote server. Manage multiple windows with a single SSH connection. -- Start a new screen session +- Start a new screen session `screen` diff --git a/pages/common/ssh.md b/pages/common/ssh.md index 2d44d218c..c34da4e26 100644 --- a/pages/common/ssh.md +++ b/pages/common/ssh.md @@ -16,10 +16,10 @@ `ssh {{username}}@{{remote_host}} -p {{2222}}` - run a command on a remote server - + `ssh {{remote_host}} "{{command -with -flags}}"` -- ssh tunneling: dynamic port forwarding (SOCKS proxy on localhost:9999) +- ssh tunneling: dynamic port forwarding (SOCKS proxy on localhost:9999) `ssh -D {{9999}} -C {{username}}@{{remote_host}}` @@ -27,6 +27,6 @@ `ssh -L {{9999}}:slashdot.org:80 {{username}}@{{remote_host}}` -- ssh enable agent forward +- ssh enable agent forward `ssh -A {{username}}@{{remote_host}}` diff --git a/pages/common/sudo.md b/pages/common/sudo.md index f2dbba1f8..2dc63430a 100644 --- a/pages/common/sudo.md +++ b/pages/common/sudo.md @@ -6,7 +6,6 @@ `sudo {{ls}} {{/usr/local/scrt}}` - - To edit a file as user www: `sudo -u {{www}} {{vi}} {{/var/www/index.html}}` diff --git a/pages/common/svn.md b/pages/common/svn.md index c781fabfe..21c952609 100644 --- a/pages/common/svn.md +++ b/pages/common/svn.md @@ -2,7 +2,7 @@ > Subversion command line client tool -- Check out a working copy from a repository +- Check out a working copy from a repository `svn co {{url/to/repository}}` @@ -16,7 +16,7 @@ - Send changes from your working copy to the repository -`svn ci -m {{commit log message}} {{[PATH...]}}` +`svn ci -m {{commit log message}} {{[PATH...]}}` - Show detailed help diff --git a/pages/common/tee.md b/pages/common/tee.md index 14695c237..b2d1a6551 100644 --- a/pages/common/tee.md +++ b/pages/common/tee.md @@ -1,4 +1,4 @@ -#TEE +# tee > read from standard input and write to standard output and files diff --git a/pages/common/touch.md b/pages/common/touch.md index beda03021..fb7c4e116 100644 --- a/pages/common/touch.md +++ b/pages/common/touch.md @@ -6,7 +6,7 @@ `touch {{filename}}` -- Set the times on a file to those specified +- Set the times on a file to those specified `touch -t 201412250801.59 {{filename}} `touch -t {{YYYYMMDDHHMM.SS}} {{filename}} diff --git a/pages/common/wget.md b/pages/common/wget.md index aa8071e4a..48f9651fe 100644 --- a/pages/common/wget.md +++ b/pages/common/wget.md @@ -11,7 +11,7 @@ `wget --limit-rate={{200k}} {{url}}` -- Continue an incomplete download +- Continue an incomplete download `wget -c {{url}}` diff --git a/pages/common/which.md b/pages/common/which.md index 6d5327d30..4f5ec19a7 100644 --- a/pages/common/which.md +++ b/pages/common/which.md @@ -7,6 +7,6 @@ `which {{ls}}` `which {{executable}}` -- If there are multiple executables which match, display all +- If there are multiple executables which match, display all `which -a {{executable}}` diff --git a/pages/common/zpool.md b/pages/common/zpool.md index 7acdb9692..f8fbe3dd4 100644 --- a/pages/common/zpool.md +++ b/pages/common/zpool.md @@ -27,7 +27,7 @@ `zpool histrory {{poolname}}` -- Create a mirrored pool. +- Create a mirrored pool. `zpool create {{poolname}} mirror {{disk1}} {{disk2}}` `zpool create {{poolname}} mirror {{disk1}} {{disk2}} mirror {{disk3}} {{disk4}}`