I m trying to run a batch script in remote desktop which executes unix commands on the unix server...the problem is i wnt the output in HTML format.so in my batch script i m giving the cmd like
Code:
ssh hostname path ksh HC_Report.ksh>out.html
...but it generates the HTML file in
remote desktop .i wnt the same cmd(ksh HC_Report.ksh>out.html) to be executed on unix server..s der any p
I wish to create a folder on a unix server B from my windows box using windows batch script.
Below is my windows batch script.
Code:
@ ECHO OFF
::Enter your Directory name:
echo Enter your Directory name:
set /p mydir=
plink user1@ServerA
mkdir %mydir%
At plink command i get logged on to ServerA and get auto ssh to Unix ServerB.
Post auto-login to ServerB the command [mkdir %mydir%]
I usually work in .NET and windows.But recently I have a problem which involves the unix server. The unix server is having text files whose data needs to be inserted to sql server database in another windows server. I need to insert the data on regular time interval of 15 mins automatically. I will be able to do the same by writing a windows services...but no idea in Unix..please help..
Hi,
I need a shell script to transfer a file from one server(unix box) to another server(windows box).
I have the details of the source and destination Ip's.
source path : /home/UNIX/server
filename:abc.txt
Destination folder: D:/UNIX/test
I am using AIX server.
Type of shell : korn
Hi,
Is there a way to transfer a file from one unix server from another without entering the login credentials.
Hi,
It will be great help if any of them can provide or tell which scripting is possible to write for checking folder exists or not in Windows server from Unix/Windows machine.
If folder doesn't exist then need to create the folder through script and copy the files.
It is on very highly required. Please post the script asap.
Regards,
Prakash
Hi experts,
can anyone suggest me on the below:
how to write a shell script to search and delete files on windows server.
-script runs on unix box
-it should search for specific files on windows server and delete them periodically.
Hi,
I have prepared 1 .sh script that is running fine in UNIX box. Now I wanted to run that script from windows box. I am thinking of converting it to .exe so that can run this in windows server and use it.
Overview:
Script basically checks for some values in logs of process running in unix box and currently I am running this from some other unix box. Now I wanted to run it from windows machine.
I am very weak on unix shell scripting. Is there a way to create Unix shell script which will start on server boot time only, and will execute the following commands in order:
# cd /mysql
# ./bin/safe_mysqld --user=root &
# ./support-files/mysql.server start
The longer story... On a HP-UX server I've installed Mysql.