Scripts: Difference between revisions

From Wiki
Jump to navigation Jump to search
Line 32: Line 32:
* [http://aliga.iciq.es/wiki/documents/HOWTO_MOUNT_REMOTE_FOLDER.pdf Directly Connect Your 'home' Folder from Remote Machine]
* [http://aliga.iciq.es/wiki/documents/HOWTO_MOUNT_REMOTE_FOLDER.pdf Directly Connect Your 'home' Folder from Remote Machine]


With a simple command, ''e.g.'' <code>kimh</code>, from your local "kimikhome" or "teklahome" subdirectory to the equivalent subdirectory in kimik2 or tekla2.
With a simple command, ''e.g.'' <code>kimh</code>, you can jump from your local "kimikhome" or "teklahome" subdirectory to the equivalent subdirectory in kimik2 or tekla2. Just copy the following <code>alias</code> into your <code>.bashrc</code> file (which can be found in your home directory):


<code>[time] user@host: work_dir $</code>
<code>alias kimh='nowdir=`pwd` ; nowdirk=${nowdir/kimikhome\//} ; ssh -t [username]@[kimik2\tekla2].iciq.es "cd $nowdirk ; bash"'</code>


== Others ==
== Others ==

Revision as of 11:06, 23 June 2016

go back to Main Page, Computational Resources


Programming languages

Useful scripts

Linux OS scripts

Operating System management scripts

OPTION-1 Connecting your cluster 'home' folder from a remote computer

OPTION-2 Connecting a remote folder locally

With a simple command, e.g. kimh, you can jump from your local "kimikhome" or "teklahome" subdirectory to the equivalent subdirectory in kimik2 or tekla2. Just copy the following alias into your .bashrc file (which can be found in your home directory):

alias kimh='nowdir=`pwd` ; nowdirk=${nowdir/kimikhome\//} ; ssh -t [username]@[kimik2\tekla2].iciq.es "cd $nowdirk ; bash"'

Others

If your program/script does not fit in the above categories, upload it here.