운영체제/리눅스(CentOS)43 less 명령어 페이지 단위로 보여주는 명령어 less /usr/local/apache/conf/httpd.conf 사용법 spacebar -> 다음페이지 q -> 종료 g -> 첫번째 화면 G -> 마지막 화면 ↑-> 한줄 위로 이동 ↓-> 한줄 아래로 이동 2021. 6. 16. cat 명령어 concatenate의 약자이며 파일 내용을 표시, 여러 파일을 결합하여 출력 [root@localhost test]# cat testfile 안녕하세요. [root@localhost test]# [root@localhost test]# cat testfile2 반갑습니다. [root@localhost test]# [root@localhost test]# cat testfile testfile2 안녕하세요. 반갑습니다. [root@localhost test]# 2021. 6. 15. file 명령어 어떤 종류의 파일인지 확인하는 명령어. [root@localhost test]# file testfile testfile: ASCII text [root@localhost test]# [root@localhost data]# file logo.jpg logo.jpg: JPEG image data, JFIF standard 1.02 [root@localhost data]# 2021. 6. 14. touch 명령어 파일을 생성하거나 이 미만 들어진 파일의 수정시간을 업데이트한다. [root@localhost test]# touch testfile [root@localhost test]# ls -al 합계 8 drwxr-xr-x 2 root root 4096 6월 8 15:16 . drwxr-xr-x. 5 root root 4096 6월 8 15:12 .. -rw-r--r-- 1 root root 0 6월 8 15:16 testfile [root@localhost test]# 밑에 ls -al를 보면 시간이 변경될걸 알 수 있다. [root@localhost test]# touch testfile [root@localhost test]# ls -al 합계 8 drwxr-xr-x 2 root root 4096 6월 8.. 2021. 6. 13. 이전 1 ··· 7 8 9 10 11 다음