mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-10 11:29:59 +03:00
Typos and missing trailing backticks galore.
This commit is contained in:
parent
e4118b1585
commit
4858b7f6bd
@ -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)
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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}}`
|
@ -20,4 +20,4 @@
|
||||
|
||||
- Eject a CD/DVD (unmount first)
|
||||
|
||||
`diskutil eject {{/dev/disk1}}
|
||||
`diskutil eject {{/dev/disk1}}`
|
||||
|
@ -8,8 +8,8 @@
|
||||
|
||||
- case insensitive greping
|
||||
|
||||
`pgrep -i {{fireFOx}}
|
||||
`pgrep -i {{fireFOx}}`
|
||||
|
||||
- kill all processes which match
|
||||
|
||||
`pkill -9 {{Finder}}
|
||||
`pkill -9 {{Finder}}`
|
||||
|
@ -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}}`
|
||||
|
@ -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}'`
|
||||
|
Loading…
Reference in New Issue
Block a user