Ubuntu에 유용한 명령
목차
곱슬 곱슬하다
- Download a remote file
curl -O [URL]
Or
curl –-remote-name [URL]
An example would be:
curl -O https://en-au.wordpress.org/latest-en_AU.zip
Or
curl –-remote-name https://en-au.wordpress.org/latest-en_AU.zip
- To save a remote file with a different name:
curl –O [FILENAME] [URL]
- Download multiple remote files
curl -O [URL1] -O [URL2]
- Download a remote file via FTP
curl -O [FTP_URL]
- Download remote files via FTP with credentials
curl -u [FTP_USER]:[FTP_PASSWORD] -O [FTP_URL]
Wget
- Download a remote file
wget [URL]
- Download a remote file with a different name
wget -O [FILENAME] [URL]
- Download a remote file via FTP
wget [FTP_URL]
- Download files via FTP with credentials
wget -u [FTP_USER]:[FTP_PASSWORD] -O [FTP_URL]
압축 풀기
- Test if a zip file is valid file
unzip -t [ZIP_FILE_PATH]
An example would be:
unzip -t ./test.zip
- List contents of a zip file
unzip -l [ZIP_FILE_PATH]
- Extract a zip file
unzip [ZIP_FILE_PATH]
- Extract a zip file to a different location/directory
unzip [ZIP_FILE_PATH] –d [DESTINATION_DIRECTORY_PATH]
Reference
이 문제에 관하여(Ubuntu에 유용한 명령), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://dev.to/ibrarturi/useful-commands-for-ubuntu-28ic텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)