운영체제80 history 명령어 이전에 실행한 명령서 보기 [root@localhost /]# history 870 mysql --verbose --help | grep -A 1 'Default options' 871 find / -name my*.cnf 872 cd /usr/lcoal 873 cd /usr/local 874 ls 875 cd mysql/l 876 cd mysql 877 ls 878 cd support-files/ 879 ls 880 cp my-large.cnf /etc/my.cnf 881 vi /etc/my.cnf 882 service mysqld restart 883 less /etc/my.cnf 884 less /usr/local/apache/conf/httpd.conf 885 less --help 886 less.. 2021. 6. 18. 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. 이전 1 ··· 16 17 18 19 20 다음