How To Delete Linux Files By Date?


To delete files in Linux based on their date, you can use the find command in combination with the -mtime option. The -mtime option allows you to specify the number of x days old a file must be in order to be selected for deletion. For example, to delete all files that are more than … Read more

How to delete directory in Linux?


Looking for easy commands to remove directory in Linux? Well don’t worry we have got you covered. Here’s how you remove or delete a directory from the terminal or command line of your server – You can use the rmdir command. This command will only work if the directory you want to remove is empty. … Read more

How to view server uptime in Linux?


To view the uptime of a server running Ubuntu, you can use the uptime command. This will show you how long the server has been running and the current system load. Here is an example of how to use the uptime command:  uptime  11:47:42 up 1 day, 19 min,  1 user,  load average: 0.00, 0.00, … Read more

How to rename file in linux?


Renaming a file in Linux is a common task that can be easily accomplished using the command line. In this article, we will explain how to rename a file in the different operating systems of Linux, including Ubuntu, Debian, CentOS, and Fedora. Before we get started, it’s important to point out that we understand that … Read more

How to rename a directory on linux?


Renaming a directory in Linux can be easily done from the command line using the mv command. The mv command is a command-line utility that allows you to move and rename files and directories. To rename a directory using the mv command, follow these steps: Open a terminal window. On most Linux distributions, you can … Read more