Sponsored Content
Top Forums Shell Programming and Scripting Need to run the batch script from shell scripting Post 302860115 by sea on Friday 4th of October 2013 03:19:25 PM
Old 10-04-2013
Just like you call the batchfile on the windows machine from linux ,
you can access the textfile it created.

This would copy the file outputfile.txt from the 'windowsmachine''s share 'share' to your $HOME...
Code:
cp //windowsmachine/share/outputfile.txt $HOME/

Hope this helps
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to write a Script to run series of batch jobs on unix platform

Im new to unix shell scripting, I have to run batch jobs on unix. for example i have 5 jobs. first 2 can kickoff parallely. after completely finishing the 2 previous jobs the 3 job should kick off..once 3rd is over 4 th and 5th can kick off parallely. Each jobs run for 1 or 2 hours each. How to... (2 Replies)
Discussion started by: venki311
2 Replies

2. Shell Programming and Scripting

Change the Windows Batch script to UNIX shell script.

Hi, When I run the below script in UNIX it's throwing syntax errors. Actually it's a windows batch script. Could anyone change the below Windows Batch script to UNIX shell script... Script: REM :: File Name : Refresh_OTL.bat REM :: Parameters : %1 - Region REM :: : %2 - Cube Type REM ::... (5 Replies)
Discussion started by: tomailraj
5 Replies

3. Shell Programming and Scripting

Executing a batch of files within a shell script with option to refire the individual files in batch

Hello everyone. I am new to shell scripting and i am required to create a shell script, the purpose of which i will explain below. I am on a solaris server btw. Before delving into the requirements, i will give youse an overview of what is currently in place and its purpose. ... (2 Replies)
Discussion started by: goddevil
2 Replies

4. Shell Programming and Scripting

Dos batch script to execute unix shell script

Can anyone help me with a dos batch script to execute a shell script residing in an unix server. I am not able to use ssh. Thanks in advance (2 Replies)
Discussion started by: Shri123
2 Replies

5. Shell Programming and Scripting

How to run a script using batch file?

the manual process which we follow is login to remote unix box thro putty using the unix account and password and then sudo to root user. server name:abc@server.com login as:pqrst password:****** $ sudo su - root then run the script stored on remote server under root account. ... (9 Replies)
Discussion started by: gpk_newbie
9 Replies

6. Shell Programming and Scripting

Batch script to run in SFTP

Hello Guys, I am writting a script which is SFTPing from Solaris to Windows. I need to run a Batch script in SFTP session (ongoing) which will map a network drive and then transfer my files. I can run the Batch script via SSH but not via SFTP and this mapping is limited to that SSH... (4 Replies)
Discussion started by: Deei
4 Replies

7. Shell Programming and Scripting

How to run multiple functions in Background in UNIX Shell Scripting?

Hi, I am using ksh , i have requirement to run 4 functions in background , 4 functions call are available in a case that case is also in function, i need to execute 1st function it should run in background and return to case and next i will call 2nd function it should run in background and... (8 Replies)
Discussion started by: karthikram
8 Replies

8. Shell Programming and Scripting

To run a shell script in remote server from windows batch file

Hi all, i need to run a shell script on remote server. I have created file .bat file in windows server with following code, c:\Users\Desktop\putty.exe -ssh -pw password user@server ./script.sh i need to run the script.sh in my remote server Above command is not working, any... (4 Replies)
Discussion started by: rammm
4 Replies

9. AIX

How to write a script to run without password on a batch of servers?

I need run a command such as ps -ef |grep xxx on a batch of servers, how to write a script to run it without password? don't need go in each server to check? Thanks (7 Replies)
Discussion started by: rainbow_bean
7 Replies

10. Shell Programming and Scripting

Batch script to execute shell script in UNIX server

Hi team, My requirement is to transfer pdf files from windows machine to unix server and then from that unix server we should sftp to another server. I have completed the first part i.e From windows to using to unix server with the help of psftp.exe code: psftp user@host -pw password <... (1 Reply)
Discussion started by: bhupeshchavan
1 Replies
PAW-DEMOS(1)						      General Commands Manual						      PAW-DEMOS(1)

NAME
paw-demos - run PAW demonstrations SYNOPSIS
paw-demos [options] [example_num [test_num]] DESCRIPTION
paw-demos is a script to run the demonstrations of PAW in the paw-demos package. It will create a demo directory (by default $HOME/paw-demos), copy the demos from /usr/share/paw-demos to this directory, and run them. Both examples and tests are available. example_num is the number of the example to start with; examples are skipped if example_num > 31. test_num is the number of the test to start with; tests are skipped if test_num > 8. Note that the first example is numbered 1 but the first test is numbered 0. OPTIONS
--batch Run demos in batch mode; output to PostScript. The resulting output files are placed into a "linux" subdirectory of the demo direc- tory. --clean Clean the demo directory given by the --dir option (or the default directory if --dir is not given). This option causes exam- ple_num, test_num, --batch, and --driver to be ignored. --dir dir Specify the directory in which to run the PAW demos, relative to $HOME. If it does not already exist, it will be created and the demos copied to it from the directory /usr/share/doc/paw-demos/examples. The default is $HOME/paw-demos. --display display Specify the display to use. The default is the current value of the $DISPLAY environment variable. --driver driver Specify a graphics driver. Available options are "X11" for pawX11 and "++" for paw++. --help Show a summary of options. FILES
/usr/share/paw-demos contains the PAW demonstrations. $HOME/paw-demos is the default directory in which to run the demos. SEE ALSO
paw(1), paw++(1) AUTHOR
This manual page and the paw-demos script that it describes were written by Kevin McCarty <kmccarty@debian.org> for the Debian GNU/Linux system (but may be used by others). The demos themselves were written by various PAW contributors. COPYRIGHT
(C) Copyright Kevin McCarty, 2003. April 23, 2003 PAW-DEMOS(1)
All times are GMT -4. The time now is 10:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy