How to use scp command with SSH key authentication

Overview Anyone who administers Linux machines likely knows secure shell. Without this tool, administering those servers remotely would be quite challenging. It would also become harder to move files back…

How to automatically delete a Docker container after running it

Normally, a Docker container persists after it has exited. This allows you to run the container again, inspect its filesystem, and so on. However, sometimes you want to run a…

Check internet proxy with curl command on Linux

When your services must talk to the Internet proxy to go out of your secured networks, how can you verify that proxy being effective? In this post, I am going…

(English) Add git branch name to bash prompt

Désolé, cet article est seulement disponible en English.

Ho

Désolé, cet article est seulement disponible en English.

How to append text to a system file via terminal with sudo command

echo ‘192.168.1.254 router’ | sudo tee -a /etc/hostsNAME tee — pipe fitting SYNOPSIS tee [-ai] [file …] DESCRIPTION The tee utility copies standard input to standard output, making a copy…

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…

Créer un serveur web sur machine virtuelle

Désolé, cet article est seulement disponible en Tiếng Việt.

Apache could not reliably determine the servers fully qualified domain name using 127.0.1.1 for server name error

http://aslamnajeebdeen.com/blog/how-to-fix-apache-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127011-for-servername-error-on-ubuntu

Pour connaitre la distribution de Ubuntu

Tình cờ một ai hỏi bạn câu hỏi kiểu: Ubuntu bạn đang dùng là phiên bản mấy? Phiên bản 32 hay 64 bit? Làm thế nào để xem thông tin…