Home / Operating System

Operating System

Posts concerning in Operating Systems like Windows, Ubuntu, Fedora, MacOS

Add git branch name to bash prompt

https://coderwall.com/p/fasnya/add-git-branch-name-to-bash-prompt https://medium.com/fuzzy-code/show-current-git-branch-in-terminal-macos-e319e88046a6 View the code on Gist. https://stackoverflow.com/questions/17333531/how-can-i-display-the-current-branch-and-folder-path-in-terminal https://www.codementor.io/tips/8142473421/add-colors-and-show-git-branches-in-your-bash-terminal-osx-

Read More »

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

Read More »

Create Symbolic Links on Windows

Create symbolic links on Windows

Your Python codes store and resident in many places on your computer. Is this a bit messed up to remember which Python directory you are looking for, isn’t it? On a Linux environment, you can organise your Python-based codes into ...

Read More »

Use PowerShell to Set Environment Variables

Use PowerShell to Set Environment Variables

What Are Environment Variables? Two fundamental components of any computer programming language are variables and constants. Like independent variables in a mathematical equation, these take on values that change the results of the program. Variables and constants both represent unique memory locations containing ...

Read More »

See cluster resources usage with kubectl command

A presentation of k8s architecture

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 check resources, monitor the amount of memory and CPU being ...

Read More »

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

How to use tee command to append a file

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 open which causes a bit complicated and bored. If you ...

Read More »

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 – a common and unique file explorer on Mac, this ...

Read More »

Building a Web Server in VirtualBox

Sorry, this entry is only available in Vietnamese.

Read More »

Managing your files on Motorola Android with Moto File Manager

Sorry, this entry is only available in Vietnamese.

Read More »

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

Apache2 with the error the fully qualified domain name

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 the following troubleshooting: To fix that problem, you need to ...

Read More »