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.…
- Learning Linux command syntax
- Getting help on the CLI and GUI
- Finding help online
- Using basic commands
- Navigating file systems
- Editing text
Skill Level Intermediate
Linux: Bash Shell and Scriptswith Kevin Dankwardt2h 46m Intermediate
Setting up a Red Hat Enterprise Linux Serverwith Sandra Toner2h 46m Intermediate
1. Getting Help
2. Using Basic Commands
3. Navigating File Systems
4. Editing Text
- 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.Cancel
Take 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.