BASH – How to count the number of IP addresses in a log file
Background Sometimes it’s useful to see how many times a specific IP address appears in a log file. In this article we explore one method
Background Sometimes it’s useful to see how many times a specific IP address appears in a log file. In this article we explore one method
Background Grub controls the boot process menu, and has a number of interesting settings. Here is an example of grub settings: Example ~$ cat /etc/default/grub
Background If you need to view a website but the IP is not already pointing to it, then you can update your hosts file. Doing
To add a route in Linux, do this: sudo route add -host 192.168.90.2/32 gw 192.168.1.7 The /32 means a single host, if you want to
Background This article explains how to set a time server on a CentOS Linux server. Install and enable the NTP service: yum install ntp systemctl
Summary To change the password of a Linux user, do this: passwd That will change the currently logged in user’s password. To change the password
Background If you run into a situation where you want to use netstat on CentOS or Redhat but you encouter: -bash: netstat: command not found
Background netstat is one of the most important network troubleshooting tools but the syntax can be overwhelming and even non-intuitive. Combine complex syntax with subtle
Background Bash is very powerful for handling dates and times, but you need to get to grips with it’s syntax. This article contains a few
Background This article give a broad overview of how to add a USB drive to your Linux server. A command sequence is displayed with an