diff --git a/pages/common/ab.md b/pages/common/ab.md index 66fa51882..595158afe 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 6403c5fdb..bdaa23477 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 d22d56d65..ec72a8fd0 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 1733818a4..64bf46407 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 8ca60dcfb..30185776c 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 eb42329f3..c8dac3805 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 e0d25dd28..86f5694be 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 dc349158e..41fed20d9 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 e027d0f72..c7b286f89 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 e28e76197..6ebe9f1ee 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 b0b3fe5fc..51b05c6cb 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 27056845d..a40acce6a 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 6d9f446e2..66bc5eed9 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 8f98f42c0..58785e6e0 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 339c4ebb0..23bcfa154 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 069c836f3..531505530 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 a2681dc50..d9b7a1e85 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 21ceaa985..8932d7b10 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 a1db761d6..c5ede2138 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 df25c816c..2f4cd88f8 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 6d4ab0c3f..db3098ea6 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 1d911e315..a25a4ad42 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 430670684..6875b9af2 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 87c4d0b4f..5bca62687 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 7ea2d8b53..0cf99dab1 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 e589ffbe1..8cd0cb029 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 796bba0df..8a62767a1 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 755c3071b..67a77d1bd 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 1e18b9e20..2d4e48bed 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 60ae27b6d..fd9ffdf3c 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 90c284209..b76846178 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 a7bc7d03d..6b5fc14f9 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 b5da37878..3fcd5b492 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 faeb51031..da8a9a41c 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 eb05c2467..044976f1c 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 f3157d223..214a1f3f4 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 52e8dc070..6af8ee416 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 317b48949..225d97729 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 b6e307d6e..3a4503ab4 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 f72513577..81fad2a82 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 977636a85..7965a3ccc 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 28fd6983b..18620d458 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 30f7cc434..133daa2d0 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 3bb33e14b..9253f58a8 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 4b5d4b09b..a571a688a 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}}`