I am not a powere shell script programmer this is probably basic thnk but I need to know how can I check if the provided path is a symlink or a regular path ?
I have a path /user/home/san/drive2
where drive2 is a symlink to
/drive at root level, so using what command in shell script I can check that the path is a symlink or regular path ?
Also, one can encounter, symlink at any path so how can we check recursively after each path separator whether it is a symlink or not ?