There are two types of comments: Single-line comment Multi-line comment Single-line comments Use # in the begining of the line […]
How To Find Apache and PHP Version Installed on Server
We can easily find Apache and php version installed on the server from command line and using a single command. […]
Delete Hidden Files using SSH
Delete a single hidden file 1rm .fileName Delete a multiple hidden files 1rm .file1 .file2 .file3 Delete all hidden files […]
Linux – Delete All Files and Folders in Current Directory
I want to delete all files and folders present in the current directory without deleting the current directory itself. Navigate […]
How to run Shell Script .sh file
.sh files are shell scripting files. We can run these files in terminal on a linux system. Navigate to file […]
How to run a bash script via cron
Sometimes we need to run a shell script at some regular intervals, like once everyday. We can do this using […]