cancel
Showing results for 
Search instead for 
Did you mean: 

OS command usage

Former Member
0 Kudos

Hi ALL,

i am working on a requirment for OS commands i have some doubt in this.we have a file sender FTP system in unix ,i am writing a shell script to find a file .

1)My doubt is where shoud i deply tht shell script ,is that in the PI systems server or FTP server ..?

2) in help document it say %f (file name)

%F (absolute file name including path) the file mentioned here is the actual data file name or .file name of the schell script .. ?

if can give me more insight on this will be very helpfull.

thanks

Souz

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182004
Contributor
0 Kudos

Hi Dominic,

You have to place you .sh script in your PI server. And, %f, stands for the FileName that was picked up by the Communication Channel.

Regards,

Juan.

Former Member
0 Kudos

thanks for your reply.

We are using Linux as OS ..then do we need to write the OS command script in Linux.. ?

and where we have to diploy this Script in the PI system.. ?

thanks

Souz

Former Member
0 Kudos

thanks for your reply.

We are using Linux as OS ..then do we need to write the OS command script in Linux.. ?

and where we have to diploy this Script in the PI system.. ?

thanks

Souz

Former Member
0 Kudos

Hi Souz,

> We are using Linux as OS ..then do we need to write the OS command script in Linux.. ?

Linux is advanced of UNIX, so UNIX all commands should work on the Linux.

So write the UNIX shell script.

> and where we have to diploy this Script in the PI system.. ?

You can deploy this file any folder in the PI server, but in the communication channel you have to mention that file path.

Regards

Ramesh