diff --git a/pages/common/ab.md b/pages/common/ab.md index 66fa518828..595158afec 100644 --- a/pages/common/ab.md +++ b/pages/common/ab.md @@ -8,4 +8,4 @@ - Execute 100 HTTP GET requests, processing up to 10 requests concurrently, to given URL. -`ab -n 100 -c 10 {{url}}` \ No newline at end of file +`ab -n 100 -c 10 {{url}}` diff --git a/pages/common/ack.md b/pages/common/ack.md index 6403c5fdba..bdaa234776 100644 --- a/pages/common/ack.md +++ b/pages/common/ack.md @@ -16,4 +16,4 @@ - Show the file names containing "foo" and number of matches in each file -`ack -cl {{foo}}` \ No newline at end of file +`ack -cl {{foo}}` diff --git a/pages/common/awk.md b/pages/common/awk.md index d22d56d65b..ec72a8fd0b 100644 --- a/pages/common/awk.md +++ b/pages/common/awk.md @@ -17,5 +17,3 @@ - Sum the values in the first column and pretty-print the values and then the total `awk '{s+=$1; print $1} END {print "--------"; print s}' {{filename}}` - - diff --git a/pages/common/cal.md b/pages/common/cal.md index 1733818a49..64bf464078 100644 --- a/pages/common/cal.md +++ b/pages/common/cal.md @@ -16,4 +16,4 @@ - Display date of Easter (western churches) `ncal -e` -`ncal -e 2013` \ No newline at end of file +`ncal -e 2013` diff --git a/pages/common/cat.md b/pages/common/cat.md index 8ca60dcfbc..30185776c5 100644 --- a/pages/common/cat.md +++ b/pages/common/cat.md @@ -8,4 +8,4 @@ - Sequentially print the contents of *file1* and *file2* to the file *file3*. -`cat {{file1}} {{file2}} > {{file3}}` \ No newline at end of file +`cat {{file1}} {{file2}} > {{file3}}` diff --git a/pages/common/date.md b/pages/common/date.md index eb42329f38..c8dac38057 100644 --- a/pages/common/date.md +++ b/pages/common/date.md @@ -9,4 +9,3 @@ - Display the date using a custom format `date +"%d/%m/%Y %H:%M:%S"` - diff --git a/pages/common/deluser.md b/pages/common/deluser.md index e0d25dd28a..86f5694be7 100644 --- a/pages/common/deluser.md +++ b/pages/common/deluser.md @@ -12,4 +12,4 @@ - Remove a user from a group -`deluser {{name}} {{group}}` \ No newline at end of file +`deluser {{name}} {{group}}` diff --git a/pages/common/df.md b/pages/common/df.md index dc349158ea..41fed20d9b 100644 --- a/pages/common/df.md +++ b/pages/common/df.md @@ -9,4 +9,3 @@ - display all file systems and their disk usage in human readable form `df -h` - diff --git a/pages/common/drush.md b/pages/common/drush.md index e027d0f72f..c7b286f893 100644 --- a/pages/common/drush.md +++ b/pages/common/drush.md @@ -25,4 +25,3 @@ - Clear CSS and JavaScript caches `drush cc css-js` - diff --git a/pages/common/env.md b/pages/common/env.md index e28e76197b..6ebe9f1ee6 100644 --- a/pages/common/env.md +++ b/pages/common/env.md @@ -16,4 +16,4 @@ - Set a variable and run a program -`env {{variable}}={{value}} {{program}}` \ No newline at end of file +`env {{variable}}={{value}} {{program}}` diff --git a/pages/common/gcc.md b/pages/common/gcc.md index b0b3fe5fcd..51b05c6cbf 100644 --- a/pages/common/gcc.md +++ b/pages/common/gcc.md @@ -13,5 +13,3 @@ - Include libraries from a different path `gcc {{source.c}} -o {{executable}} -I{{header_path}} -L{{library_path}} -l{{library_name}}` - - diff --git a/pages/common/git-add.md b/pages/common/git-add.md index 27056845de..a40acce6a3 100644 --- a/pages/common/git-add.md +++ b/pages/common/git-add.md @@ -13,4 +13,3 @@ - Also add ignored files `git add -f` - diff --git a/pages/common/kill.md b/pages/common/kill.md index 6d9f446e24..66bc5eed9f 100644 --- a/pages/common/kill.md +++ b/pages/common/kill.md @@ -9,4 +9,4 @@ - list signal names -`kill -l` \ No newline at end of file +`kill -l` diff --git a/pages/common/more.md b/pages/common/more.md index 8f98f42c0c..58785e6e01 100644 --- a/pages/common/more.md +++ b/pages/common/more.md @@ -18,4 +18,4 @@ - exit -`q` \ No newline at end of file +`q` diff --git a/pages/common/mp4box.md b/pages/common/mp4box.md index 339c4ebb0b..23bcfa154d 100644 --- a/pages/common/mp4box.md +++ b/pages/common/mp4box.md @@ -13,4 +13,3 @@ - Combine audio from one file and video from another `MP4Box -add {{input1.mp4}}#audio -add {{input2.mp4}}#video {{output.mp4}` - diff --git a/pages/common/nohup.md b/pages/common/nohup.md index 069c836f37..5315055300 100644 --- a/pages/common/nohup.md +++ b/pages/common/nohup.md @@ -4,4 +4,4 @@ - Run process that can live beyond the terminal -`nohup {{command options}}` \ No newline at end of file +`nohup {{command options}}` diff --git a/pages/common/php.md b/pages/common/php.md index a2681dc509..d9b7a1e85c 100644 --- a/pages/common/php.md +++ b/pages/common/php.md @@ -16,4 +16,4 @@ - Run PHP code. Notes: a) Don't use tags; b) Escape double quotes with backslash -`php -r "{{code}}"` \ No newline at end of file +`php -r "{{code}}"` diff --git a/pages/common/pip.md b/pages/common/pip.md index 21ceaa9857..8932d7b10c 100644 --- a/pages/common/pip.md +++ b/pages/common/pip.md @@ -20,4 +20,4 @@ - Install packages from file -`pip install -r {{requirements.txt}}` \ No newline at end of file +`pip install -r {{requirements.txt}}` diff --git a/pages/common/play.md b/pages/common/play.md index a1db761d62..c5ede21389 100644 --- a/pages/common/play.md +++ b/pages/common/play.md @@ -19,5 +19,3 @@ - Play the given audio in reverse `play {{audiofile}} reverse` - - diff --git a/pages/common/psql.md b/pages/common/psql.md index df25c816c7..2f4cd88f80 100644 --- a/pages/common/psql.md +++ b/pages/common/psql.md @@ -16,4 +16,4 @@ - Run several queries against the given *database*. Note: useful in shell scripts -`echo '{{query1}}; {{query2}}' | psql {{database}}` \ No newline at end of file +`echo '{{query1}}; {{query2}}' | psql {{database}}` diff --git a/pages/common/redis-cli.md b/pages/common/redis-cli.md index 6d4ab0c3fb..db3098ea69 100644 --- a/pages/common/redis-cli.md +++ b/pages/common/redis-cli.md @@ -17,4 +17,4 @@ - Executes Redis command -`redis-cli {{redis command}}` \ No newline at end of file +`redis-cli {{redis command}}` diff --git a/pages/common/rm.md b/pages/common/rm.md index 1d911e3153..a25a4ad422 100644 --- a/pages/common/rm.md +++ b/pages/common/rm.md @@ -12,4 +12,4 @@ - Prompt before every removal -`rm -i {{\*}}` \ No newline at end of file +`rm -i {{\*}}` diff --git a/pages/common/screen.md b/pages/common/screen.md index 4306706847..6875b9af22 100644 --- a/pages/common/screen.md +++ b/pages/common/screen.md @@ -21,4 +21,3 @@ - Detach from inside a screen `ctrl+A D` - diff --git a/pages/common/sed.md b/pages/common/sed.md index 87c4d0b4fa..5bca626878 100644 --- a/pages/common/sed.md +++ b/pages/common/sed.md @@ -18,5 +18,3 @@ - replace all occurrences of multiple strings in a file `sed -e 's/{{find}}/{{replace}}/g' -e 's/{{find}}/{{replace}}/g' {{filename}}` - - diff --git a/pages/common/split.md b/pages/common/split.md index 7ea2d8b53e..0cf99dab1d 100644 --- a/pages/common/split.md +++ b/pages/common/split.md @@ -13,4 +13,3 @@ - Split a file with at most 512 bytes of lines in each split. `split -C 512 {{filename}}` - diff --git a/pages/common/srm.md b/pages/common/srm.md index e589ffbe10..8cd0cb029e 100644 --- a/pages/common/srm.md +++ b/pages/common/srm.md @@ -15,4 +15,4 @@ - Prompt before every removal -`srm -i {{\*}}` \ No newline at end of file +`srm -i {{\*}}` diff --git a/pages/common/tcpdump.md b/pages/common/tcpdump.md index 796bba0dff..8a62767a1c 100644 --- a/pages/common/tcpdump.md +++ b/pages/common/tcpdump.md @@ -25,4 +25,3 @@ - capture all traffic except traffic over port 22 and save to a dump file `tcpdump -w dumpfile.pcap not port 22` - diff --git a/pages/common/useradd.md b/pages/common/useradd.md index 755c3071b7..67a77d1bd1 100644 --- a/pages/common/useradd.md +++ b/pages/common/useradd.md @@ -17,4 +17,3 @@ - Create new user with supplementary groups (mind the lack of whitespace) `useradd -G {{group1,group2}} {{name}}` - diff --git a/pages/common/userdel.md b/pages/common/userdel.md index 1e18b9e20c..2d4e48bede 100644 --- a/pages/common/userdel.md +++ b/pages/common/userdel.md @@ -4,4 +4,4 @@ - Remove a user and their home directory -`userdel -r {{name}}` \ No newline at end of file +`userdel -r {{name}}` diff --git a/pages/common/usermod.md b/pages/common/usermod.md index 60ae27b6d3..fd9ffdf3c0 100644 --- a/pages/common/usermod.md +++ b/pages/common/usermod.md @@ -12,4 +12,4 @@ - Create a new home directory for a user and move their files to it -`usermod -m -d {{/path/to/home}} {{user}}` \ No newline at end of file +`usermod -m -d {{/path/to/home}} {{user}}` diff --git a/pages/common/wc.md b/pages/common/wc.md index 90c2842098..b76846178c 100644 --- a/pages/common/wc.md +++ b/pages/common/wc.md @@ -13,4 +13,3 @@ - count characters in file (taking multi-byte character sets into account) `wc -m {{file}}` - diff --git a/pages/common/zfs.md b/pages/common/zfs.md index a7bc7d03d4..6b5fc14f97 100644 --- a/pages/common/zfs.md +++ b/pages/common/zfs.md @@ -24,4 +24,4 @@ - Change mountpoint for a filesytem -`zfs set mountpoint={{/my/mount/path}} {{poolname/filesystem}}` \ No newline at end of file +`zfs set mountpoint={{/my/mount/path}} {{poolname/filesystem}}` diff --git a/pages/linux/locate.md b/pages/linux/locate.md index b5da37878b..3fcd5b492c 100644 --- a/pages/linux/locate.md +++ b/pages/linux/locate.md @@ -8,4 +8,4 @@ - Recompute the database. You need to do it if you want to find recently added files. -`sudo updatedb` \ No newline at end of file +`sudo updatedb` diff --git a/pages/linux/wall.md b/pages/linux/wall.md index faeb51031f..da8a9a41c0 100644 --- a/pages/linux/wall.md +++ b/pages/linux/wall.md @@ -14,4 +14,3 @@ - send a message with timeout (default 300) `wall -t {{seconds}} {{file}}` - diff --git a/pages/osx/caffeinate.md b/pages/osx/caffeinate.md index eb05c2467f..044976f1c5 100644 --- a/pages/osx/caffeinate.md +++ b/pages/osx/caffeinate.md @@ -9,5 +9,3 @@ - Prevent mac from sleeping until a command completes `caffeinate -s {{command}}` - - diff --git a/pages/osx/drutil.md b/pages/osx/drutil.md index f3157d2230..214a1f3f41 100644 --- a/pages/osx/drutil.md +++ b/pages/osx/drutil.md @@ -9,4 +9,3 @@ - Burn a folder as an ISO9660 filesystem onto a DVD. Don't verify and eject when complete. `drutil burn -noverify -eject -iso9660` - diff --git a/pages/osx/locate.md b/pages/osx/locate.md index 52e8dc0706..6af8ee4168 100644 --- a/pages/osx/locate.md +++ b/pages/osx/locate.md @@ -9,4 +9,4 @@ - Recompute the database. You need to do it if you want to find recently added files. -`sudo /usr/libexec/locate.updatedb` \ No newline at end of file +`sudo /usr/libexec/locate.updatedb` diff --git a/pages/osx/open.md b/pages/osx/open.md index 317b48949e..225d977292 100644 --- a/pages/osx/open.md +++ b/pages/osx/open.md @@ -20,4 +20,4 @@ - Open all the word docs in the current directory with Microsoft Word -`open *.doc` \ No newline at end of file +`open *.doc` diff --git a/pages/osx/pbcopy.md b/pages/osx/pbcopy.md index b6e307d6e7..3a4503ab4c 100644 --- a/pages/osx/pbcopy.md +++ b/pages/osx/pbcopy.md @@ -9,4 +9,3 @@ - Place the results of a command in the clipboard `find . -type t -name "*.png" | pbcopy` - diff --git a/pages/osx/pbpaste.md b/pages/osx/pbpaste.md index f725135771..81fad2a823 100644 --- a/pages/osx/pbpaste.md +++ b/pages/osx/pbpaste.md @@ -9,4 +9,3 @@ - Use the contents of the clipboard as input to a command. `pbpaste | grep foo` - diff --git a/pages/osx/sw_vers.md b/pages/osx/sw_vers.md index 977636a856..7965a3cccc 100644 --- a/pages/osx/sw_vers.md +++ b/pages/osx/sw_vers.md @@ -9,4 +9,3 @@ - Print OSX Build `sw_vers -buildVersion` - diff --git a/pages/osx/xsltproc.md b/pages/osx/xsltproc.md index 28fd6983bd..18620d458f 100644 --- a/pages/osx/xsltproc.md +++ b/pages/osx/xsltproc.md @@ -8,4 +8,4 @@ - Pass a value to a parameter in the stylesheet -`xsltproc --output {{output.html}} --stringparam {{name}} {{value}} {{stylesheet.xslt}} {{xmlfile.xml}}` \ No newline at end of file +`xsltproc --output {{output.html}} --stringparam {{name}} {{value}} {{stylesheet.xslt}} {{xmlfile.xml}}` diff --git a/pages/sunos/prctl.md b/pages/sunos/prctl.md index 30f7cc4349..133daa2d0b 100644 --- a/pages/sunos/prctl.md +++ b/pages/sunos/prctl.md @@ -13,4 +13,4 @@ - Get specific limit for a running process -`prctl -n process.max-file-descriptor {{PID}}` \ No newline at end of file +`prctl -n process.max-file-descriptor {{PID}}` diff --git a/pages/sunos/prstat.md b/pages/sunos/prstat.md index 3bb33e14b2..9253f58a8d 100644 --- a/pages/sunos/prstat.md +++ b/pages/sunos/prstat.md @@ -20,4 +20,4 @@ - Print out a list of top 5 cpu using processes every second. -`prstat -c -n 5 -s cpu 1` \ No newline at end of file +`prstat -c -n 5 -s cpu 1` diff --git a/pages/sunos/svcadm.md b/pages/sunos/svcadm.md index 4b5d4b09b0..a571a688a7 100644 --- a/pages/sunos/svcadm.md +++ b/pages/sunos/svcadm.md @@ -20,4 +20,4 @@ - clear a service from maintenance state and command it to start -`svcadm clear {{service_name}}` \ No newline at end of file +`svcadm clear {{service_name}}`