Useful tips for everyday
How do I add a host to GitHub? Create a GitHub account. First thing’s first: get yourself a GitHub account! Download and install the GitHub…
How to exit teminal after running a bash script? The teminal will just exit after the command running in it exits – like this, closing…
How to use sed with command line argument? You can sed “s/$1/pitt/g” or sed ‘s/’$1’/pitt/g’. or, if the command line argument is not a simple…
How do I take over an admin on a Facebook group? Click the gear icon below the name of the person you want to remove…
How do I fix L2TP connection attempt failed? How to Fix the L2TP Connection Attempt Failed Error Press Win + R keys to call out…
How do I pass environment variables to Docker containers? Using –env, -e When we launch our Docker container, we can pass environment variables as key-value…
Is infinite loop an error? What is an Infinite Loop? An infinite loop occurs when a condition always evaluates to true. Usually, this is an…
How do I delete files in subdirectories? To remove a directory and all its contents, including any subdirectories and files, use the rm command with…
How do I find the file tree in Linux? You need to use command called tree. It will list contents of directories in a tree-like…
Should I use Logical volume Management? LVM can be extremely helpful in dynamic environments, when disks and partitions are often moved or resized. However, in…