10 More Discussions You Might Find Interesting
1. Open Source
Hi All,
I have a current Process that runs "windows script " for the file movement that needs to changed to a "DataStage Process (Using shell script )"
Source :Text file is getting generated as part of Datastage Jobs processes and resides in a shared drive (Unix server)
Target :ftp... (2 Replies)
Discussion started by: developer.dwh9
2 Replies
2. Homework & Coursework Questions
I am a student in BCIT in vancouver and taking comp2771 course.(Shell scripting).
I would like to know what are different ways of executing shell commands?
Thanks (1 Reply)
Discussion started by: adam25ca
1 Replies
3. Shell Programming and Scripting
Hi All,
I am trying to execute a shell script containg awk commands. But unable to do so. Below is my script. Please help.
The name of the script is scan.sh and I have tried executing it using the command sh scan.sh
It is giving an error which reads like:
awk:syntax error near line 7... (3 Replies)
Discussion started by: misb
3 Replies
4. UNIX for Dummies Questions & Answers
the ssh calling convention:
ssh <server>
If I put commands in the section, ssh will execute them immediately after logging in and return to local shell. I want to stay in the remote shell after executing these commands. How can I achieve this?
Thanks for all. (1 Reply)
Discussion started by: hplonlien
1 Replies
5. Shell Programming and Scripting
Hey there,
I am trying to pass a command as argument to a function.
The command shows up in $1.
Now I want to execute this command, but if I do a $1
./sample
"bla/blaprintf: warning: ignoring excess arguments, starting with `bla/bla'
The code is :
#!/bin/ksh
fn()
{
$1
}
fn... (3 Replies)
Discussion started by: shriyer
3 Replies
6. Shell Programming and Scripting
Dears,
i want to execute unix commands through FTP session those commands like grep XXXXX file name > new file
tar new file
..... etc
Please let me know how to so
thank you (3 Replies)
Discussion started by: faiz
3 Replies
7. Shell Programming and Scripting
Dears,
I'm new in shell scripting and i need your help, i would like to know how can i create a script to ftp to a certain unix/linux machine/server IP address and get a file for example without user intervention? How can i force the script to use a certain username and password to access this... (4 Replies)
Discussion started by: Dendany83
4 Replies
8. UNIX for Advanced & Expert Users
Hello,
Any inputs on the possibility of executing a shell script on unix box from Windows FTP
TIA (1 Reply)
Discussion started by: B2BIntegrator
1 Replies
9. UNIX for Advanced & Expert Users
I have to execute some commands after executing one command ( cleartool setview Tagname)
Problem is that I write commands in script like this.
echo "test1"
cleartool setview tagname
echo "test2"
copy file1 file2
echo "test3"
but when I execute script.
Output
---------
test1
If I... (1 Reply)
Discussion started by: udaykishore
1 Replies
10. UNIX for Dummies Questions & Answers
I have written a script to ftp a file from Unix to an NT machine to authenticate ftp login I have added the information into the .netrc file when logged in using ftp the commands are not executed. Does anybody know how to make the command execute once username and password have been provided using... (2 Replies)
Discussion started by: hesmas
2 Replies