remove links from bash