LINUX/UNIX: Difference between revisions
Jump to navigation
Jump to search
m (s/boogaloo/belize2/) |
m (update link to the belize machines) |
||
Line 43: | Line 43: | ||
* [[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]] | ||
* [[info specific to boogaloo.math and belize.math|info specific to belize2.math | * [[info specific to boogaloo.math and belize.math|info specific to belize, belize2.math (formerly boogaloo), belize3.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 20:44, 14 October 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
- Create a new screen with the name <name>:
RSA Keys
Tired of typing in your password every time you log in somewhere? Use an RSA Key. It's also more secure.
Misc.
- Source code comparison Mdiff
- MPIRUN in the background
- Limiting MATLAB processor usage
- Combine PNG images into an AVI movie file mkavi.sh
- Cleaning up model output files Keep.sh
- Remote/Virtual desktop with NoMachine NX
- Manual process placement on multi-processor machines
Linux servers owned by the Fluids Lab
- info specific to winisk and kazan (no longer in service)
- info specific to hood.math
- info specific to belize, belize2.math (formerly boogaloo), belize3.math
- info specific to bow, minnewanka, waterton ("mountain lakes")
- simple local file sharing
- Login script (.profile, .cshrc) for the MFCF-administered machines