Software engineer in the making week 3.0.. Understanding Linux..

We start here today we are looking at a few basic Linux Tips , what Run Levels mean and Files , Link Types ( soft and hard ) and Systems Types In Linux.

So lets look at Run levels.. to give us a better understanding of run levels we look at the word Process. A process is a sequence of steps or activities that lead to a particular outcome. This can be a physical process (e.g., baking a cake, manufacturing a car) or a mental process (e.g., solving a problem, making a decision). To better understand this lets list out a few things that you carry out daily each of them are not just independents but depend on certain actions theses actions are the process and these process usually occupy a certain part of us Mabey our hands our eyes , fingers etc...

Lets narrow down to computer science and then Linux.. In computing, a process is a running instance of a program. It occupies system resources (memory, CPU) and executes the program's instructions to achieve a specific goal.

lets connect the dot. when you boot your system a process starts and the goal of that process is to load up your system resources and give you a login screen that will take you into your desktop.

ill also write more on Systems process in my future blogs

Linux operating systems utilize run levels as a way to define the state of the system and determine which services and processes should be running at a given time.

Run levels play a crucial role in managing system booting, shutdown, and transitioning between different states

They define what system services are running and what features are available. Run levels are controlled by the init program, which is the first process that runs when the system boots. Ill write about the Init commands in the future

In Linux, run levels are predefined operating states that determine the behavior of the system. Each run level has a unique identifier and specifies a specific configuration of services and processes. These run levels range from 0 to 6, with each level serving a distinct purpose.

Understanding Different Run Levels:

Run Level 0 (Halt): This run level represents the system shutdown state. When the system enters run level 0, all services are stopped, and the system is halted.

Run Level 1 (Single User Mode): Run level 1 is also known as single-user mode. In this mode, the system boots into a minimal environment with a single user, typically the root user.

Run Levels 2-5 (Multi-User Mode): These run levels represent various multi-user states of the system. The exact configurations and services running in each run level can vary between different Linux distributions. Typically, run levels 2-5 provide different combinations of services, such as networking, graphical interface, and server processes, to support different system usage scenarios.

Run Level 6 (Reboot): Run level 6 is used to initiate a system reboot. When the system enters run level 6, all services are stopped, and the system is rebooted.

to initiate the run level 6 you can type this on your shell
sudo telinit 6

That's it for runlevels lets look at Link types in Linux Here