Useful tips for everyday
How check port is closed Linux? To check the listening ports and applications on Linux: Open a terminal application i.e. shell prompt. Run any one…
Where does the bootloader start in the Linux kernel? As we can read in the kernel boot protocol, the bootloader must read and fill some…
Can You resize a partition in GParted using resize2fs? Nothing to do! Since Gparted says that my partition is /dev/sda5, I also tried running sudo…
What is an NFS mount? Network File Sharing (NFS) is a protocol that allows you to share directories and files with other Linux clients over…
Is kernel space memory protected from user mode access? Processes running under the user space have access only to a limited part of memory, whereas…
Can not exit from Vim? Exit Vim Using a Shortcut Key To save a file in Vim and exit, press Esc > Shift + ZZ.…
How to print a variable in a shell script? You can add echo command to your shell script: -n : It is a FORMAT controls…
How to add a second monitor in Xorg? Usually it is as simple as defining monitors in Xorg configuration files. Be aware, most desktop environments,…
How do you change a string in bash? In Shell Scripting, this can be done in two ways: pure bash string manipulation, and string manipulation…
How to run Python script as root Stack Overflow? For that, add this near the top (thanks @efirvida for the tip!) Maybe your user and…