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 open crontab in nano editor
crontab by default opens in vi editor. But many users prefer to use nano editor instead of vi editor. In […]
How to create zip file of a folder using SSH
Step 1 Navigate to the directory where the folder is located. Let’s say we want to create zip file of […]
How To Create Database Backup from SSH
Step 1: Login to your server via SSH as root user. Step 2 Use below command to create / export […]
How to see history of Yum Commands on a Linux Server
Yum command is one of the most used and important command on a Linux system. Here is how you can […]
How to find Yum Version installed on a Linux Server
If you want to know the version of yum installed on your Linux server, here is how you can find.
How to create a User on a CentOS Server from SSH
The main user / administrator of a Linux server is root. Here is how you can create a new user […]
How to search some text in a file via SSH
Let’s say we want to search for text lophost in file /var/log/messages We can do this using command grep. Login […]
How to rename a file via SSH
On a Linux server you can rename a file using mv command. Let say you want to rename file-one.txt to […]