
Managing Services in Linux
Linux commands reminder In this lab, we'll use a number of Linux commands that were already explained during Course 3. Here is a reminder of what these commands do: sudo : executes a command with administrator rights ls : lists the files in a directory mv : moves or renames a file from the old name to the new name tail : shows the last lines of a file cat : prints the whole contents of a file grep : filters the text of a file according to the pattern less : lets you browse a file Additionally, you can combine these commands using the | sign. For example: sudo cat /var/log/syslog | grep error | tail will first print the output of /var/log/syslog , then keep only the lines that say "error" and then the last 10 lines of that output. We will also present a number of new commands such as service, logger. We will briefly explain what these commands do when they are shown. Remember that you can always read the manual page using man <command_name> to learn more about a command. While you can c
Continue reading on Dev.to
Opens in a new tab



