unlink symlink code example Example 1: ubuntu delete a symbolic link rm symlink_name Example 2: remove softlink rm <soft_link>