The get command is used to download files from a remote server to your local machine. It is commonly used in FTP, SFTP, and other file transfer protocols.
Usage Examples:
-
In FTP:
To download a file namedexample.txtfrom a remote FTP server to your local directory:get example.txt -
In SFTP:
To download a file namedreport.pdffrom a remote SFTP server:get report.pdf -
In HDFS:
To download a file nameddata.csvfrom HDFS to your local directory:hdfs dfs -get /user/hadoop/data.csv /local/path/
The file will be saved in the specified local directory or the current directory if no path is provided.
