1 2 3 4 5 6 7 8 9
#!/bin/bash # script to run dtrain with a task id pushd . &>/dev/null cd .. ID=$(basename $(pwd)) # attempt_... popd &>/dev/null ./dtrain -c dtrain.ini --hstreaming $ID