Shell Access: Difference between revisions
No edit summary Tags: Manual revert Visual edit: Switched |
No edit summary |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
# Go to a beach (preferably not [[The | # Go to a beach (preferably not [[The beach that makes you old|one that makes you old]]); | ||
# Look for something that looks like this: <br> [[File:Different types of shells.jpg|400px]] | # Look for something that looks like this: <br> [[File:Different types of shells.jpg|400px]] | ||
# The command is <code>ssh</code>. | # The command is <code>ssh</code>. | ||
| Line 6: | Line 6: | ||
=== Open the Terminal === | === Open the Terminal === | ||
You need to open a terminal window to log into the shell. The way you do that is different depending on what your computer is running: | You need to open a terminal window to log into the [[shell]]. The way you do that is different depending on what your computer is running: | ||
==== Windows 11 ==== | ==== [[Windows]] 11 ==== | ||
Open "'''Terminal'''" | Open "'''Terminal'''" | ||
| 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]] | ||