Just wanted to resolve a relative file path so that I can pass it as an absolute path to a program.
#!/bin/sh
QCAD_DIR=/opt/qcad-2.2.2.0-1-prof.linux.x86
ABS_PATH=$(readlink -f "$1")
cd $QCAD_DIR && ./qcad $ABS_PATH
Credits: Andy
Just wanted to resolve a relative file path so that I can pass it as an absolute path to a program.
#!/bin/sh
QCAD_DIR=/opt/qcad-2.2.2.0-1-prof.linux.x86
ABS_PATH=$(readlink -f "$1")
cd $QCAD_DIR && ./qcad $ABS_PATH
Credits: Andy
Just had a call from a man with a sub-continental accent from caller ID 0734946596 Told me there was problem with my...
So yesterday (22/1/2021) I decided to go with a new service I went from a consumer NBN50 to a "Business" NBN100...
I recently built myself a PC using the SilverStone SG13 Case. I am planning to use it as a Hot Spare. So any client...
0 Comments