How to export environment variables defined in a file

Using environment variables in modern applications is very common https://unix.stackexchange.com/questions/79064/how-to-export-variables-from-a-file https://unix.stackexchange.com/a/79084/30988 set -a . ./tmp.txt set +a

See cluster resources usage with kubectl command

Monitoring resources is among the significantly important tasks of an engineer working with Kubernetes. In the K8s ecosystem, we can find a range of tools and software allow us to…

How to check size of a directory via Terminal in MacOS

Sometimes we want to have a quick check the size of a specific directory in your current place from the terminal where you are working. Instead of opening Finder application…

How many CPU cores does your computer have?

http://www.howtogeek.com/howto/ubuntu/display-number-of-processors-on-linux/ http://www.linuxquestions.org/questions/linux-newbie-8/find-number-of-cores-in-my-processor-772925/ http://askubuntu.com/questions/257248/how-can-i-see-how-many-processor-cores-are-working http://www.cyberciti.biz/faq/linux-get-number-of-cpus-core-command/

Tips tricks with the terminal in Ubuntu [Phần 1]

In ấnLệnh lpr là sử dụng để in tài liệu trong môi trường Linux do gói CUPS cung cấp. Đây là toàn bộ hướng dẫn. Bên dưới chỉ tóm tắt…