$ cd /var/tmp
$ ssh remote-host dd if=/dev/rmt/n | tar xvBpf -
dd 명령을 사용하여 테이프 장치에서 파일을 추출하기 시작한 보안 셸을 나타냅니다.
입력 장치를 나타냅니다.
dd 명령의 출력을 파일 복원에 사용되는 tar 명령으로 파이프합니다.
$ ls -l
$ cd /var/tmp $ ssh mercury dd if=/dev/rmt/0 | tar xvBpf - password: x answers/, 0 bytes, 0 tape blocks x answers/test129, 48 bytes, 1 tape blocks 20+0 records in 20+0 records out x sc.directives/, 0 bytes, 0 tape blocks x sc.directives/sc.190089, 77 bytes, 1 tape blocks x tests/, 0 bytes, 0 tape blocks x tests/test131, 84 bytes, 1 tape blocks $ ls -l