All Distros, System/Adapters

Verify Endianess of a Distro

Big Endian systems are becoming rare as time goes by. However, you may find the need to know the endianess of your distro useful. lscpu is the command you need.

Below is an output example: Continue reading

Advertisements
All Distros, Packages

Transfer files using SSH

The most used method to transfer files among servers is scp. However, an alternative method is by piping cat and ssh.

From your local machine, you want to send “telnet” to “hostname7.site.com“.

Issue:

# cat telnet-0.17-59.el7.ppc64.rpm | ssh root@hostname7.site.com "cat - > /root/telnet-0.17-59.el7.ppc64.rpm"
It's magic!
Cheers!