scp Command
Categories:
What is Linux scp Command?
In this tutorial we learn how to use scp command.
From the man page:
scp is a tool for transfering data from or to a server. It supports these protocols: DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET or TFTP. The command is designed to work without user interaction.
scp offers a busload of useful tricks like proxy support, user authentication, FTP upload, HTTP post, SSL connections, cookies, file transfer resume and more.
scp Syntax
scp <options> <url>
scp Examples
scp Command Manual / Help
We can use man
and info
command to see the manual page of scp command.
scp command also have --help
option to show list of options.
To open man page for scp command we can use command below. To exit man or info page you can press q
.
man scp
To open info page for scp command we can use command below.
info scp
To open help page from scp command we can run command below.
scp --help
References
You can find more information about scp from the following links:
Related Linux Commands
You can read tutorials of related Linux commands below:
Summary
In this tutorial we learn how to use scp with practical examples.
Visit our Linux Commands guide to learn more about using command line interface in Linux.