Linux pieces (shell)

You can also view the cluster’s activity by typing: mon

Add commands to environment

Edit bash file…. gedit .bash_sourcefile
E.g., add source /etc/fsl/fsl.sh

To SSH

ssh -X username@machine

Setting permissions

chmod -R 777 folder
chmod u+x folder

For batch jobs

– Use mosix
– At the command line use: mosrun command

Adding files to matlab path

In startup.m:
path(path,’/chb/src/matlab’)
addpath_recurse(‘~/matlab’);

Firefox keeps ‘working offline’

– open firefox, go to ‘about:config’
– Search for tookit.network
– Change default from false to true

Transferring data from laptop to cluster (mac)

– Use filezila
– Settings as typical, but change ftp to sftp; login from anonymous to normal.

Leave a comment