How to patch Meltdown CPU Vulnerability CVE-2017-5754 on Linux

in Categories , , , , , , last updated January 12, 2018

A very serious security problem has been found in the Intel CPUs. Meltdown CPU Vulnerability CVE-2017-5754 breaks the most fundamental isolation between user applications and the operating system. This attack allows a program to access the memory, and thus also the secrets, of other programs and the operating system. How do I protect my Linux server and laptop/desktop against such attack?

How to exclude file when using scp command recursively

in Categories , , , last updated December 29, 2017

I need to copy all the *.c files from local laptop named hostA to hostB including all directories. I am using the following scp command but do not know how to exclude specific files (such as *.out):
$ scp -r ~/projects/ user@hostB:/home/delta/projects/
How do I tell scp command to exclude particular file or directory at the Linux/Unix command line?
Continue reading “How to exclude file when using scp command recursively”