Print () - A function to display the output of a program. Range ()




Download 6,34 Mb.
Pdf ko'rish
bet107/203
Sana10.01.2024
Hajmi6,34 Mb.
#134102
1   ...   103   104   105   106   107   108   109   110   ...   203
Bog'liq
Linux This Book Includes 4 Manuscripts The Underground Bible

Print () - A function to display the output of a program.
Range () - returns a list of integers, the sequence of which is defined by the
arguments passed to it.
Sets - Sets are collections of unique but unordered items.
Str ()- allows the user to represent the content of a variable as a string.
Managing Linux kernel modules
The Linux kernel is Linux operating system`s core part. It is in charge of
operating the computer and the hardware. There are two types of kernels
which include the microkernel and monolithic kernel. The microkernel is in
charge of the functionality of the operating system. The microkernel will
manage the memory and CPU time. The monolithic kernel is in charge of
the device drivers. When the two types are combined and work together,
they help manage the operations of the operating system as well as the
hardware. Modules in the Linux operating system are pieces of code that
can be loaded or unloaded upon demand by the operating system. The
function of these modules is to help extend the functionality of the OS
without having to shut down the whole system.
The ability to load and remove modules from Linux is one of the most
significant advantages of this operating system. This is because it helps to
reduce the size of the operating system. Without the ability to load modules
or remove them, then it would mean that the operating system would come
with systems to help complete any anticipated functions loaded in the base
kernel. Loading the modules will lead to wasting of memory and with users
having different needs, then they would be useless to some users. Linux has


three major kernel modules: file system drivers, device drivers, and system
calls.
One major reason why people prefer to compile their kernels is that some
drivers (and other kernel features) need to be patched. At times some of the
kernel features may get broken. When this is the case, patching up may
need the user to develop their kernels. Another case where a person may
develop a kernel is when they need to update the drivers or needs to use
new ones. They may result in developing a new kernel. Compiling one’s
kernels will mean that the person will remove some kernels and build new
ones. The process of removing the older kernels and replacing them with
new ones will mean that the system is optimized. The optimization, in many
cases, can result in a faster system for the user. However, this is just an
advantage and not a reason to build and replace kernels.

Download 6,34 Mb.
1   ...   103   104   105   106   107   108   109   110   ...   203




Download 6,34 Mb.
Pdf ko'rish

Bosh sahifa
Aloqalar

    Bosh sahifa



Print () - A function to display the output of a program. Range ()

Download 6,34 Mb.
Pdf ko'rish