10 GCC Flags for Linux

A C build may call for warning checks, debugging information, or a named output file. GCC flags let you select those behaviors when you compile and link a program. I’ll show how to combine useful flags in a build command and how to compile source separately from linking. TL;DR: GCC flags for a practical C

10 GCC Flags for Linux Read More »

What Are Shells in Linux?

Knowing which shell interprets a command helps you choose the right language for a Linux script. A shell is a command interpreter that parses shell syntax and runs built-in operations or other programs. This article shows how to check the active shell and compare a portable assignment in Bash and Dash. TL;DR: What a Linux

What Are Shells in Linux? Read More »

Linux Kernels: 4 Types Explained

Choosing among Linux kernel options starts with knowing what each label describes. The kernel is the part of Linux that coordinates running programs with processors, memory and devices. This article explains why kernel labels can describe different kinds of choices. It also shows how to check the running release with uname -r. TL;DR: Linux kernel

Linux Kernels: 4 Types Explained Read More »

The PATH Environment Variable

When you check how Linux finds a command, the order of directories in PATH helps explain which executable the shell selects. PATH is a list of directories that Bash searches from left to right when a command has no slash. This article shows how to check the active value and choose where to save a

The PATH Environment Variable Read More »