Tag: Linux devops
How to Remove Directory in Linux
How to Remove or Delete Directory in Linux To delete a directory in Linux remove command to use is rm or rmdir. Both work fine but there is an important difference between how rm and rmdir remove a directory. Caution If you delete a directory from the GUI even in Linux, the folder is moved…
Secret Lesser known useful Linux commands
tree The tree command will list you directory, files and sub folders contents in an easy to see way. No need for repeated ls commands. This can be useful to get an overview of all subfolders of the target directory. pstree Tree but for precesses. Shows what processes originate from other processes. kill -15 SIGTERM…
How to zip and unzip files and folders in Linux
How to zip and unzip files and folders in Linux Install Zip Unzip Install on RHEL, Centos, Fedora, Rocky Linux, etc. Install on Debian, Ubuntu, etc. Using zip and unzip to compress and extract files and folders. Current directory contents, files and one sub folder. Zip files and directories recursively This creates the zip file,…