How to prettify HTML documents at the terminal

When working with RESTful APIs, developers often hit API endpoints to test and look up data in either JSON or XML as the common formats. We have published two recent…

How to prettify JSON documents at the terminal

Nowadays, many users and application developers know that using RESTful APIs is the most common and useful to grab remotely published data. It’s often to look at any RESTful API…

How to prettify XML documents at the terminal

Recently, we have published a post about prettifying JSON documents at the console window which is likely useful for many developers. In this post using some ideas from this question,…

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…