• Home
  • WordPress
  • web Hosting
  • linux
  • mysql
  • nginx
  • apache2
  • devops

Raju Ginni

wordpress tutorials seo hosting etc

You are here: Home / Linux sysadmin tutorials linux system administrator / check linux version (lsb_release -a) ubuntu debian 32 or 64 bit

check linux version (lsb_release -a) ubuntu debian 32 or 64 bit

 

Table of Contents

Toggle
  • how to check linux version?
  • lsb_release -a command for ubuntu & debian systems
  • check linux version with cat command
  • cat /etc/issue command to check linux version
  • hostnamectl to check linux version & kernel
  • check linux version centos
  • check linux version 32 or 64
  • How do I find the RHEL version?
  • uname command to find linux version

how to check linux version?

as a linux admin, we may forgot just Like RAM – memory, until some repetitions and practice. here are few commands to check linux distribution version.

you may remember this word lsab -release but actually its

lsb_release -a

 

lsb_release -a command for ubuntu & debian systems

sudo lsb_release -a

root@-s-4vcpu-8gb-blr1-01:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic

or

root@-s-4vcpu-8gb-blr1-01:~# lsb_release -d
Description: Ubuntu 18.04.5 LTS

 

lsb_release -a preferable because we need code name install applications like nginx

check linux version with cat command

command to remember os-release (remaining cat and etc directory automatically triggers)

 

root@-s-4vcpu-8gb-blr1-01:~# cat /etc/os-release
NAME=”Ubuntu”
VERSION=”18.04.5 LTS (Bionic Beaver)”
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=”Ubuntu 18.04.5 LTS”
VERSION_ID=”18.04″
HOME_URL=”https://www.ubuntu.com/”
SUPPORT_URL=”https://help.ubuntu.com/”
BUG_REPORT_URL=”https://bugs.launchpad.net/ubuntu/”
PRIVACY_POLICY_URL=”https://www.ubuntu.com/legal/terms-and-policies/privacy-policy”
VERSION_CODENAME=bionic

cat /etc/issue command to check linux version

root@-s-4vcpu-8gb-blr1-01:~# cat /etc/issue
Ubuntu 18.04.5 LTS \n \l

hostnamectl to check linux version & kernel

root@-s-4vcpu-8gb-blr1-01:~# hostnamectl
Static hostname: -s-4vcpu-8gb-blr1-01
Icon name: computer-vm
Chassis: vm
Machine ID: 21ce09bb9afd4146a09f98628219520c
Boot ID: 3a6c079ec3ab4ed0ada4b47114d6320d
Virtualization: kvm
Operating System: Ubuntu 18.04.5 LTS
Kernel: Linux 4.15.0-140-generic
Architecture: x86-64

check linux version centos

lsb_release -a

uname -a

rpm –query centos-release

cat /etc/system-release

check linux version 32 or 64

hostnamectl  command helps for linux os 32 or 64 bit.

 

root@-s-4vcpu-8gb-blr1-01:~# hostnamectl | grep Architecture
Architecture: x86-64

 

 

How do I find the RHEL version?

cat /etc/redhat-release

rpm –query redhat-release

cat /etc/system-release

uname command to find linux version

root@-s-4vcpu-8gb-blr1-01:~# uname -srm
Linux 4.15.0-140-generic x86_64

root@-s-4vcpu-8gb-blr1-01:~# uname -a
Linux -s-4vcpu-8gb-blr1-01 4.15.0-140-generic #144-Ubuntu SMP Fri Mar 19 14:12:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Linux sysadmin tutorials linux system administrator

  • top 10 apt & apt-get commands (most used) apt vs apt-get
  • If-Else Statements in Shell Scripting
  • linux commands pdf (files & Directories, zip & unzip process, search etc)
  • Find Files with Specific Text on Linux grep find command
  • linux performance tuning inode limit file descriptors tco, kernel etc
  • Variables and Data Types in Shell Scripting
  • Top 10 most used Cat commands with examples (create, view, append files)
  • Ip tables / ufw / firewall d commands for block port ip rate limiting
  • Top 10 zip / tar commands to compress & extract files in linux
  • TOP 10 mv & cp commands in linux to move & copy files in Linux
  • Top 10 GREP Commands in linux to search files directory words strings
  • lsof netstat commands to know listening ports in linux 3 ways
  • Upgrade Ubuntu from 18.04 (19.10) to 20.04 LTS command line or gui server | desktop
  • 3 Ways (SCP, rsync, Sftp) linux server migration between two remote server apache nginx
  • linux system specs commands (CPU, Memory, Disk )speed, type. manufacture
  • linux sysctl command tweaks & hardening
  • linux security limits.conf deciding user limits process limits for nginx server
  • ulimit linux unlimited command unlimto set & know user limits open files file descriptor max user process etc.
  • red hat linux certification cost jobs salary syllabus courses fees
  • ufw firewall commads allow port enable disable ubuntu 20.04
  • ddos attack prevention
  • change ssh port in linux - avoid sshd ddos attacks
  • ping command
  • memcached install ubuntu wordpress
  • check linux version (lsb_release -a) ubuntu debian 32 or 64 bit
  • rsync command linux with examples comparison to scp
  • how to uninstall package in linux ubuntu rpm, yum apt-get
  • increase open file limit linux File descriptor ft nginx , mysql, lemp
  • remove repository ubuntu
  • htop commad memory details virtual vs shard vs resident
  • chown command in Linux with Examples
  • Kill PHP process
  • VIrtual Memory vs RSS Memory vs Shared memory in Linux
  • oom killer fixing it by configuration linux ubuntu
  • Install Lemp nginx mysql php fpm Stack on Debian 11 with repository
  • connect two remote servers linux command line
  • auto start after oom killer Mysql & php fpm nginx etc ubuntu wth systemd or cron job
  • load average Linux 1, 5, 15 min 2,4,8 cores explained
  • Control Structures in Shell Scripting
  • Shell Scripting Roadmap for Beginners to Advanced
  • awk commands with practical examples
  • Shell Scripting Tutorial for Beginners 🚀
  • find Command in Linux with Examples
  • sed Command in Linux with Examples (Beginner to Advanced)
  • Linux Text processing commands in with Examples
  • linux disk management commands
  • fdisk command in linux with examples
  • how to add a new disk in linux
  • Linux mount Command with Examples
  • fstab options with examples
  • Top 50 Shell Scripting Interview Questions and Answers
  • Linux Networking Interview Questions and Answers
  • Linux Networking Commands Cheat Sheet with Examples pdf
  • Netstat & SS Commands cheat sheet with examples Interview Questions
  • Nmap Cheat Sheet – Network Scanning & Security
  • Bash Brackets ([], (), {}, $( ), $(( ))) – Types, Uses & Examples

hi i am raju ginni, primalry i manage wordpress websites on GCP cloud platform as a cloud engineer, and create content on passionate things.
you can follow me on youtbe

© 2025 - All Rights Reserved Disclaimer & Privacy Policy