cd to script directory


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. #!/bin/bash
  2.  
  3. cd $(dirname $(readlink -f $0))
  4.  
  5. [...]

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.