This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ more file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ nl file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ less file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ tail file # 마지막 몇 줄을 보여줍니다. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ head file # 첫 몇 줄을 보여줍니다. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ wc -l file # 행의 수를 반환합니다. | |
$ wc -m file # 문자 수를 반환합니다. | |
$ wc -w file # 단어 수를 반환합니다. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat -n file # 화면에 주어진 숫자의 라인만큼 파일 내용물을 보여줍니다. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ touch -a file # 접근 시간을 업데이트합니다. | |
$ touch -c file # 파일이 존재하지 않으면 생성합니다. | |
$ touch -m file # 변경 시간을 업데이트합니다. | |
$ touch -t file # 주어진 시간대로 접근 시간을 변경합니다. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rmdir -p directoryname |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rm -f file # 삭제하는데 묻지 않습니다. 또한 존재하지 않는 파일에 대한 정보도 제공하지 않습니다. | |
$ rm -i file # 파일을 삭제하기 전에 안내합니다. | |
$ rm -r directory # 디렉토리와 하위 디렉토리의 모든 내용물을 삭제합니다. | |
$ rm -v file # 삭제 과정에 대한 정보를 제공합니다. |
NewerOlder