Bash Get File Full Chemin

$ realpath example.txt
/home/username/example.txt
Captain Obvious