Useful tips for everyday
Can you use ddrescue to image to a new drive? You can also use ddrescue to image to the new drive instead of dd if…
How do you echo the output of a command to a file? List: command > output.txt. The standard output stream will be redirected to the…
Why swap memory is not used in Linux? Swap is used to give processes room, even when the physical RAM of the system is already…
How to block all incoming traffic with Linux IPTables? Linux Iptables: Block All Incoming Traffic But Allow SSH. This is very common scenario. You want…
Why is my Ubuntu laptop not connecting to the Internet? My laptop running Ubuntu 20.04 is connected via ethernet to the secondary router (WNDR4000). As…
Why did my hard drive change its name? When a file is deleted or file extension is changed on your computer, it might happened due…
How SSH keys are stored? By default, the private key is stored in ~/. ssh/id_rsa and the public key is stored in ~/. ssh/id_rsa. The…
How do I remove a docker repository from APT? Uninstall Docker Engine Uninstall the Docker Engine, CLI, and Containerd packages: $ sudo apt-get purge docker-ce…
How do I remove dependency? Include the scope if the package is scoped. Unscoped package. npm uninstall Scoped package. npm uninstall <@scope/package_name> Unscoped package. npm…
Does NFS support symlinks? Symbolic links are both useful and confusing when used with NFS-mounted filesystems. They can be used to “shape” a filesystem arbitrarily,…