What is the best way to remember UNIX / Linux Commands?

Hi all,

I'm new to UNIX world and new to this forum. As I observed there are lot of commands that needs to be remembered in UNIX programming. I'm into DevOps and can anyone please tell me what are all the important commands that are useful for DevOps Engineer.

NOTE: Please correct me if my question is under phrased.

Thanks in advance.

1 Like

Welcome to the forum.

Please tell us which question you want answered: the one in the title, or the one in the text? It would help if title and text were consistent...

There are many techniques out there pretending to help / teach you how to memorize even the most abstract things. From my perspective, experience is best, i.e. using / applying relevant commands again and again, best in different contexts, until you master a broad set of different helpers for different problems.
For the importance of commands, I can't help you, as this is dependent on the environment and the type of task(s), and it can change on a daily basis. Its best not to memoriize just the "important" subset commands but to master a broad set of different tools.

You will soon (with use) get to know all the simple commands that are used every day. A Unix book for beginners is a good start. What is more difficult are the many various 'switches' that can be used on command lines which vary between different Unix/Linux OS's, and for this purpose, unlike OS's like Windows, the user manual is always online by using the man command.

e.g.

man ls

Like all of us, you will never remember all the possible switches for a particular command but you can always refer to the user manual on-screen. Great isn't it!!

Hi.

Generalizing the idea of learning:

1) Yes, one good way is experience, especially learning from mistakes.

2) Retrieval is another method, one of the best, noted in several books (that I am reading) on learning, for example:
[quote=""learn better: mastering the skills for success in life, business, and school, or, how to become an expert in just about anything
ulrich boser""]

Some forms of practice make people more perfect than others, though, and people should be sure to practice retrieving their knowledge. In one well-known study, a group of subjects who practiced recalling a passage learned a lot more than people who simply reread the passage. More concretely, you'd learn a lot more if you ask yourself questions after reading this text than simply rereading it.
[/quote]

Flash or index cards, your own quizzes, etc. are some ways to implement this.

Good luck ... cheers, drl