Deleting a Directory and all subfolders on Linux via the command line

Deleting folders using the -r command will recursively delete all sub folders and files within your selected directory. A confirmation prompt will be displayed for each file. rm -r directory/path/here Use -rf to delete all directories and files in one strike, no confirmation prompt will be displayed. Always double check your directory path or it’s … Read more

Zip and Unzip files on Debian, Ubuntu Linux

First up install the zip and unzip packages if you haven’t already! sudo apt-get install zip sudo apt-get install unzip OR sudo apt-get install zip unzip If you are Red Hat Linux/Fedora/CentOS Linux user then you can use the yum command to install zip and unzip program as follows: # yum install zip # yum install unzip … Read more