LINUX/UNIX: Difference between revisions

From Fluids Wiki
Jump to navigation Jump to search
m (→‎Odds and Ends: Adding quick reference to key screen commands. Also reformatting a bit (to enable linking to sections).)
Line 42: Line 42:


* [[info specific to winisk and kazan]] (no longer in service)
* [[info specific to winisk and kazan]] (no longer in service)
* [[info specific to hood.math]]
* [[info specific to hood.math.private]]
* [[info specific to boogaloo.math and belize.math]]
* [[info specific to boogaloo.math and belize.math]]
* [[info specific to bow, minnewanka, waterton]] ("mountain lakes")
* [[info specific to bow, minnewanka, waterton]] ("mountain lakes")
* [[simple local file sharing]]
* [[simple local file sharing]]
* [[Login script]] (.profile, .cshrc) for the MFCF-administered machines
* [[Login script]] (.profile, .cshrc) for the MFCF-administered machines

Revision as of 13:05, 8 February 2021

Introduction to UNIX

Compute Canada has put together some introductions to UNIX.


Odds and Ends

This is a collection of useful tools, commands, and random odds and ends.

ssh config

screen

  • A useful terminal manager - especially on remote servers.
    • It allows you to continue to run scripts in interactive sessions on servers, even if you need to disconnect from the server (or get disconnected).
    • Useful for scripts that take a long time, or when you only have a few minutes to spare / want to check in on it later.
  • See User Manual
  • See also this Blog
  • Key commands to remember are:
    • Create a new screen with the name <name>: screen -S <name>
    • Detach from current screen: crtl+a d
    • Re-attach screen: screen -r <name> (can omit <name> if only one session exists)
    • List all currently running screen sessions: screen -ls
    • To end a screen session: exit from within the session


RSA Keys

Tired of typing in your password every time you log in somewhere? Use an RSA Key. It's also more secure.

Misc.

Linux servers owned by the Fluids Lab