Basic Linux Commands Lesson-1

  1. echo — To display anything written after it (echo)

2. cal — To display the current month’s calendar

3. cal 2021 — To display 2021 year’s calendar

4. cal -y — To display current years’s calendar

5. date — To display today’s date

6. clear — To clear the Terminal screen

7. history — To display the list of all previous commands executed

8. !! — To run the previous previous command executed

9. !2 — To run the second command from the history (Can be used as !* , *:any number in the history)

10. history -c; history -w — To clear the history

11. exit — To close the terminal



Still a Hello World baby!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store