linux Archive - HostAfrica
+27 21 554 3096

Blog

Linux Basics – head, tail, cat and more (or less)

Linux Basics – head, tail, cat and more (or less)

The following are all BASH commands that are in daily use for most admin tasks. Need to extract a list of email addresses from a log file or a list of domains from a zone file list? These tools can do all of this and more. Let us dig in and have a look at what […]

Read More »
Linux – where did it come from?

Linux – where did it come from?

Linux History According to popular Linux history sources, Linux was created and developed by a talented student, Linus Torvalds, in 1991 when he was a student at Helsinki University, Finland. In early 1991 he purchased an IBM-compatible personal computer that came with the MS-DOS operating system. Linus wasn’t satisfied with MS-DOS and wanted to use […]

Read More »
Linux Basics – An Intro to Log Files

Linux Basics – An Intro to Log Files

Linux Log Files Linux log files are a wonderful source of information. They can be used for debugging and troubleshooting almost any running application. If you are bored of watching TV, try staring at your Linux log files for a while. It can get addictive. Linux logs are mostly stored in plain text. Most log […]

Read More »
Linux Basics – man and mkdir

Linux Basics – man and mkdir

The Linux ‘man’ command The Linux man command is one of the lesser known helpers for those new to Linux. Typing in ‘man find’ give you a whole manual page on the ‘find’ command and this is what ‘man’ is short for – Manual. Let us see part of the ‘man find’ command and its output: […]

Read More »
Linux Basics – the ‘kill’ command and process signals

Linux Basics – the ‘kill’ command and process signals

The kill command The kill command is used in Linux to terminate a running process. Various signals may be passed via the kill command to either terminate the process gracefully, tell the process to restart or to shut it down forcefully. We will first cover the process table and then some commonly used signals. Process Table The […]

Read More »
Linux Basics – Navigation

Linux Basics – Navigation

The Linux system can be a confusing place for someone new to Linux. So we decided to steal some tips from our Linux guru’s at Host Africa. The following basics will help you manage: Current location A useful command to use to find out where you currently are is pwd. This command, like a lot of Linux […]

Read More »
HowTo: Use Linux Screen command

HowTo: Use Linux Screen command

A bit about Linux Screen Linux Screen lets you do amazing things. Using Screen, you can use multiple shell windows from a single SSH session. Linux Screen enables you to keep a shell active even through network disruptions. You can disconnect and re-connect to shell sessions from multiple locations and run a long-running process without […]

Read More »
Bash for Beginners

Bash for Beginners

BASH or the “Bourne-Again Shell” is the scripting language with which many Linux tasks are accomplished. It is an easy to use language and can be freely adapted and expanded which makes it extremely powerful. It enables us to write our own commands, making systems automation (when the computer does the boring tasks) very easy. […]

Read More »
Setting up a simple firewall in Linux

Setting up a simple firewall in Linux

Basics In Linux, there are a few basic concepts that we need to understand before we start. Firewall rules are, in general, applied as they are read, from the top down. The best firewall DENIES ALL and only ALLOWS what is needed. OUTBOUND rules are generally more relaxed than INBOUND. A Policy is what gets […]

Read More »
Linux vs Windows – TCO, ROI and more

Linux vs Windows – TCO, ROI and more

When IT Managers get asked why they prefer Windows over Linux, the excuse is often given that it would be too expensive to run Linux as they would need to retrain staff or hire a specialist. Other reasons given are software compatibility and “lack of support”. I have been a hardcore Open Source fanatic for […]

Read More »