hamburger menu
All Coursesall course arrow
adda247
reward-icon
adda247
    arrow
    arrow
    arrow
    Which Linux command is used to display the current version of the kernel?
    Question



    Which Linux command is used to display the current version of the kernel?

    A.

    lskernel

    B.

    kernel -v

    C.

    version

    D.

    uname -r

    E.

    kerninfo

    Correct option is D

    The uname -r command in Linux displays the current version of the kernel that the system is running. The uname command provides system information, and the -r flag specifically shows the kernel version.
    Important Key Points:
    1. The Linux kernel version is crucial for identifying system compatibility and updates.
    2. uname is a standard Linux utility for fetching basic system details like kernel name, version, and architecture.
    3. Other related uname options include:
    · uname -a: Displays all system information.
    · uname -n: Shows the system’s hostname.
    · uname -m: Displays the system architecture (e.g., x86_64).
    Knowledge Booster:
    · kernel -v: This is not a valid Linux command. The -v flag in uname displays the kernel version with additional build details, but it doesn’t exist as kernel -v.
    · version: Not a valid command in Linux to fetch kernel details.
    · lskernel: This is a fictional command and not part of Linux utilities.
    · kerninfo: Similarly, this is not a valid Linux command.

    Free Tests

    Free
    Must Attempt

    RBI Asst Prelims 2026: Quant Advance level Test 01

    languageIcon English
    • pdpQsnIcon35 Questions
    • pdpsheetsIcon35 Marks
    • timerIcon20 Mins
    languageIcon English
    Free
    Must Attempt

    RBI Asst Prelims 2026: Reasoning Advance level Test 01

    languageIcon English
    • pdpQsnIcon35 Questions
    • pdpsheetsIcon35 Marks
    • timerIcon20 Mins
    languageIcon English
    Free
    Must Attempt

    NABARD Development Assistant Mains 2026 Full Mock Test -01

    languageIcon English
    • pdpQsnIcon150 Questions
    • pdpsheetsIcon150 Marks
    • timerIcon105 Mins
    languageIcon English
    test-prime-package

    Access ‘IBPS SO IT Officer’ Mock Tests with

    • 60000+ Mocks and Previous Year Papers
    • Unlimited Re-Attempts
    • Personalised Report Card
    • 500% Refund on Final Selection
    • Largest Community
    students-icon
    383k+ students have already unlocked exclusive benefits with Test Prime!
    Our Plans
    Monthsup-arrow