In order to fetch the version of your kernel, use the following command: $ uname -v The above command has displayed the release number of my Linux Get the Linux Kernel Version In order to print the release information of your kernel, use the following command: Advertisement $ uname -r The above output has displayed Linux as my kernel name. When you precisely want the command to print the kernel name, you will use the following command: $ uname -s The basic command as described below only returns the Kernel name: $ unameĪs you can see, the uname command when used without any switches only returns the kernel name i.e., Linux for my system. The uname command comes with multiple switches.
To know the basic information about your system, you need to be familiar with the command-line utility called uname-short for unix name. Displaying Basic System Information on Linux Shell The commands and examples mentioned in this tutorial have been tested on Ubuntu 20.04 and Debian 10.
#LINUX FILE DETAILS HOW TO#
This tutorial will teach you how to use all these commands to get the sysinfo Linux details.
#LINUX FILE DETAILS SOFTWARE#
The Linux command line contains several built-in commands to help you become familiar with the software and hardware platform you are working on. As a normal Linux user or software developer, it is important for you to check the compatibility of a software or hardware system you want to install. –help option: Print a help message and exit.When using Linux, you may need to know details about the system you are running or the hardware specifications you are using.-z option: Try to look inside compressed files.filenames: Displays file types of multiple files.-N option: Don’t pad filenames so that they align in the output.The output shows file and file types are separated by – and +. But we can change separator using -F option -F option : File and file type are separated by.Either namefile or atleast one filename argument must be present to test the standard input, use ‘-’ as a filename argument. -f option: Read the names of the files to be examined from namefile (one per line) before the argument list.
This option is usually used in conjunction with the -m flag to debug a new magic file before installing it.