Tag Archives: maintenance

View the beginning of a log file using HEAD

26 Apr

Use the following command to view the first 10 lines of a log file or any other txt file.

[root@chaseleads ~]# head /path/to/your/web_transfer.log

(more…)

Shutdown the Server

3 Apr

This is one of the most basic commands on a linux box, but you’d be boggled by how many people don’t know how to properly shut down, or reboot, a server. Here is a quick explanation of the shutdown command.

(more…)

Viewing Log Files using Tail

1 Apr

To watch active log files change on your screen and monitor them, it is sometimes useful to use the “tail” command. To view the log file’s recent activity. Type the following:

(more…)

SSH Cheat Sheet

29 Jan

SSH Cheat Sheet

SSH is a necessary tool in any server admin’s arsenal. It is the main way you will be interacting with your servers whenever you are performing system tasks such as install, updates, etc. SSH allows you to remotely connect to your server and command it via the shell. Below is a list of commands you will use commonly while working with your server.

(more…)