How to delete a directory even if it's not empty?

You might have seen, while using the "rmdir" command that you cannot delete this directory as it is not empty. Use the following command : > rm -r directoryName or > rm -rf directory_Name so, "f" represents force. So, it will skip all the necessary checks and simply wipe out the whole directory. Use SUDO, if you still cannot delete. Enjoy Linux...!!!! +CentOS +Linux +Ubunt...

How To in Linux

Check which services are running? What does sourcing a file means in Linux? How to remove the dpkg lock? How to see the name of the linux distribution you are running? How to find the inodes and hard links of a file? How to create symbolic links in Linux? How to do persistent mounting of a partition over a reboot? How to enable line numbering in vi...

How to remove node from your system?

For RHEL systems, Fedora, CentOS > sudo yum remove nodejs For Ubuntu  > sudo apt-get remove nodejs And you are good to go For verification, Type in the terminal > node Simple...!!!! Enjoy Linux, +CentOS +Ubuntu ...

How to remove npm ?

Ok, so npm stands for Node Package Manager, and trust me, it's really an awesome thing.  It is a package manager for various things, like angular, node (default), gulp, grunt, mobile, javascript and many more. But, it is also important to know, how to uninstall npm from the system to get a fresh npm later. So, here it goes $ sudo npm uninstall npm -g $ npm -v To remove everything related...

Delete dual boot options on windows

Sometimes, we see multiple options of windows even if they are not running because of failed installation. So, to remove them, 1. Goto run, and type msconfig: 2. After msconfig is launched: 3. Go to the Boot tab 4. Slect the boot entry you want to delete. 5. Click the Delete button and then click OK. Thats al...