Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

script dir bash

#!/bin/bash

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #script #dir #bash
ADD COMMENT
Topic
Name
2+3 =