Help for every Linux command is readily available at our fingertip just by utilizing a couple of basic tools: help, man, and info.
- [Instructor] Knowing how to get information…about commands in Linux is paramount…to understanding such a powerful operating system.…Let's start by using the built-in --help option.…Open a terminal by going to…Applications, Favorites, and Terminal.…I'm going to make mine full screen and bump the font size.…Type in ls --help and hit Enter.…The --help information is built in to most Linux commands…so it will always be available.…If the output is too long, use the scroll bar…or press Shift + Page Up to scroll up.…
At the top of the output of ls --help,…it shows the command syntax or usage.…- -help doesn't work for all commands.…For instance, cd --help results in an error message.…The reason for this is that cd is built into the bash shell…so it doesn't exist as a separate command on the disk.…For those commands built into the bash shell,…we can use the help command to get the syntax.…Type in help cd and hit Enter.…
Between the --help option and the help command,…we should be able to get quick help on most any command.…
Author
Released
3/9/2017- Distinguish the difference between the –help option and the output of the man command.
- Define what the uptime command is used for.
- Compare the more command with the less command.
- State which compression algorithm is built into the tar command.
- Write where all operating system files in Linux are stored.
- List the three mods in vi.
Skill Level Intermediate
Duration
Views
Related Courses
-
Learning Kali Linux (2016)
with Malcolm Shore2h 31m Beginner -
Setting Up a Red Hat Enterprise Linux Server
with Sandra Toner2h 46m Intermediate -
Linux: Bash Shell and Scripts
with Kevin Dankwardt2h 46m Intermediate
-
Introduction
-
Welcome55s
-
What you'll need44s
-
-
1. Getting Help
-
Learn Linux command syntax2m 30s
-
Get help on the CLI5m 16s
-
Get help on the GUI3m 53s
-
Find help online3m 55s
-
-
2. Using Basic Commands
-
Gather hardware information3m 37s
-
Login commands5m 22s
-
Time and date5m 17s
-
Locale and date tools5m 39s
-
View files5m 8s
-
Search within a file2m 44s
-
Archive files4m 40s
-
Compress files4m 14s
-
3. Navigating File Systems
-
List files4m 32s
-
Understand file system paths4m 28s
-
Find files with locate4m 50s
-
Find files with find4m 49s
-
-
4. Editing Text
-
Get familiar with nano2m 49s
-
An introduction to Vim3m 33s
-
Edit text in Vim2m 45s
-
Search and replace in Vim2m 26s
-
-
Conclusion
-
Next steps53s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Get help on the CLI