Find Out What Files Are Open On Your Linux Server

When managing your Linux server, you may encounter lag or other performance issues that lead you to question what files your server might be accessing at a given time. Or you might just want to run routine diagnostics to make sure your server is only running and manage files that it is supposed to run. […]

How to backup configuration files on Webmin

Most Linux items that need backing up are stored in user home directories. This usually includes virtual web server directories as well, depending on the web server and settings you are using. One exception to this rule is configuration files. These are stored in /etc and other places. When it comes time to backup, many […]

What is NFS?

Once you delve into the world of Linux and Unix dedicated servers, you are likely to encounter the term NFS. What is it and how is it used in server configuration?
NFS stands for Network File System (NFS) and serves as a method for mounting drives or directories remotely over a network. NFS has […]

CP (Copy) File Settings in Linux and Unix

Many of today’s dedicated servers run Linux distributions (such as CentOS) or Unix-like operating systems (such as FreeBSD). Therefore, it is very important to be familiar with Unix commands and how to get the most out of them, even if you spend most of your time managing your server from the comfort of a web-based […]

How to Reinstall a Package with YUM

In the event that something happens to the software you have installed on your server, you may need to reinstall it. YUM, the package manager for Red Hat Enterprise Linux, Fedora, and CentOS, allows you to reinstall packages whenever necessary.
To reinstall a package with YUM, do the following:
# yum reinstall name-of-package
YUM will prompt you before […]

Working with Hidden Files in Linux

Linux dedicated servers have a very easy system for making files hidden. In general this is not an ironclad security measure but can be used to prevent users from accidentally disturbing critical configuration directories or files. You might also use it to trim down directories to make only the files you actually need access to […]

Back to the Basics #9: File Systems

Unix and Linux servers are much more common than Windows servers, so there is a good chance that you will encounter at least one during your time as a system administrator. Therefore, it is a good idea to be familiar with the peculiarities of the file systems, which differ in many ways from Windows desktops.
Since […]

What Windows Users Should Know about Linux Servers

You are likely reading this because you are new to Linux servers, and although it may seem intimidating now, you will soon learn to love your new system.  You may rarely need to touch the Linux command line, as most functions these days can be handled using a web-based control panel like cPanel / WHM. […]

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

5 Different Ways to List Files on a Linux Server

On your desktop or laptop computer, viewing files is usually as simple as clicking an icon.  Most file managers also have sorting features so that you can view your files in columns, grouped by type, and numerous other variants.
On a Unix or Linux dedicated server, you do not have this luxury.  While you can install […]

How to Create an Entire Directory Path with One Command

A Linux dedicated server has a hierarchical directory structure.  Files are stored in directories, and those directories are also stored in directories, forming an entire directory trees.  For example, documents that appear on a website may be housed in the /home/lightning/www/html directory path (“lightning” being the username of the website owner).
In order to keep information […]

Granting Users Access to Privileged Files

Linux dedicated servers set permissions for every file, including applications.  Fortunately, it is very quick and easy to change the permissions of files in order to give specific users access.
First, it is important to understand how ownership and permissions work in Linux.  Every file has an owner, and that owner […]

How to Download Directly to Your Server

For occasional downloads, it is usually sufficient to manually download the files you need to your computer and then upload them to your server via FTP, SFTP, or SCP. However, when you need to move large files or multiple files, these methods become cumbersome.
Using a Linux command line tool, such as wget, you can […]

Jail FTP Users to Their Home Directories

Even if you trust your users not to purposefully hack your server, allowing them to peruse your entire file system of your dedicated server whenever they want is definitely a bad idea.
On most Linux distributions, the normal users do not have permissions to make any changes to system directories like /etc /var and /usr, but […]

How to Delete Duplicate Files in Linux

A common occurrence on a Linux dedicated server is the moving, deleting, copying, and renaming of files. The end result is that you often will end up with duplicates of files or even entire directories. With any server, disk space is important, and unnecessary files take up valuable space in a business where […]