Linux - System Commands
Welcome to the first part of the Linux Basic Commands series.
In this post, we’ll cover system basic commands in linux OS.
👉 Next up: Linux - File Commands
System Basic Commands
arch -- Print machine architecture
uname -- os name information
uname-a -- all os information like os name, kernal version, hostname
cat /etc/redhat-release -- to check the linux version
hostname -- to view the current host eg:sdbt.localdomain
hostname-i -- to view network ip address
ifconfig -- also view ip address
id -- print group name and user name for the current id
logname -- print the user name
uptime -- show the system start time
date -- print date and time
date +%m%d%y -- print like month, day, year eg:12/02/24
who -- to check the number of users
who am i -- to identify which user is me
history -- print the history commands
history -c -- to clear the history
clear -- use to clear the terminal
alias -- use to restore the command into a user variable eg: alias cl=clear
unalias -- use to remove the alias eg: unalias cl
man -- man is a manual page for linux commands
cat /proc/cpuinfo -- to check number of cpu
cat /proc/meminfo -- to check memory information
exit -- to logout
SOCIAL SHARE CARD GENERATOR