ncftp강좌 3편: ncftp 실행과 도움말, 그리고 종료하기
작성자 정보
- 관리자 작성
- 작성일
컨텐츠 정보
- 2,360 조회
- 0 추천
- 목록
본문
ncftp강좌 3편: ncftp 실행과 도움말, 그리고 종료하기
앞의 강좌에서 rpm으로 설치하든 소스를 직접 컴파일하여 설치하든 그것은 전적으로 여러분들의 취향에 달려있다.
지금부터는 ncftp가 설치되었다고 가정하고 그 사용법에 대해서 알아보도록 할 것이다.
ncftp를 시작하는 방법은 매우 간단하다.
쉘프롬프트에서 그냥 ncftp라고하면 ncftp를 실행시킨다.
그리고 ncftp모드가 시작된다.
아래의 예는 ncftp를 실행시킨 것으로 “ncftp>”라는 ncftp모드가 시작되었음을 알 수가 있다.
이 ncftp모드에서 이번 장에서 설명하고있는 ncftp명령어를 모두 사용할 수 있다.
[root@RockyLinux ~]# ncftp NcFTP 3.2.6 (Nov 15, 2016) by Mike Gleason (http://www.NcFTP.com/contact/). ncftp> ncftp> exit [root@RockyLinux ~]# |
그리고 ftp에서와 마찬가지로 exit또는 quit 또는 bye로 ncftp모드에서 쉘프롬프트로 빠져 나올 수 있다.
위의 예에서 exit로 ncftp모드에서 빠져나온 것이다.
그리고 다음은 ncftp를 실행한 다음 help라는 ncftp전용명령어를 실행하여 ncftp> 모드에서 실행가능한 전용명령어들을 확인한 것이다.
ncftp> help Commands may be abbreviated. 'help showall' shows hidden and unsupported commands. 'help <command>' gives a brief description of <command>.
ascii cat get lookup mkdir pwd set bgget cd help lpage open quit show bgput chmod jobs lpwd page quote site bgstart close lcd lrename passive rename type binary debug lchmod lrm pdir rhelp umask bookmark dir lls lrmdir pls rm version bookmarks edit lmkdir ls put rmdir
For details, please see the manual ("man ncftp" at your regular shell prompt or online at http://www.NcFTP.com/ncftp/doc/ncftp.html). ncftp> |
그리고 다음은 ncftp>모드에서 위 전용명령어중에 하나인 mget이라는 전용명령어에 대한 사용도움말을 확인한 것이다.
ncftp> help mget mget: fetches files from the remote host. Usage: mget [-flags] file1 [file2...] Flags: -R : Recursive. Useful for fetching whole directories. -z : Get the remote file file1, and name it to file2. -a : Get files using ASCII mode. -A : Append entire remote file to the local file. -f : Force overwrite (do not try to auto-resume transfers). Examples: get README get README.* get "**Name with stars and spaces in it**" get -R new-files-directory get -z WIN.INI ~/junk/windows-init-file
For details, please see the manual ("man ncftp" at your regular shell prompt or online at http://www.NcFTP.com/ncftp/doc/ncftp.html). ncftp> |
관련자료
-
이전
-
다음