Difference between revisions of "UNIX"

From PHASTA Wiki
Jump to: navigation, search
(Command Line Basics)
(Command Line Basics)
Line 22: Line 22:
 
== Command Line Basics ==
 
== Command Line Basics ==
  
[https://explainshell.com/# Explain Shell]: Copy/paste a CLI command, and it will tell you what it all the flags mean
+
[https://explainshell.com/# Explain Shell]: Copy/paste a CLI command, and it will tell you what all the flags mean
  
 
[https://www.tldp.org/LDP/abs/html/ Advanced Bash-Scripting Guide]
 
[https://www.tldp.org/LDP/abs/html/ Advanced Bash-Scripting Guide]

Revision as of 13:32, 20 November 2020

Most of our systems (and general HPC resources) run some UNIX derivative. Much of the software is command line based, so it's worthwhile to learn the basics.

There are tons of free resources on the web for getting started, for example this book. There should also be a "for dummies" book in the lab.

As you find resources that are helpful, please update this page.

Connecting (SSH)

Windows: PuTTY SSH Client WinSCP file transfer tool

MacOS and Linux users can use OpennSSH on the command line (it generally comes with the OS).

Resources for setting up ssh keys

Visual guide to how ssh-keys and ssh-agent work: An Illustrated Guide to SSH Agent Forwarding

For setting up ssh-agent (so you don't have to type your password over and over): Understanding ssh-agent and ssh-add

Script for automatically starting ssh-agent on login of a machine (place in your .profile/.bash_profile): StackOverflow: Start ssh-agent on login

Command Line Basics

Explain Shell: Copy/paste a CLI command, and it will tell you what all the flags mean

Advanced Bash-Scripting Guide

Graphical Sessions (VNC)

See VNC

File Permissions and ACL

See File Permissions Basics and ACL