Linux shell commands

Option for ‘cat’ to remove duplicated empty lines:

cat -s

Find Windows OEM license key:

sudo strings /sys/firmware/acpi/tables/MSDM | grep ".-.-.-.-.*"

Copy file between hosts directly:

scp -3 host1:/src.file host2:/dst.file

Leave a Reply

Your email address will not be published.