Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

Expand
titleOther Windows ssh/Terminal options

If your Windows version does not have ssh in Command Prompt or PowerShell:

More advanced options for those who want a full Linux environment on their Windows system:

From now on, when we refer to "Terminal", it is either the Mac/Linux Terminal program, Windows Command Prompt or PowerShell, or the PuTTY program.

...

There are many shell programs available in Linux, but the default is bash (Bourne-again shellBourne-again shell).

The Terminal is pretty "dumb" – just sending what you type over its secure sockets layer (SSL) connection to TACC, then displaying the text sent back by the shell. The real work is being done on the remote computer, by executable programs called by the bash shell (also called commands, since you call them on the command line).

image-2023-4-26_9-27-6.png

About the command line

Read more about the command line and commands on our Linux fundamentals page:

Setting up your environment

...

Tip

$WORK and $SCRATCH are TACC environment variables that refer to your Work and Scratch file system areas (more on these file system areas soon. (Read more about Environment variables).


Expand
titleWhat is "ln -s" doing?

The ln -s command creates a symbolic link, a shortcut to the linked file or directory.

  • Here the link targets are your Work and Scratch file system areas
  • Having these link shortcuts will help when you want to copy files to your Work or Scratch, and when you navigate the TACC file system using a remote SFTP client
  • Always change directory (cd) to the directory where we want the links created before executing ln -s
    • Here we want the links under your home directory (cd with no arguments)

Want to know where a link points to? Use ls with the -l (long listing) option.

Code Block
languagebash
titlels -l shows where links go
ls -l


AnchorLocal_Bin_SetupLocal_Bin_SetupSet up a ~/local/bin directory and link a script there that we will use in the class.

...

They have a name (like BIWORK above) and a value (the value of $BIWORK is the pathname of the shared /work/projects/BioITeam directory). See More on environment variables.

To see the value of an environment variable, use the echo command, then the variable name after a dollar sign ( $ ):

...

Code Block
languagebash
ls $CORENGS

(Read more about Environment variables)

Shell completion with Tab

...