From a822f00a70be4f874c430d416a0030dc53dd591b Mon Sep 17 00:00:00 2001 From: Bryan Wilches <60490258+BryanWV@users.noreply.github.com> Date: Sun, 20 Apr 2025 03:02:23 -0500 Subject: [PATCH] chore(topic): add `help` example (#8514) * Update command-help.md Feat: Adding the --help flag explanation * Update src/data/roadmaps/linux/content/shell-basics/command-help.md * Update command-help.md --------- Co-authored-by: Arik Chakma --- .../roadmaps/linux/content/shell-basics/command-help.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/data/roadmaps/linux/content/shell-basics/command-help.md b/src/data/roadmaps/linux/content/shell-basics/command-help.md index 1e7867141..efc2eee22 100644 --- a/src/data/roadmaps/linux/content/shell-basics/command-help.md +++ b/src/data/roadmaps/linux/content/shell-basics/command-help.md @@ -14,6 +14,12 @@ For built-in shell functions, use: help [command] ``` +Moreover, you can add the *--help* flag to almost any command to get more information about it. +For example: +```bash +date --help +``` + To view examples with TLDR, use: ```bash @@ -24,4 +30,4 @@ Learn more from the following resources: - [@article@How to use the man page](https://www.baeldung.com/linux/man-command) - [@opensource@tldr-pages/tldr](https://github.com/tldr-pages/tldr) -- [@article@Get Help on Linux Commands](https://labex.io/tutorials/linux-get-help-on-linux-commands-18000) \ No newline at end of file +- [@article@Get Help on Linux Commands](https://labex.io/tutorials/linux-get-help-on-linux-commands-18000)