bash get file full path code example Example: bash get file full path $ realpath example.txt /home/username/example.txt