I have a custom script in one of the $PATH folders. I know its a plaintext python script and not a compiled binary. Is there any way to print the source?
I have tried whereis <scriptname>
, but that doesn't return anything.
$>ls -lrt `echo $PATH | sed "s/:/\n /g"` | grep <scriptname>
lrwxrwxrwx 1 root eng 30 Oct 16 2011 <scriptname> -> ../depot/dcs-scripts/bin/<scriptname>
What does a ../
mean in ../depot/dcs-scripts/bin/<scriptname>
?