cat명령어1 [Mac/Linux] cat / date 명령어 - date >> date > 차이점 터미널 갖고놀기! xshell 에서 공부 한 Linux 명령어 Mac 터미널에서 실행해보기 1. cat 명령어로 파일 생성, 내용입력, 출력 $ cat >hello.prac // 현재 폴더에 hello.prac이라는 파일 생성 및 내용 저장 echo helloworld! :q ^C // command+C 로 탈출 $ ls copyfolder1hellohello.prac $ cat hello.prac // 내용 출력 echo helloworld! :q 2. 내용 복사 후 출력 $ cat hello.copy // hello.prac 내용 hello.copy 파일에 복사 $ more hello.prac hello.copy // hello.prac, hello.copy 파일 내용 출력.. 2022. 1. 17. 이전 1 다음