Scripts: Difference between revisions
Jump to navigation
Jump to search
| (One intermediate revision by one other user not shown) | |||
| Line 22: | Line 22: | ||
Operating System management scripts | Operating System management scripts | ||
* [http://aliga.iciq.es/wiki/documents/making-backups.pdf Making Cluster Data Backups] | * [http://aliga.iciq.es/wiki/documents/making-backups.pdf Making Cluster Data Backups - scripting] | ||
* [http://aliga.iciq.es/wiki/documents/UBUNTU_BACKUPS.pdf Making Cluster Data Backups - Ubuntu GUI] | |||
OPTION-1 Connecting your cluster 'home' folder from a remote computer | OPTION-1 Connecting your cluster 'home' folder from a remote computer | ||
| Line 32: | Line 33: | ||
* [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>, | 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>[ | <code>alias kimh='nowdir=`pwd` ; nowdirk=${nowdir/kimikhome\//} ; ssh -t [username]@[kimik2\tekla2].iciq.es "cd $nowdirk ; bash"'</code> | ||
== Others == | == Others == | ||
Latest revision as of 11:34, 24 October 2019
go back to Main Page, Computational Resources
Programming languages[edit]
Useful scripts[edit]
Linux OS scripts[edit]
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[edit]
If your program/script does not fit in the above categories, upload it here.