Learn basic Linux machine commands| Part-3| Punjabi | AWS

Опубликовано: 24 Июль 2026
на канале: ComputeWithAman
33
3

Hii,
Please find below the commands used in this video.

apt-get, brew, yum ----------- Installing Programs on the Command Line

brew install update # Mac
sudo yum install update # Fedora
sudo apt-get update # Ubuntu
sudo apt update
sudo su ------- login as root user
exit ---------- logout of a user
uname --------- prints out various system information
uname a ----- prints out various all system information
whoami -------- To see your unix username
who ----------- Current logged in user
sudo useradd ------ To make new user -------- useradd kaur (enter)
useradd m singh(enter) sudo passwd username -------------To set password to a user -- sudo passwd jagmohan (enter)
getent passwd ------ To list all users in linux
cat /etc/passwd ----- To list all users in passwd file
grep username /etc/passwd --------- To check a perticular user in machine.
su username ------------switch user --------- su username (enter)
hostname (enter)------ prints the system's host name, which is like the name of the computer
--- tree --------- Shows tree of folders ------ tree folderName (enter)
wc ------------ prints the word count of file
date ---------- prints the date
date "+%D" ---- Print the date in days mm/dd/yy
cal ----------- prints a calendar for the current month
cal y ------- calendar for the whole year

-------------------------------------------------------------------------------------------------------------

For More Information:
Please write us at: [email protected]

====== If you would like to donate and give support to our Channel, write a mail to us.

Thanks For giving Your Valuable time.
Regards,
ComputeOnCloud Team