A very brief guide for Life Science Grid usage. See here for more details.
glite-wms-job-submit -d <user_name> --nomsg cluster.jdl
Listing files and directories, e.g. to see all the files that are stored:
lfc-ls -l /grid/lsgrid/<your_username>
To delete a file from all storage elements, do
lcg-del -a lfn:/grid/lsgrid/<your_username>/<target_file.txt>
The -a option makes sure that all replicas of a file are removed. See the lcg-del man-page for more options.
(from: http://unix.stackexchange.com/a/118650)
Local: -L Specifies that the given port on the local (client) host is to be forwarded to the given host and port on the remote side.
ssh -L sourcePort:forwardToHost:onPort connectToHost
means: connect with ssh to connectToHost, and forward all connection attempts to the local sourcePort to port onPort on the machine called forwardToHost, which can be reached from the connectToHost machine.
Remote: -R Specifies that the given port on the remote (server) host is to be forwarded to the given host and port on the local side.
ssh -R sourcePort:forwardToHost:onPort connectToHost
means: connect with ssh to connectToHost, and forward all connection attempts to the remote sourcePort to port onPort on the machine called forwardToHost, which can be reached from your local machine.