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…
Category: Linux
Hệ điều hành nguồn mở Linux
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…
Building a Web Server in VirtualBox
Sorry, this entry is only available in Tiếng Việt.
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ử.