Typos and missing trailing backticks galore.

This commit is contained in:
Peter Tripp 2014-02-10 13:18:10 -08:00
parent e4118b1585
commit 4858b7f6bd
8 changed files with 18 additions and 18 deletions

View File

@ -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)

View File

@ -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'}}`

View File

@ -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

View File

@ -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}}
`zfs set mountpoint={{/my/mount/path}} {{poolname/filesystem}}`

View File

@ -20,4 +20,4 @@
- Eject a CD/DVD (unmount first)
`diskutil eject {{/dev/disk1}}
`diskutil eject {{/dev/disk1}}`

View File

@ -8,8 +8,8 @@
- case insensitive greping
`pgrep -i {{fireFOx}}
`pgrep -i {{fireFOx}}`
- kill all processes which match
`pkill -9 {{Finder}}
`pkill -9 {{Finder}}`

View File

@ -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}}`

View File

@ -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}'`