# BIG SEVER tips
## some tutorials
* [twtrubiks/linux-note](https://github.com/twtrubiks/linux-note)
* [Basic Linux Commands](https://github.com/kodekloudhub/linux-basics-course/blob/master/docs/02-Working-With-Shell-Part-I/02-Basic-Commands.md)
* [How to Use Vim](https://www.freecodecamp.org/news/vim-beginners-guide/)
## module
* show module
`module avail`
* load module
`module load`
## .bashrc settings
`vim .bashrc`
```
module load R_gcc-10.3.1/4.2.2
module load netcdf_hdf5-1.10.5_gcc-10.3.1
module load ferret/7.6.5
```
## Ferret tips
* use data
`use {filename}`
* show data
`sh da`
* Plot
`shade {var}[i=?, j=?, k=?]`/`plot {var}[i=?, j=?, k=?]`
e.g.
`plot LAI[i=@ave, j=@ave, k=24]`
* save
`frame /files=test1.gif`
## Example netCDF files
- [Example netCDF files](https://www.unidata.ucar.edu/software/netcdf/examples/files.html)
- /lfs/home/yaowen/taiwania3_archive/exp.t3.4.v2.tauleaf100.run/SBG/Output/MO/exp.t3.4.v2.tauleaf100.run_19810101_19811231_1M_stomate_history.nc
## Copy Files in Linux
- [How to Copy Files and Directories in Linux | cp Command](https://www.geeksforgeeks.org/cp-command-linux-examples/)
## chmod
- [How to change directory permissions in Linux with chmod](https://www.pluralsight.com/blog/it-ops/linux-file-permissions)
- `chmod 755` (set for shared directory in Linux)