N
N
Nanch2020-08-20 10:10:20
linux
Nanch, 2020-08-20 10:10:20

What directory is the Linux kernel in?

What directory is the Linux kernel in?

/bin, proc or /root?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
J
jcmvbkbc, 2020-08-20
@jcmvbkbc

The one in which the system builder placed it. It may not be accessible from the file system at all (for example, be on a separate flash partition without a file system). It might not even be on the device that uses it (and the bootloader might get it over the network each time).
And in classic distributions, it is usually in /boot.

P
pfg21, 2020-08-20
@pfg21

the Linux kernel is located in the /boot/vmlinuz-* file, there are usually several of them

S
Saboteur, 2020-08-20
@saboteur_kiev

/ bin contains various system binaries
/ proc is generally a virtual procfs file system, it is not on the disk
/ root is the home directory of the root user
the kernel (or several), are in / boot

V
Victor Taran, 2020-08-20
@shambler81

In Linux, a slightly different topology, if in windows programs are distributed according to the principle one program, one folder, it contains libraries and galleries and modules and components and logs, and in general everything.
Then in Linux everything lies according to the types of files
logs separately
libraries separately
launchers separately
According to this software is scattered throughout the system.
Here you need to clearly understand what you want to find, since the word "Linux kernel" can mean several different things, depending on the degree of quality of the question posed.
For this, describe what exactly you want to find and why, this will be the answer.

C
CityCat4, 2020-08-20
@CityCat4

Usually /boot if you mean the kernel executable, or /usr/src/linux if you mean sources.
All listed directories have nothing to do with the kernel.
/bin - directory for the most frequently used programs (usually there are not many of them, I have 107)
/proc - pseudo-FS for quick interaction with the system
/root - home directory of the root user

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question