tcpdumpでVXLANパケットを表示する

少し安直だけど。。。もっとスマートな方法はないか。
# tcpdump -i tun0 -l | grep -i vxlan 

VNCをXserverにxfceを起動する

1: vnc4serverをインストール 2:.vnc/xstartupに以下を記載
#!/bin/sh
startxfce4 &
3:.vnc/xstartupに実行権限を付与 3: 以下のようなコマンドでVNCサーバーを起動
vncserver :0 -geometry 1280x800

xcodeのバージョンの切り替え方

環境変数での例
export DEVELOPER_DIR=/Applications/Xcode-9.4.app/Contents/Developer
確認方法
xcode-select -print-path
その他の方法
sudo xcode-select -s /Applications/Xcode-9.4.app/Contents/Developer
Xcodeは以下からダウンロード可能
https://developer.apple.com/download/more/

Diskのblock, sectorサイズなどの大きさ

/proc/partitionsのblockは、1024B単位
# cat /proc/partitions 
major minor  #blocks  name

   8        0  117220824 sda
   8        1       1024 sda1
   8        2    2097152 sda2
   8        3   16777216 sda3
   8        4   16777216 sda4
   8        5   16777216 sda5
   8        6   64788480 sda6
   8       16 3907018584 sdb
gdiskのsectorは、下記で、青字にしたように表示されているが512B単位が多い
Disk /dev/sda: 234441648 sectors, 111.8 GiB
Model: KINGSTON SV300S3
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): 877EDACD-6579-48A8-ACBD-7F4DAC5E7040
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 234441614
Partitions will be aligned on 2048-sector boundaries
Total free space is 4973 sectors (2.4 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048            4095   1024.0 KiB  EF02  
   2            4096         4198399   2.0 GiB     8300  
   3         4198400        37752831   16.0 GiB    8300  
   4        37752832        71307263   16.0 GiB    8300  
   5        71307264       104861695   16.0 GiB    8200  
   6       104861696       234438655   61.8 GiB    8300