Bash: File/Folder Functions
# Get the current file
current_file = $0
# Get the full path to the current file
full_file_path="$(readlink -f $(dirname $0))/$(basename $0)"
# Get the full directory path to the current file
full_dir_path="$(readlink -f $(dirname $0))"