Quote Originally Posted by fullmetalcoder
how to get the equivalent of QCoreApplication::applicationDirPath() with a shell ???
Try:
bash Code:
  1. DIR=`dirname $0`
To copy to clipboard, switch view to plain text mode 

Quote Originally Posted by fullmetalcoder
man pages are pretty poor, where could I find a good tutorial on writing efficient and portable shell script?
What shell do you use?

http://tldp.org/LDP/abs/html/index.html