Common Linux Commands You Should Know: Part 2

In our last post, we looked at 5 Linux commands (technically six) that are invaluable to any new system administrator. The following are a few more, some of which are critical to know.
cat – This is a unique program that allows you to combine multiple files or parts into a whole. It can also print […]

Quick Bash Command Tricks Part 2

In the first part of this guide, we looked at some bash tricks that help you find things in the command history. In this section of the BASH (Born Again Shell) guide, we will look at some other functions.
Suffix command history
In the last post, we explained how to append the prefix from the previous command. […]

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 […]

File and Directory Removal on a Linux Server

Most of us are accustomed to the comforts of a desktop operating system. Deleting files usually involves clicking on their icons and pressing the delete key or dragging them to the trash. Regardless of which OS you use, you probably rarely drop to the command line to do your deleting.
For a Unix or Linux server […]

How to Delete Linux Files Completely with Shred

Deleting files is probably not something you think about on a regular basis, but you inevitably do it regularly without thinking.  Files come and go, but on a dedicated server, it is sometimes important to make sure the files you have deleted are truly gone.
The “rm” command in Linux is the standard command most sysadmins […]

How to Remove Multiple Files from the Command Line

While web-based control panels are good for some tasks, bulk file management is not one of them.  It is quite a bit slower to have to navigate through various directories, especially if you have a good size dedicated server with many domains attached to it.  Using a web-based file manager can be downright painful.  Fortunately, […]