how to check link under Linux