I am simply not a programming guy. I deal with networks. I need a script to copy files from a remote server(Linux) to another machine.I have only ftp access to the remote server. Files are generated daily but fetched twice a week. Can anyone help me out in this ????
When a web page is loaded on server A i want it to run a script on server B.
My bash scripting knowledge is very weak that's why I'm asking help here. What is the most effective bash script according to performance to find and copy files from one LINUX server to another using specifications described below.
I need to get a bash script which finds only new files created in server A in directories with name "Z" between interval from 0 to 10 minutes ago.
It is a very weird problem
I zipped a folder (in server A) and copied it to another server (server B) ;then unzipped it on the another server .when I executed the script(say ab.sh) in the folder it shows syntax error.
Then on sever B i created a script ab1.sh by doing the copy paste of script ab.sh on server A.Then script is running on the expected lines.
Can someone please explain this behavior
Hello,
I am running into few issues, please suggest me what I am missing.
I am running this script on a linux host.
Main idea of this script is to, login to each host via ssh and get uid of user, service user that I trying to run this script, has already deployed ssh keys and provide sudo access to root with password less on all the server.
issue: /tmp/hostname.txt file contains list o
I have a bash script I'm using to connect to a remote server via ssh. That works, however I want the script to immediately pass the command of cd /some/dir after connecting. That doesn't seem to be working.
Imagine a shell script on the remote server as
#!/bin/bash
rm /test.x
How can I (if possible) to execute this script from my local machine to delete /test.x file on my local machine.
Hi,
I want to execute shell script with in sftp session for remote server.
like i have a shell script test.sh that is on local server.i want to execute that script on remote server
sftp user@192.168.56.10
sftp> test.sh ---execute for remote server not for local server.
sftp oracle@192.168.56.101 << EOF
cd /home/ibney
test.sh # i want to execute this shell script on
I am looking to create a script for Windows Server 2008, that could be called from some sort of web interface that would create a temporary user for an employee to get remote desktop access.
I would prefer not to have everyone share a login and password and would prefer not to have logins for everyone on each server.