Sometime, I would like to get only the mac address of the ethernet device. so here is the command line to do this.

ip addr show dev enp5s0 | grep "link/ether" | awk '{print $2}'

posted by citadel

I have ifc1410-ioxos-161103 in /export/nfsroots/, and would like to copy the entire dir in the different name.

$ mkdir ifc1410-ioxos-161103-rules-test

$ cd ifc1410-ioxos-161103

$ sudo -E tar cf - . | (cd /export/nfsroots/ifc1410-ioxos-161103-rules-test/ && tar xBf -)


posted by citadel

As described in, dd can be used for "image copying on a MicroSD". However, in the case where dd version is old, it would be good to use "pv" to check its status as follows:

pv -tpre 2017-03-02-raspbian-jessie.img | dd bs=4M of=/dev/sdb

posted by citadel