LearningLinux
  • Introduction To Linux Operating System
  • CentOS Installation
  • File System Hierarchy
  • Hardware Device
  • Boot Process
  • User and Application,Kernel,Shell
  • Symbols
  • Terminal Overview
  • System Command
  • File Paths
  • Linux File/Folder Properties
  • Linux Basic Command
  • Tar Command
  • Creating User and User Information Command
  • Group Information Command
  • Root Password Recovery(Redhat Distro)
  • Controlling Service
  • IP Address Assign Redhat Distro
  • NIC Bonding
  • File Permission
  • Access Control List (ACL)
  • Default Permission
  • Software Package Managing Tools
  • Connect Via SSH To Your Server
Powered by GitBook
On this page
  • Type of Shell
  • Check OS Version
  • Kernel Version
  • CPU Information
  • Partition Information
  • Graphic Information
  • Motherboard Information
  • System Information
  • PCI Slot Information
  • USB Information
  • RAM Information

Was this helpful?

System Command

Type of Shell

Shell အမျိုးအစားတွေကတော့ Bash Shell(bash) ,Boume Shell(sh),C Shell(csh), TC Shell (tcsh), Kom Shell (ksh) စသဖြင့်ရှိပါတယ်။ အဲ့ထဲမှာကအသုံးအများဆုံးShell ကတော့ bash shell ပဲဖြစ်ပါသည်။ကျွန်တော်တို့ ဘယ် shell ကိုအသုံးပြုနေလဲဆိုတာကိုစစ်ချင်ရင်တော့

$ echo $0

Check OS Version

ကျွန်တော်အသုံးပြုနေသည့် Linux OS Version ကိုစစ်ချင်ရင်တော့

$  cat /etc/os-release

Kernel Version

Kerenl Version ကိုစစ်ချင်ရင်တော့

$  uname -a   (print all information)
$  uname -s   (print the Kernel Name)
$  uname -n   (print the network node hostname)
$  uname -r   (print the Linux kernel release)
$  uname -v   (print the kernel version)
$  uname -m   (print the machine hardware name)
$  uname -p   (print the processor type)
$  uname -i   (print the hardware platform)
$  uname -o   (print the operating system)

CPU Information

CPU Information ကိုသိချင်ရင်တော့

$  cat /proc/cpuinfo
$  lscpu

Partition Information

Partition Information ကိုသိချင်ရင်တော့

$  cat /proc/partition
$  fdisk -l
$  lsblk

Graphic Information

Graphic Information ကိုစစ်ချင်ရင်

$ lshw -class display
$ lscpi -v

Motherboard Information

Motherboard Information ကိုစစ်ချင်ရင်

$ dmidecode -t baseboard

System Information

System Hardware list အားလုံးကိုတစ်ခါတည်းကြည့်ချင်တယ်ဆိုရင်တော့ဒီ Command လေးကိုသုံးရပါတယ်။

$ lshw

PCI Slot Information

PCI Slot Information ကိုကြည့်ချင်ရင်တော့

$ lspci

USB Information

USB Information နဲ့ပတ်သက်ပီးကြည့်ချင်ရင်တော့

$  lsusb

RAM Information

RAM Information ကိုကြည့်ချင်ရင်ရင်တော့

$ free -h
$ lsmem
PreviousTerminal OverviewNextFile Paths

Last updated 4 years ago

Was this helpful?