Posts

Showing posts with the label Linux

🔥 Featured Topic

Basic Linux Commands

👉🏻 date command date command prints the current date time. $ date 👉🏻 cal command cal command is used to display a calendar in your shell, by default it will display the current month $ cal 👉🏻 Clear terminal $ clear 👉🏻 Exit terminal $ exit 👉🏻 whoami command whoami command will tell you which user account you are using in this system. $ whoami 👉🏻 Show current uptime. $ uptime 👉🏻 CPU information . $ cat /proc/cpuinfo 👉🏻   Show disk usage $ df 👉🏻 Show directory space usage $ du 👉🏻   Show memory and swap usage $ free 👉🏻 Install Package $ pkg install package_name   👉🏻 Update Single Package $ pkg update package_name 👉🏻 Update all packages $ pkg update && upgrade 👉🏻 id command id prints real user id, and various other details related to the account. $ id 👉🏻 pwd command pwd command, short for print working directory, will help you to find out the absolute path of the current directory. $ pwd 👉🏻 cd command The next command we will learn is cd, short for c...