Update Linux Introduction
@ -1 +1,33 @@
|
|||||||
test
|
## Documentation pages:
|
||||||
|
Merlin usage: https://lsm-hpce.gitpages.psi.ch/merlin6/introduction.html
|
||||||
|
|
||||||
|
|
||||||
|
## Some useful commands in the Terminal:
|
||||||
|
|
||||||
|
- listing the content of the current working directory: `$ ls -lrt `
|
||||||
|
- changing directory: `$ cd /path/to/dir`
|
||||||
|
- creating a directory: `mkdir /path/to/dir`
|
||||||
|
- removing a directory: `rm -r /path/to/dir`
|
||||||
|
- copying a directory or file: `cp -r (-r only for folders) /path/to/file /destination/of/file`
|
||||||
|
- editing files: `emacs <name-of-file>` or `nedit <name-of-file> `or `vim (advanced) `
|
||||||
|
- showing file contents in the terminal: `more <name-of-file>`
|
||||||
|
- showing the size of folders/files in one specific folder: `du –max-depth 1 -h `
|
||||||
|
|
||||||
|
|
||||||
|
## ~/.bashrc file
|
||||||
|
- The ~/.bashrc file is similar to a "config" file that is executed every time that you open a new terminal.
|
||||||
|
- Inside the ~/.bashrc file, paths, variables and user-specific settings can be edited (use any editor), after changing, the terminal needs to be closed and reopened in order to make changes available.
|
||||||
|
- Examples that change the bashrc file: conda installations, cryosparc etc..
|
||||||
|
|
||||||
|
|
||||||
|
## Personal user storage on Merlin (Ra)
|
||||||
|
|
||||||
|
Merlin storage documentation: https://lsm-hpce.gitpages.psi.ch/merlin6/storage.html
|
||||||
|
|
||||||
|
Ra storage documentation: https://hpc-sysadmins.gitpages.psi.ch/ra/storage.html
|
||||||
|
|
||||||
|
Most important info:
|
||||||
|
|
||||||
|
- `/data/user/$username:` 1TB , no backup
|
||||||
|
- `/psi/home/$username:` 10GB , Backup
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user