November 11, 2022Copy PageHow to get complete path to a file in terminalUse readlink -f to get the complete absolute path to a file in the terminal.SHELLreadlink -f <file_name> Edit on GitHub