瀏覽代碼

ipcalc: add concrete values

Raymond Douglas 6 年之前
父節點
當前提交
2332740b8f
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      pages/linux/ipcalc.md

+ 5 - 5
pages/linux/ipcalc.md

@@ -4,20 +4,20 @@
 
 - Show information about an address or network:
 
-`ipcalc {{ip_address}} {{subnet_mask}}`
+`ipcalc {{1.2.3.4}} {{255.255.255.0}}`
 
 - Show information about an address or network in CIDR notation:
 
-`ipcalc {{ip_address}}/{{masked_bits}}`
+`ipcalc {{1.2.3.4}}/{{24}}`
 
 - Show the broadcast address of an address or network:
 
-`ipcalc -b {{ip_address}}/{{masked_bits}}`
+`ipcalc -b {{1.2.3.4}}/{{30}}`
 
 - Show the network address of provided IP address and netmask:
 
-`ipcalc -n {{ip_address}}/{{masked_bits}}`
+`ipcalc -n {{1.2.3.4}}/{{24}}`
 
 - Display geographic information about a given IP address:
 
-`ipcalc -g {{ip_address}}`
+`ipcalc -g {{1.2.3.4}}`