Shell gets the absolute path of the directory where the script is located

Shell gets the absolute path of the directory where the script is located

$(dirname$(readlink -f "$0"))

Comments

Popular posts from this blog

Python Receiving and parse JSON Data via UDP protocol

ubus lua client method and event registration code demo/example