How to get the absolute path for a given relative path programmatically in Linux? How to get the absolute path for a given relative path programmatically in Linux? linux linux