Hello!, I have been using debian based
GNU/linux for a few years now and have recently started using more complex shell scripts, I have a few questions that have been causing me issue during the last few days:
1: How to tell the file name of the current shell script?
2: How do I run A program/script from another directory but make it run from the directory that it lives in, EX: ~/script1.sh starts ~/randomdir/script2.sh will tell me that's it cant find dependent.txt witch is in ~/randomdir/ ?
3: I have A LAMP server running on my desktop, I would like to start qemu from a web front end, how do I start a program from a PHP/pyton/
perl(I use PHP the most) that will run on my desktop?
Thank you for your help in advance.