OS (2) 썸네일형 리스트형 [Linux][Command] grep ▪ Enviroment - Linux/MaxOS - Bash shell(/bin/bash) ▪ Synopsis grep 명령어는 Linux 및 유닉스 기반 시스템에서 텍스트 검색과 패턴 매칭을 수행하는 데 사용됩니다. option description example -A num, --after-context=num Print num lines of trailing context after each match. grep -A 5 -a, --text Treat all files as ASCII text. grep -a -B num, --before-context=num Print num lines of leading context before each match. grep -B 5 -b, --byte-off.. [Linux] scp command ▪ Enviroment - Linux/MaxOS - Bash shell(/bin/bash) ▪ Synopsis secure copy (remote file copy program)의 줄임말로 ssh를 이용해 네트워크로 연결된 호스트간에 파일을 주고 받는 명령어입니다. 네트워크가 연결되어 있는 환경에서 ssh와 동일한 22번 포트와 identity file을 사용해서 파일을 송수신하기 때문에 보안적으로도 안정된 프로토콜입니다. Remote → Local $ scp host_id@host_ip:"source/directory/path" "local/directory/path" Local → Remote $ scp "local/directory/path" host_id@host_ip:"source/direct.. 이전 1 다음