The user has to tell the scp command where to put what. If you check the syntax in the man page for scp you will get a clue. To make sure the file is found you have to use the relative or absolute path to the file you want to copy over. Like for example:
This would copy the local file /localdir/bla/myfile to the remote host "somehost" and overthere in the directory /home/karl.
i want to run some solaris executable program (text file). i telnet to solaris machine. the text file is on the net drive h: or my local drive on windows system.
how can i copy the text file from local drive in windows to remote machine in solaris system?
thanks. (4 Replies)
hi,
im a newbie using unix. My local computer OS is Windows XP while server is
using Unix. May i know how to transfer file from local computer to server? i do not know the commands.
Thanks. :) (3 Replies)
Hi,
Just wanted to know, how can I ftp/transfer/copy a (design.tar.gz) archive from a Unix Server (sdmc222.sdmc.cp-srv.com) which is at a remote location, to my Windows Desktop. Obviously, it is not possible at cmd prompt on my Windows using the following commands :-
ftp... (3 Replies)
Hello,
I've been searching your forum for an answer to the following question and whilst I've seen several which may help I'm afraid my inexperience with UNIX systems has got the better of me and I'm incapable of piecing your considerable expertise together.
Problem:
I have a linux box which... (5 Replies)
Hi All,
URGENT - Please help me form a scipt for this:
I need the LATEST file from a dir on REMOTE machine to be SCP'd to a dir on local machine. (and I need to execute this from local server)
I know that the below cmd is used to find the LATEST file from a dir. But this command is not... (3 Replies)
Hi ,
How to check whether web server is running from remote machine
How to check whether web server is running on web server itself
Can any one help me soon (1 Reply)
Hi,
I am trying to copy a file from oracle home on a unix platform to my local machine. I think i can use ftp but i am not sure of the exact syntax and way i should write this. Can someone help please? (2 Replies)
Hello,
I need to create a shell script which will copy files - which are created on particular date and starting with particular name - to local windows XP machine.
Is this possible.?
Currently it is being done manually using winscp (1 Reply)
Hi,
Is there a way I can copy a file from a server to a local folder (i.e. My Documents)? can it be done by scp?
I tried this but it just rename the file as the folder it has to be transferred at.
scp -r name@some_server:/home/user/file.txt 'somehere\home\home_dir'
Thanks. (4 Replies)
Hi Guys,
Just entering the Linux word, So I need help to write a script on my local machine(Ubuntu 14.04) that continuously check the particular folder(contains images) and a json file on the server and download whenever new images are added to that folder and whenever there is a change in the... (10 Replies)
Discussion started by: g4v1n
10 Replies
LEARN ABOUT OSX
ypset
YPSET(8) BSD System Manager's Manual YPSET(8)NAME
ypset -- tell ypbind(8) which YP server process to use
SYNOPSIS
ypset [-h host] [-d domain] server
DESCRIPTION
Ypset tells the ypbind(8) process on the current machine which YP server process to communicate with. If server is down or is not running a
YP server process, it is not discovered until a YP client process attempts to access a YP map, at which time ypbind(8) tests the binding and
takes appropriate action.
Ypset is most useful for binding a YP client that is not on the same broadcast network as the closest YP server, but can also be used for
debugging a local network's YP configuration, testing specific YP client programs, or binding to a specific server when there are many
servers on the local network supplying YP maps.
The options are as follows:
-h host
Set the YP binding on host instead of the local machine.
-d domain
Use the YP domain domain instead of the default domain as returned by domainname(1).
SEE ALSO domainname(1), ypbind(8), ypcat(1), ypmatch(1), yppoll(8), ypwhich(1), yp(8)AUTHOR
Theo de Raadt
BSD October 25, 1994 BSD