LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do you copy and paste a file from a command prompt? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-you-copy-and-paste-a-file-from-a-command-prompt-204582/)

thenewguy05 07-13-2004 01:18 PM

How do you copy and paste a file from a command prompt?
 
How do you copy and paste a file from a command prompt?

major :newbie:

acid_kewpie 07-13-2004 01:37 PM

please explain what you mean. one sentence is seldom enough.....

you're possibly after tools like....

cut
head
cat
sed
grep

which all have their own manpages for full information.

thenewguy05 07-13-2004 02:52 PM

I need to copy a config file into a computer over a ssh sesion.

lone_nut 07-13-2004 03:16 PM

you just mark the lines in a shell, and paste with the midle button. No need to press
anything on the keybord.

Genesee 07-13-2004 03:24 PM

you can use the command "cp" to copy a file

cp sourcefile destinationfile

thenewguy05 07-13-2004 03:35 PM

thanks cp worked great.

Technoslave 07-13-2004 03:41 PM

I had to revert to thinking in terms of Windows. Yes, cp is what you want.

If you want to cut/paste a file. The command you're looking for is mv


All times are GMT -5. The time now is 11:37 PM.