Huu Phan | Blog Linux operating system | Linux operating system -Blog Huu Phan | www.huuphan.com

This Blog is protected by DMCA.com

huuphan.com. Powered by Blogger.

Linux basic commands

Linux basic commands

How to check version Ubuntu
lsb_release -a




How to check to distribute
cat /etc/*release
How to check CPU information
cat /proc/cpuinfo
How to check PCI devices
lspci
How to list all USB devices
lsusb
How to get PC name from IP
nmblookup -A <ip>
nbtscan <ip>
How many connect on server
who -H
How many core processor
nproc
How to check full CPU information
lscpu 
How to create new user
adduser huupv
passwd huupv
For centos
usermod -aG wheel huupv
For ubuntu
echo "huupv ALL=(ALL) ALL" >> /etc/sudoers

How to find UUID disk
blkid /dev/sda6
lsblk -f

To continuous....

Thanks for reading Linux basic commands My blog Zimbra Mail Server,linux,bash script,centos,linux command I hope this is useful.

post new :

Huu Phan | Blog Linux operating system | Huu Phan ~ Zimbra Mail Server,linux,bash script,centos,linux command | www.huuphan.com