diff --git a/common/dig.md b/common/dig.md index fab845bd3a..1d9cfce6c6 100644 --- a/common/dig.md +++ b/common/dig.md @@ -4,11 +4,11 @@ - Lookup the IP(s) associated with a hostname (A records) -``dig +short {{hostname.com}} +``dig +short {{hostname.com}}` -- Lookup the mail associated with a given domain name (MX records) +- Lookup the mail server associated with a given domain name (MX record) -``dig +short {{hostname.com}} MX +``dig +short {{hostname.com}} MX` - Specify an alternate DNS server to query (8.8.8.8 is google's public DNS) diff --git a/common/find.md b/common/find.md index 1712d6891e..d56ef8f9c3 100644 --- a/common/find.md +++ b/common/find.md @@ -18,6 +18,6 @@ - find files using case insensitive name matching, of a certain size -`find {{root_path}} -size +120k -iname {{'*.dOC'}} ` -`find {{root_path}} -size -100M -iname {{'*.moV'}} ` -`find {{root_path}} -size -1.2T -size +800G -iname {{'*.TaR.gZ'}} ` +`find {{root_path}} -size +120k -iname {{'*.dOC'}}` +`find {{root_path}} -size -100M -iname {{'*.moV'}}` +`find {{root_path}} -size -1.2T -size +800G -iname {{'*.TaR.gZ'}}` diff --git a/common/gzip.md b/common/gzip.md index a4d90d4701..87e913caef 100644 --- a/common/gzip.md +++ b/common/gzip.md @@ -4,19 +4,19 @@ - compress a file, replacing it with a gzipped compressed version -`gzip {{file.ext}} +`gzip {{file.ext}}` - decompress a file, replacing it with the original uncomrpessed version -`gzip -d {{file.ext.gz}} +`gzip -d {{file.ext.gz}}` - compress a file specifying the output filename -`gzip -c {{file.ext}} > compressed-file.ext.gz +`gzip -c {{file.ext}} > compressed-file.ext.gz` - uncompress a gzipped file specifying the output filename -`gzip -c -d {{file.ext.gz}} > uncompressed-file.ext +`gzip -c -d {{file.ext.gz}} > uncompressed-file.ext` - specify the compression level. 1=Fastest (Worst), 9=Slowest (Best), Default level is 6 diff --git a/common/zfs.md b/common/zfs.md index 493cc28524..a7bc7d03d4 100644 --- a/common/zfs.md +++ b/common/zfs.md @@ -16,12 +16,12 @@ - Create a Snapshot of a ZFS filesystem -`zfs snapshot {{poolname/filesystem@snapshot-name}} +`zfs snapshot {{poolname/filesystem@snapshot-name}}` - Enable compression on a filesystem -`zfs set compression=on {{poolname/fileystem}} +`zfs set compression=on {{poolname/fileystem}}` - 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}}` \ No newline at end of file diff --git a/osx/diskutil.md b/osx/diskutil.md index a2de64b845..0bbabe568f 100644 --- a/osx/diskutil.md +++ b/osx/diskutil.md @@ -20,4 +20,4 @@ - Eject a CD/DVD (unmount first) -`diskutil eject {{/dev/disk1}} +`diskutil eject {{/dev/disk1}}` diff --git a/osx/pgrep.md b/osx/pgrep.md index f7684d1917..497c11c1c0 100644 --- a/osx/pgrep.md +++ b/osx/pgrep.md @@ -8,8 +8,8 @@ - case insensitive greping -`pgrep -i {{fireFOx}} +`pgrep -i {{fireFOx}}` - kill all processes which match -`pkill -9 {{Finder}} +`pkill -9 {{Finder}}` diff --git a/osx/qlmanage.md b/osx/qlmanage.md index b1831ff797..db7b9a6b19 100644 --- a/osx/qlmanage.md +++ b/osx/qlmanage.md @@ -8,4 +8,4 @@ - Compute 300px wide PNG thumbnails of all JPEGs in the current directory and put them in a directory. -`quicklook *.jpg -t -s 300 {{/existing//thumbnail/directory}} +`quicklook *.jpg -t -s 300 {{/existing//thumbnail/directory}}` diff --git a/osx/system_profiler.md b/osx/system_profiler.md index 3362707fde..e2351dab85 100644 --- a/osx/system_profiler.md +++ b/osx/system_profiler.md @@ -10,6 +10,6 @@ `system_profiler SPHardwareDataType` -- Print the system serial numebr +- Print the system serial number `system_profiler SPHardwareDataType|grep "Serial Number (system)" |awk '{print $4}'`