Shell Access: Difference between revisions
No edit summary |
add "getting help" section: man/tldr pages and help flag |
||
| Line 87: | Line 87: | ||
|<code>cd wacky_folder</code> | |<code>cd wacky_folder</code> | ||
|} | |} | ||
== getting help == | |||
Commands have many options which can be hard to remember. Luckily, there's plenty of resources you can consult for help on how to use a command. | |||
=== man pages === | |||
The <code>man</code> command (short for "manual") lets you search detailed documentation about commands and more. If you're not sure about the <code>ls</code> command, just type <code>man ls</code> and hit enter. You can use the f or b keys to scroll forward and backward and press q when you're ready to quit. | |||
=== tldr pages === | |||
The man pages are super detailed but sometimes all you want are some short examples. If that's the situation you're facing, the [https://tldr.sh/ tldr pages] can help. You can view the results in your browser, or install the tldr software locally. | |||
=== help flag === | |||
Some (but not all) commands have built-in help. How to get this to show up will vary from case to case but often using a flag is all you need to do. For example, if you're confused about the <code>git</code> command <code>git --help</code> can point you in the right direction. | |||
[[Category:Pages with some amount of information in them]] [[Category:Pages that need things added to them]] | [[Category:Pages with some amount of information in them]] [[Category:Pages that need things added to them]] | ||