Wie kopiere ich eine Klasse nach UNIX?

619

Wie kopiere ich eine Klasse (von intelliJ) auf UNIX (mit Putty)

0

2 Antworten auf die Frage

1
Tom Hawtin - tackline

Obviously you can copy and paste text, if you are talking source code. cat > MyFile.java is useful on the UNIX side.

If you want to transfer files, use psftp included with PuTTY. Your server will need to be running an accessible sftp server.

Connect with:

open host.name 

Enter you login name and password at the prompts.

Show remote directory location with pwd and local location with !pwd.

Change remote directory with cd and local with lcd.

Upload a file with:

put MyFile.java 

mput is also useful for transferring multiple files. Use help to get a list of commands and help command to get help on a specific command.

0
mcandre

PuTTY may not be able to copy files. Use OpenSSH for Windows instead. This contains scp, a program for copying files remotely.

PuTTY wird seit langem mit "pscp" und "psftp" geliefert. grawity vor 14 Jahren 1
Das sind gute Neuigkeiten! mcandre vor 14 Jahren 0