
내 Solaris 컴퓨터에서 이 파일을 삭제하려고 했습니다.
rm "-Insi"
rm: illegal option -- I
rm: illegal option -- n
rm: illegal option -- s
나도 이거 해볼게
rm "\-Insi"
-Insi: No such file or directory
rm '\-Insi'
-Insi: No such file or directory
그렇다면 나에게는 어떤 선택권이 있습니까?
답변1
노력하다:
rm -- -Insi
또는:
rm ./-Insi
답변2
man rm
(적어도 Ubuntu에서는...내 Solaris 상자가 연결되어 있지 않습니다.) 말해 보세요:
To remove a file whose name starts with a '-', for example '-foo', use one of these commands: rm -- -foo rm ./-foo