Finding Server Files with the Locate Command

When you have a dedicated server, it can sometimes be difficult to find the files you need. Tools like “find” and “grep” are always at your disposal, but as they dig through your mountain of data, they can take a good deal of time. Fortunately, Linux and Unix servers have a tool called “locate” that […]

How to Delete All the Files in a Directory

On Linux and Unix servers, you can use the “rm” command to delete one file, multiple files, or an entire directory. But what do you do if you want to preserve the directory but delete all the files in it? On a dedicated server, such a feature would be particularly useful if, for example, you […]

How to Search for Only Text Files

Files on a large dedicated server are difficult enough to find on their own.  When you add the fact that numerous files may have the same or similar names but be of different types, the odds of finding what you want may seem insurmountable.  Fortunately, there is a tool in Linux for just about anything. […]

How to Display Files Modified Today

Monitoring the security and stability of a Linux server can become a full time job, so a smart system administrator will welcome any task that can simplify the process. We have covered a few different methods of searching that can take the pain out of trying to find things. All of these commands: […]

Using GREP to Search a Server

While many search tools like “locate” search filenames, grep searching everything in the contents of files. This makes grep one of the most powerful tools for finding information on a Linux or Unix server. Grep (global regular expression print) can be used for both simple and complex searches. You can also use […]