hi Experts...
I m trying to run a batch script in Windows server 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
ksh HC_Report.ksh>out.html...but it generates the HTML file in
windows server.i wnt the same cmd(ksh HC_Report.ksh>out.html) to be executed on unix server..s der any possibilitie
Hello All,
I need help here with a script. I have a script here which generates a html output with set of commands and is working fine.
Now i want to add a new command/function which would run on all the remote blades and output should be included in this html file.
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%]
Hi,
I have a list of urls in my input.txt file like this
input.txt
Code:
http://unix.com/index.html?acc=OSR765454&file=filename1.gz
http://unix.com/index.html?acc=OBR765454&file=filename111.gz
http://unix.com/index.html?acc=ORS765454&file=filename1111.gz
http://unix.com/index.html?acc=OST76454&file=filename11111.gz
http://unix.com/index.html?acc=OS5454&file=filename1111
Hi All,
I need script to perform below task.
1. I have a script in one server and need to copy this script to remote server
2. login in to remote server
3.
I have the following bash script
#!/bin/bash
ssh -o "StrictHostKeyChecking no" ubuntu@$1
cd /home/ubuntu
wget google.com
When I run it, ./test.sh I am ssh'd into the remote server but the wget command is not run unless I press ctrl+d and then the ssh session exits and the index.html file is saved to /home/ubuntu
How can I change this bash script so that I can save the index.html file on the re
i'm some what new to ubuntu linux.. i need to run the shell script from a html code. as i read some where like using apache2 to generate a html and some how i'm succeded to run sh file from html, but i'm unable to see the command prompt which executes the commmands in sh script. it's running may be as a daemon...
Hello everyone,
I have a binary file with a structure unknown.
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.