다음은 현재 디렉토리에 있는 sshd.txt 라는 파일을 IP가 192.168.1.154 인 컴퓨터에 root 라는 계정으로 접속하여 /usr/local/src/ 디렉토리 밑에 복사해 넣는 명령이다.
[root@in4nux root]# scp ./sshd.txt root@192.168.1.154:/usr/local/src/
다음은 IP가 192.168.1.154 인 컴퓨터에 root 라는 계정으로 접속하여 /usr/local/src/ 디렉토리 밑에 있는
sshd.txt 라는 이름의 파일을 자신의 컴퓨터로 현재 위치한 디렉토리에 복사하는 명령이다.
[root@in4nux root]# scp root@192.168.1.154:/usr/local/src/sshd.txt ./
jerry.lee | 제리
http://blog.naver.com/jeeunglee/140015022862
댓글 없음:
댓글 쓰기