What Is Put Command in Linux?
Contents

The put command allows you to copy files from the local UNIX environment to a remote environment.

What is the put command?

The PUT command lets you insert lines from a current file into a second file. The PUT command stores a copy of a certain number of lines, starting with the current line. You can then append the stored lines to the end of another file. The format of the PUT command is: PUT number-of-lines filename filetype filemode.

WHAT IS PUT command in FTP?

To copy a single file, use the put command. ftp> put filename. To copy multiple files at once, use the mput command. ftp> mput filename [ filename …] You can supply a series of individual file names and you can use wildcard characters.

Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article
Twitter Facebook Pinterest