What is the `get` command?

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:

  1. In FTP:
    To download a file named example.txt from a remote FTP server to your local directory:

    get example.txt
  2. In SFTP:
    To download a file named report.pdf from a remote SFTP server:

    get report.pdf
  3. In HDFS:
    To download a file named data.csv from 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.

0 Comments

no data
Be the first to share your comment!