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
This command deletes all files modified more than 30 days ago in the current directory # have a look at what it will...
I keep having an issue that my mouse track pad stops working. I can move the mouse pointer but I can't click. Possible...
bin/cake bake fixture --conditions "id IN (10,81)" -r -n 10000 --table trading_partners CustomTradingPartners Use the...
0 Comments