Horje
get script directory bash Code Example
how to get a script's directory in bash
#!/bin/bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
get script directory bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"




Shell

Related
open chrome without web security mac Code Example open chrome without web security mac Code Example
create anaconda environment in shell Code Example create anaconda environment in shell Code Example
check git username Code Example check git username Code Example
ll command not found Code Example ll command not found Code Example
bitbucket how to undo commit Code Example bitbucket how to undo commit Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12