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

Last updated

Was this helpful?