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 18:06] – 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 ===== | ===== 2. Open the terminal or connect to the remote Linux server ===== | ||
- | If you installed either options | + | If you installed either options |
+ | |||
+ | 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 | + | * Open the terminal application, then run this command |
- | - If you want to connect to a remote linux system using SSH, you can do so with a command like this:< | + | |
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 32: | Line 35: | ||
* [[http:// | * [[http:// | ||
+ | |||
Line 57: | Line 61: | ||
* '' | * '' | ||
* '' | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | |||
+ | ===== 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.1541700416.txt.gz · Last modified: 2018/11/08 18:06 by jnilsson