How to get absolute path of file
Jump to navigation
Jump to search
root@localhost:/etc/apache2# realpath conf-available/mediawiki.conf
/etc/apache2/conf-available/mediawiki.conf
root@localhost:/etc/apache2# realpath conf-available/mediawiki.conf
/etc/apache2/conf-available/mediawiki.conf