![--help라는 파일을 삭제하는 방법은 무엇입니까? [복사]](https://linux55.com/image/104488/--help%EB%9D%BC%EB%8A%94%20%ED%8C%8C%EC%9D%BC%EC%9D%84%20%EC%82%AD%EC%A0%9C%ED%95%98%EB%8A%94%20%EB%B0%A9%EB%B2%95%EC%9D%80%20%EB%AC%B4%EC%97%87%EC%9E%85%EB%8B%88%EA%B9%8C%3F%20%5B%EB%B3%B5%EC%82%AC%5D.png)
명령에 대한 도움말을 얻으려고 실수로 --help라는 파일을 만들었습니다.>
> --help
다음과 같이 파일을 삭제하려고 하면:
rm --help
rm 명령에 대한 도움말을 표시합니다.
답변1
출력의 거의 마지막 줄 rm --help
:
To remove a file whose name starts with a '-', for example '-foo', use
one of these commands:
rm -- -foo
rm ./-foo