howto:unix_shell
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howto:unix_shell [2018/11/08 17:38] – jnilsson | howto:unix_shell [2024/06/01 00:24] (current) – [2. Open the terminal or connect to the remote Linux server] jnilsson | ||
---|---|---|---|
Line 6: | Line 6: | ||
===== 1. Obtaining software ===== | ===== 1. Obtaining software ===== | ||
- | Step one is to obtain some terminal software. If you are on a Linux or a Mac computer, you already have this! Look for your Terminal application. | + | Step one is to obtain some terminal software. If you are on a Linux or a Mac computer, you already have this! Look for your Terminal application. |
+ | - Try opening the Windows Terminal and see if you can use the '' | ||
- [[https:// | - [[https:// | ||
- [[https:// | - [[https:// | ||
- [[https:// | - [[https:// | ||
- | ===== 2. Open the terminal or connect to the remote linux server ===== | ||
- | If you installed either options 2. Cygwin or 3. Bash on Windows above, then you can practice these commands on your local computer. If you are on a Linux or Mac computer, you can also practice on your local computer. | ||
- | * Open the terminal | + | ===== 2. Open the terminal |
- | | + | |
+ | If you installed either options 3. Cygwin or 4. Bash on Windows above, then you can practice the commands and tutorials listed below on your local computer. If you are on a Linux or Mac computer, you can also practice on your local computer. | ||
+ | |||
+ | If your Windows Terminal application comes with the ssh command, you can run the command below to connect to a remote Linux server. | ||
+ | |||
+ | * Open the terminal application, | ||
ssh < | ssh < | ||
- | #for example: ssh jnilsson@nexus.ss.uci.edu | + | #for example: ssh jnilsson@nexus.socsci.uci.edu |
</ | </ | ||
Or, if you installed PuTTY.exe or another SSH client program, you will need to connect to the remote linux server. | Or, if you installed PuTTY.exe or another SSH client program, you will need to connect to the remote linux server. | ||
- | * Open PuTTY and enter the hostname of the server, optionally set any connection options you need, then click on Open. It will prompt you for your username and password, but when you type the password, it will not print anything to the screen. This is normal. | + | * PuTTY and enter the hostname of the server, optionally set any connection options you need, then click on Open. It will prompt you for your username and password, but when you type the password, it will not print anything to the screen. This is normal. |
===== 3. Run through a tutorial ===== | ===== 3. Run through a tutorial ===== | ||
Line 31: | Line 35: | ||
* [[http:// | * [[http:// | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
===== 4. Important commands to know ===== | ===== 4. Important commands to know ===== | ||
Line 36: | Line 47: | ||
Here are the most important commands to make sure you are familiar with: | Here are the most important commands to make sure you are familiar with: | ||
- | * '' | + | * '' |
* '' | * '' | ||
* '' | * '' | ||
Line 42: | Line 53: | ||
* '' | * '' | ||
* '' | * '' | ||
+ | * '' | ||
* '' | * '' | ||
- | * '' | + | * '' |
- | * text editor: | + | * '' |
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | |||
+ | ===== 5. Important shell concepts ===== | ||
+ | |||
+ | * Output redirection: | ||
+ | * Input redirection: | ||
+ | * Piping commands together: '' | ||
+ | * Shell globs and character pattern matching: '' | ||
+ | * Regular expressions to use with '' |
howto/unix_shell.1541698702.txt.gz · Last modified: 2018/11/08 17:38 by jnilsson