Linux などでは一般ユーザー用コマンドとして扱われているような気がしますが。 GNU unlink のドキュメントによると、一部のシステムでは unlink コマンドはディレクトリを削除することが出来ます。別のシステムでは特権ユーザーでなければ unlink コマンドを実行することは出来ません。GNU 版はディレクトリを削除することありません。 On some systems unlink can be used to delete the name of a directory. On others, it can be used that way only by a privileged user. In the GNU system unlink can never delete the name of a directory. rm を使ったほうが安全 Solaris は rm
