Implement link and unlink. Fix exit code of whoami