Archive:
Month: March 2019
Rename an ethernet port
ip link set <name> down ip link set <name> name <newname> ip link set <newname > up
tar gzip a folder with progress bar
tar cf – folder_name -P | pv -s $(du -sb folder_name | awk ‘{print $1}’) | gzip > folder_zip.tgz