In this section, we will take a look at the core concepts of a linux operating system.
The Linux Kernel is also modular, which means it can extends its capabilities through the use of dynamically loaded kernel modules
College Library
. Here the librarian is equal to Linux Kernel.Use uname
command to get the information about the kernel (by itself it doesn’t provide much information except that the system uses the Linux
Kernel.
$ uname
Use the uname -r
or uname
comamnd and option to print the kernel version
$ uname -r
$ uname -a
Memory Management
. We will now see how memory is seperated within the linux kernelMemory is divded into two areas.
User Space
workAll user programs function by manipulating data that is stored in memory and on disk. User programs get access to data by making special request to the kernel called System Calls
Examples include, allocating memory by using variables or opening a file.
For example, opening a file such as the /etc/os-release
to see the operating system installed, results in a system call