Add git branch name to bash prompt

By default, git won’t display branch name to terminal prompt. To know which branch you are in, just run git branch command. However, if you want to customise how to…

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

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

Working with Unix-based systems, I have gradually become sluggish to open an editor and tweak something in a file. Especially, system files must only be allowed by a superuser 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…

Building a Web Server in VirtualBox

Sorry, this entry is only available in Vietnamese.

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

Apache is one of commonly used web servers in Linux. At the time modifying apache, you need to restart it for updating the modifications without restarting Linux. Sometimes, we may face with…

How to see Ubuntu distribution version

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…

Add plugins or extensions to LibreOffice

(Tiếng Việt) Thêm các tính năng mở rộng cho LibreOffice: Tôi có nhu cầu chuyển đổi các file văn bản .odt hoặc .doc sang dạng epub để tiện cho việc đọc trên các thiết bị chạy Android. ePub là một chuẩn mới để làm sách điện tử.

Create shortcuts for commands in Linux

http://community.linuxmint.com/tutorial/view/891

How To Find Similar Lines Between Two Text Files In Linux

Those working in Unix environment must be aware of the requirement to find common lines between two Unix files. In this article, I want to introduce you a solution of…