Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
cur script location bash
Candice Dick
Programming language:
Whatever
2021-07-07 07:41:12
0
Q:
cur script location bash
Thanh Binh
Code:
Whatever
2021-07-23 22:14:01
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
2
Tags
script
Related
change bash prompt
bash how to define a path
bash get environment variable
bash script change directory run a command
bash get current path
bash if set variable
echo variable bash
print statement in bashrc
bash get all function names of a c file
New to Communities?
Join the community