CSC Quick Reference: Getting Help File Transfer
CSC Quick Reference: Getting Help File Transfer
CSC Quick Reference: Getting Help File Transfer
CSC Quick Reference to Unix commands and CSC Computing Environment 2017-02-13 1/2
Command Line Shell Emacs Editor
bash is CSC's standard command shell with emacs file (start the emacs editor)
advanced command-line editing emacs -nw file (emacs without X-windows)
Up and down arrow keys recall old command Notation [Ctrl]-c means: "hold down the
lines Control key and press the c key"
[Ctrl]-d is the end-of-file character on Unix Moving: cursor keys and page up/down keys
systems [Ctrl]-x [Ctrl]-c (quit and save)
[Ctrl]-d or the tab key lists possible choice [Ctrl]-x [Ctrl]-s (save)
while you write a file name or a command [Ctrl]-g (interrupt an emacs command if you
name get stuck in the minibuffer)
[Ctrl]-z moves the current program or [Ctrl]-h [Ctrl]-h (Emacs help system)
command to the background, e.g. goes Other text editors are e.g. nano, and vi
from gnuplot to command prompt
bg (makes the current job in the background to Program Development
continue execution) Compilers on CSC machines (Fortran, C):
fg (brings a job to the foregound) GNU, Intel, Cray
[ctrl]-r looks for a matching command from Environment is different on different servers,
history backwards while typing check the server pages (see above)
use the module command to check the
version and to load the environment. It will
File Storage Areas also put libraries in the path.
$HOME User's home directory. Kajaani home An example of compiling a program with gcc
is shared by Sisu and Taito and available module load PrgEnv-gnu/5.0.41
on compute nodes, regular backups cc -o prog -fast prog.c
$TMPDIR Temporary directory. Local on each Run the program: ./prog
node, old files are removed, no backup,
not available on Sisu compute nodes. Use
System Status
for compiling code. saldo (show CPU quota)
$WRKDIR Temporary directory. Local on each quota -v (disk quota)
machine (except shared on Sisu and ps (process status)
Taito), good place for large scratch files, top (continuous process status)
files not accessed in 90 days are removed, uptime (show the load of the computer, in
no backup. Hippu, you can use huptime)
ARCHIVE long term storage used via the who (list logged-in users)
iRODS commands. Module load irods finger user (gives information about user)
needed in Vuori, Sisu and Hippu. ils: list df -h (disk status in human readable units)
contents, iput file copy a file to archive, du -hs * (disk space used by a directories)
iget file: copy a file from archive. sbatch, squeue, scancel
Save only large files here. Use the tar and sacct –j JOBID (info about completed jobs)
gzip commands to make one file of your A graphical presentation of the server usage
directory before copying here. with history:
Recommended single file size: 10MB - https://sui.csc.fi/web/guest/host-monitor
300GB. Shared between machines, files
are kept during customership, within
backup. How to contact CSC
IDA long term iRODS storage with flexible User homepage: https://research.csc.fi/
sharing and access options. Address: CSC - IT Center for Science Ltd.,
http://avointiede.fi/ida P.O.-BOX 405, 02101 Espoo
$USERAPPL Directory to keep your Street address: Keilaranta 14, Espoo
executables. Local to each machine, Is Phone: (09) 457 2001,
visible to compute nodes and is within ServiceDesk (09) 457 2821 between 8:30-
backup service. 16:00 or by email servicedesk@csc.fi
Project directory. Can be requested from User Forgotten password: https://sui.csc.fi
manager by project leader. Within backup New user accounts:
service. https://research.csc.fi/accounts-and-
http://research.csc.fi/csc-guide-directories-and- projects
data-storage-at-csc
CSC Quick Reference to Unix commands and CSC Computing Environment 2017-02-13 2/2