What kernel version is kali linux

Как узнать версию Кали Линукс?

узнать версию кали линукс

В статье рассмотрен вопрос о том как быстро узнать версию Кали Линукс, включая возможность определить конкретный номер версии/выпуска и архитектуру (разрядность 32х или 64х) процессора компьютера/ноутбука. Как вы знаете, полностью обновить (читай — заменить) уже установленную Кали Линукс, кроме как полной переустановкой, нельзя. У нас есть возможность только обновить установленные в системе пакеты. Кали — система, предназначенная прежде всего для пентестера. А в ней могут появляться ошибки независимо от версии. И при решении тех или иных проблем слепо доверять наспех переведённым мануалам и выдержкам из форумов без точного знания, в том числе версии Кали, нельзя.

Узнать версию Кали Линукс можно несколькими способами. Заряжаем терминал командой

версия кали линукс hostnamectl

Терминал тут же выдаст версию ядра и обещанную архитектуру процессора. Более сжатую информацию даст команда по вызову утилиты LSB (Linux Standard Base) о дистрибутиве Linux. Работает на всех Линухах:

узнать версию кали линукс

Дёшево и сердито: только название и номер выпуска. Или ещё короче — только версия ядра:

Или различными вариациями, но об одном и том же:

cat /etc/issue more /etc/issue less /etc/issue

Можно выудить информации побольше. В том же терминале набираем команду просмотра специального файла, содержащего идентификационные данные, информацию и дистрибутиве и т.п.:

Здесь и версия, и её ИД, и кодовое наименование. Правда, без версии ядра. Три следующие друг за другом команды сверху вам представить самую полную о Кали информацию:

узнать версию кали линукс

Но можно узнать общую инфу, например, выделяющую Кали среди других Linux-систем:

кали линукс cat

Вариантов, в общем, полно. Успехов.

Источник

3 Ways to Check Linux Kernel Version in Command Line

You may find yourself in a situation where you need to know the exact Linux kernel version used on your system. Thanks to the powerful Linux command line, you can easily find that out.

A quick way to check Linux kernel version: You can use the following command to get the Linux kernel version:

There are other ways to get even more detailed information about kernels. Read the rest of the article to learn it in detail.

In this article, I’ll show you various methods for finding out your kernel version and tell you what those numbers mean. If you prefer videos, here’s a quick one:

Читайте также:  Linux program using port

Check Kernel Version In Linux

1. Find Linux kernel using uname command

uname is the Linux command for getting system information. You can also use it to find out whether you’re using a 32-bit or 64-bit system.

Open a terminal and type in the following command:

Checking Linux kernel version in command line

The output will be something similar to this:

This means that you’re running Linux kernel 4.4.0-97, or in more generic terms, you are running Linux kernel version 4.4.

But what do the other digits mean here? Let me explain:

  • 4 – Kernel version
  • 4 – Major revision
  • 0 – Minor revision
  • 97 – Bug fix
  • generic – Distribution-specific string. For Ubuntu, it means I’m using the desktop version. For Ubuntu server edition, it would be ‘server’.

You can also use the uname command with the option -a. This will provide more system information if you need it.

Checking Linux kernel version in command line

The output of the command should look like this:

Linux itsfoss 4.4.0-97-generic #120-Ubuntu SMP Tue Sep 19 17:28:18 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Let me explain the output and what it means:

  • Linux – Kernel name. If you run the same command on BSD or macOS, the result will be different.
  • itsfoss – Hostname.
  • 4.4.0-97-generic – Kernel release (as we saw above).
  • #120-Ubuntu SMP Tue Sep 19 17:28:18 UTC 2017 – This means that Ubuntu has compiled 4.4.0-97-generic 120 times. A timestamp for the last compilation is also there.
  • x86_64 – Machine architecture.
  • x86_64 – Processor architecture.
  • x86_64 – Operating system architecture (you can run a 32-bit OS on a 64-bit processor).
  • GNU/Linux – Operating system (and no, it won’t show the distribution name).

But I’ll save you from information overload. Let’s see some other commands to find your Linux kernel version.

2. Find Linux kernel using /proc/version file

In Linux, you can also find the kernel information in the file /proc/version. Just look at the contents of this file:

Checking Linux kernel version in command line

You’ll see an output similar to what you saw with uname.

Linux version 4.4.0-97-generic ([email protected]) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ) #120-Ubuntu SMP Tue Sep 19 17:28:18 UTC 2017

You can see the kernel version 4.4.0-97-generic here.

3. Find Linux kernel version using dmesg command

dmesg is a powerful command used for writing kernel messages. It’s also very useful for getting system information.

Since dmesg provides an awful lot of information, you should normally use a command like less to read it. But since we’re here just to check the Linux kernel version, grepping on ‘Linux’ should give the desired output.

Checking Linux kernel version in command line

The output will have a few lines but you should be able to identify the Linux kernel version there easily.

[ 0.000000] Linux version 4.4.0-97-generic ([email protected]) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ) #120-Ubuntu SMP Tue Sep 19 17:28:18 UTC 2017 (Ubuntu 4.4.0-97.120-generic 4.4.87) [ 0.182880] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored [ 1.003861] Linux agpgart interface v0.103 [ 1.007875] usb usb1: Manufacturer: Linux 4.4.0-97-generic xhci-hcd [ 1.009983] usb usb2: Manufacturer: Linux 4.4.0-97-generic xhci-hcd [ 5.371748] media: Linux media interface: v0.10 [ 5.399948] Linux video capture interface: v2.00 [ 5.651287] VBoxPciLinuxInit

How do you check your Linux Kernel version and other information?

Of the three ways discussed here, I use uname all the time. It’s the most convenient.

Читайте также:  Linux kernel make configure

What about you? Which command do you prefer for getting Linux kernel information?

Источник

How To Check Kali Linux Version

Kali Linux | Version

thetqweb | the Ultimate Cyber Intelligence Hub

There are many methods of knowing the version of Kali Linux that you are running on your machine. Here I have selected 5 ways to check the Version of Kali Linux you are running using Terminal, how to know the Linux Kernel you are running, the Release of the Kali host machine, Architecture of the host machine and the Kali Linux Codename among other things about your Kali OS.

Note that Linux and generally UNIX-based systems are Case Sensitive. This simply means that different-case letters have different meaning. Small-case letters in UNIX have totally different roles or functions in Terminal. A good example is the letter ‘v” and ‘V’. The letter ‘-v’ is popularly known for its usage to imply ‘verbose’ while ‘-V’ is popularly known for its usage to imply “Version”, used as an alias to ‘–version’.

For all commands, open Terminal and enter the following commands ‘as is’:

root@kali:~# cat /etc/os-release

root@kali:~# cat /etc/os-release
PRETTY_NAME=”Kali GNU/Linux Rolling”
NAME=”Kali GNU/Linux”
ID=kali
VERSION=”2019.3″
VERSION_ID=”2019.3″
VERSION_CODENAME=”kali-rolling”
ID_LIKE=debian
ANSI_COLOR=”1;31″
HOME_URL=”https://www.kali.org/”
SUPPORT_URL=”https://forums.kali.org/”
BUG_REPORT_URL=”https://bugs.kali.org/”

root@kali:~# hostnamectl
Static hostname: kali
Pretty hostname: kali
Icon name: computer-laptop
Chassis: laptop
Machine ID: rw48t8h09009237y83y98y94rf7403i5
Boot ID: nh67t87242hdr78y92802082uo320u34
Operating System: Kali GNU/Linux Rolling
Kernel: Linux 5.2.0-kali2-amd64
Architecture: x86-64

root@kali:~# cat /etc/issue
Kali GNU/Linux Rolling \n \l

root@kali:~# lsb_release -a
No LSB modules are available.
Distributor ID: Kali
Description: Kali GNU/Linux Rolling
Release: 2019.3
Codename: kali-rolling

root@kali:~# uname -srm
Linux 5.2.0-kali2-amd64 x86_64

SUPPORT [[:thetqweb:]] VIA

Источник

How to skip kernel update in Kali Linux? beginners guide 2021

How to skip kernel update in Kali Linux?

Today I have seen a comment on my post, it was really very inspiring for me because according to this question I was missing some things in my previous post How to update and upgrade Kali Linux to 2017.2.

Either I forgot about this requirement or This concept had been not entered my mind. But after reading this comment I realized ” I will have to write article rather than write a reply on that comment.

Читайте также:  Как установить cinnamon на linux mint

So I am no taking a long time I am going to post a screenshot of that comment, so you can see the question below.

How to skip kernel update in Kali Linux?

Exactly, I faced a problem related to this issue in Kali Linux virtual machine but I didn’t take it seriously.

Explanation: I installed Kali Linux on Virtual box, New version of Kali Linux has been released later and I had to update it. After updating Kali Linux in the newer version I have to update Virtualbox guest additions in the newest version. I write an article related it Re-Install guest addition after update Virtual box for Kali Linux.

How to skip kernel update in Kali Linux

Whatever, What is the reason? why dont you want to kernel update? It is not matter for me.

I write here what I did on my machine after reading the comments. And I am willing to help others.

Check current version of Kernel in Kali Linux:

Similar as other Linux you can use simple command to see kernel version in Kali Linux

Check current version of Kernel in Kali Linux

Blocking packages with apt/dpkg

As you know “In Linux packages are managed by apt or dpkg in Kali Linux”. When we upgrade newer version of tools, kernel or other utility, First all packages are downloaded from repositories in local computer, then installed in machine. Before start installation process administrator user can hold any package to install. So the old version remain same in your machine and newer version will not install.

How to hold packages with apt/dpkg:

following command can be executed to hold any package

#echo kernel_package_name hold | dpkg --set-selections

Replace the Kernel_package_name with current kernel package name.

How to hold packages with apt/dpkg

How to know current kernel package name in Kali Linux:

#echo $(dpkg -l «*$(uname -r)*» | grep image | awk »)
Now you will have the kernel name set the kernel in above command and hold kernel packages name for being install.

How to know current kernel package name in Kali Linux

How to remove pin from Apt/dpkg:

echo kernel_package install | dpkg —set-selections

What is problem, I faced:

When I executed following command, I faced problem.

Erorr-to-hold-package

Again I tried to reconfigure dpkg but get same error:

same-error-again

Solution:

If you are facing such type of error, dont worry! This is happened, because I have some interrupted package management process. But it may possible, you will not face this problem. I added this part because it will help stupid people like me, who left system in process and start working on another system, after some time they forgot about it. and at last start weeping for invited problem 🙁

Whatever Solution is here:

I dont want to write commands here:

If you still have any problems, Don’t worry. I am still here Write the issue in the comment box.

Источник

Оцените статью
Adblock
detector