Share:

LINUX (ubuntu)

This page is a shame: you will realize how bad I am at linux... but who cares?
  • OMG autocompletion does not work, just type:                     bash
  • How to secure copy a file:                                                        scp filename.dat name@pc.uuu.es:/home/myname/
  • If you want your MD to keep running after you've gone:       nohup gmx mdrun &
  • In order to know number of process is running:                     ps u
  • And to eventually finish it                                                       kill number 

To execute a bash file

  • Simply type   bash name_of_file.sh

If this is not working, try adding ./bash name_of_file.sh

If this is also not working you might not have the permissions to execute...

  • then type:   chmod +x name_of_file.sh
  • and again:  ./bash name_of_file.sh

If this does not work simply cry and search for somebody to help you.