Category: Linux System Administration

  • How To Zip Folder on Linux

    How To Zip Folder on Linux

    From all the compression methods available, Zip is probably one of the most popular ones. Released in 1989 by Philip Katz, Zip is widely used by system administrators in order to reduce the size of bulky files and directories on your system. Nowadays, Zip is available on all operating systems on the market : whether […]

  • Logical Volume Management Explained on Linux

    Logical Volume Management Explained on Linux

    On Linux, it can be quite hard to manage storage and filesystems and it often needs a lot of different commands to move data. Traditional storage is usually made of three different layers : the physical disk (whether it is a HDD or a SSD), the logical partitions created on it and the filesystem formatted […]

  • How To Install AutoFS on Linux

    How To Install AutoFS on Linux

    Whether you are an experienced system administrator or just a regular user, you have probably already mounted drives on Linux. Drives can be local to your machine or they can be accessed over the network by using the NFS protocol for example. If you chose to mount drives permanently, you have probably added them to […]

  • How To Setup OpenLDAP Server on Debian 10

    How To Setup OpenLDAP Server on Debian 10

    As a system administrator, you are probably already familiar with the LDAP protocol. If you are working in a medium to large company, you can be sure that your company already owns a LDAP server, whether it is on Linux or Windows. Invented in the early 80s, the LDAP protocol (for Lightweight Directory Access Protocol) […]

  • Network Manager on Linux with Examples

    Network Manager on Linux with Examples

    If you are an experienced system administrator, and if you focus on network management, you have probably already heard about the Network Manager. Released in 2004 and developed by Red Hat, the Network Manager is a set of different tools, mostly interfaces, designed to facilitate network management on your system. If you want to turn […]

  • How To Run a Bash Script

    How To Run a Bash Script

    As a system administrator, it is quite likely that you have written some Bash scripts in order to automate your work. For example, you may want to run Bash scripts in order to backup your work or to log some events happening on your server. Bash scripts, like scripts written in other programming languages, can […]

  • How To List Users and Groups on Linux

    How To List Users and Groups on Linux

    On Linux, as a system administrator, you often want to have a complete list of all the users and all the groups on your host. It is quite crucial for security purposes to make sure that you have the correct amount of users and that you didn’t forget to delete some. There are several ways […]

  • How To Rename a Directory on Linux

    How To Rename a Directory on Linux

    If you have been working with Linux systems for quite some time, you already know how important it is to keep your filesystem structured. In some cases, you may need to create temporary directories with random names that need to be renamed later on. Renaming directories on Linux is not done with a dedicated renaming […]

  • How To Check If File or Directory Exists in Bash

    How To Check If File or Directory Exists in Bash

    When working with Bash and shell scripting, you might need to check whether a directory or a file exists or not on your filesystem. Based on this condition, you can exit the script or display a warning message for the end user for example. In order to check whether a file or a directory exists […]

  • Advanced Bash Scripting Guide

    Advanced Bash Scripting Guide

    In our previous tutorial on Bash, we have seen how you can effectively create, run and write simple conditional statements in Bash. You have discovered many concepts of Bash such as exit statuses and how they can indicate a script success or a script failure. Moreover, you have discovered shell built-ins (such as type or […]