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
How to list all USB devices
How to get PC name from IP
nmblookup -A <ip>
nbtscan <ip>
How many connect on server
who -H
How many core processor
How to check full CPU information
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....


Popular posts from this blog

zimbra some services are not running [Solve problem]

How to install and configure zimbra multi server

Bash script list all IP addresses connected to Server