I am working on code that collects, gzips, and moves files around. Pretty standard stuff. Problem is the directory structure I'm working with is a symlinked one. So for instance I can do a ch_dir to var/cores but if I do a
$path = `pwd` I will get vtss/coresfs. I can't just use file module commands for consistency because I also need to use sudo in many cases. So I can make the code work but if you are using two references for you location it makes the code confusing. Is there a way I can tell my code to use the hard paths or linked paths exclusively?