How Do I Find the Command Description in Linux?
Contents

How do I get the command description in Linux?

help Command in Linux with examples

  1. -d option : It is used when you just want to get an overview about any shell built-in command i.e it only gives short description.
  2. -m option : It displays usage in pseudo-manpage format.
  3. -s option : It just displays only a short usage synopsis for each topic matching.

How do I see all commands in Linux?

At the command line, type compgen -c | more to list every command you can run. Use the space bar each time you’d like to go down another long page of text. You’ll notice that this utility has an extremely broad idea of what a command is.

Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article
Twitter Facebook Pinterest