[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum  |  Linux in General  |  Linux Development & Programming  |  Topic: shell script and binary together
The LinuxSolved.com GNU/Linux User Communit - Forum
Welcome to LinuxCommunity You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Pages: [1]
  Print  
Author Topic: shell script and binary together  (Read 865 times)
0 Members and 1 Guest are viewing this topic.
ganeshgore81
New Member

Offline Offline

Posts: 3


View Profile
« on: January 20, 2006, 08:08:14 AM »

Hi friends,

I am running shell script in which the binary is at the end will execute later
can anyone tell me that how it is possible i saw one shell script like this

that is j2sdk-1_3_0-rc1-linux-rpm.sh
just download and check it how it is done
pure text and binary data is in one file we get an extracted rpm later after executiing the script. if anyone knows plese tell me that.

Thank You
Logged
dragoncity99
LST CareTaker
Experienced
*****
Offline Offline

Posts: 494


View Profile
« Reply #1 on: January 23, 2006, 12:03:42 PM »

Dear ganeshgore81,

U don't have to see, shell script is very helpful, and it's all about imagination and creativity helps u.

When u r download a file be it binary/text, all u need to know is:

1. What program am i using to download?
-FTP
-SCP
-SFTP

2. So u found out the right tool u wanna use to download?

3. Okay, now understand the sequence to download using console mode

4. What else, put the commands in the shell script instead of u do it urself.

5. Add the Integrity/Checksum on the file. U can use:
- MD5SUM for example
to do checksum on remote file & local file.

So finally, what do u really want?

For your information, u can also use "EXPECT" scripts to help u, if the application u use is too interactive.

http://expect.nist.gov/
Logged
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
   

 Logged
Pages: [1]
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
BASH SHELL SCRIPT Linux Development & Programming nicksthegreat 1 1321 Last post April 08, 2004, 06:02:04 AM
by sudipta_cht
How to run a shell script using service command Linux Development & Programming sridip 3 1811 Last post May 07, 2006, 09:17:10 AM
by dragoncity99
Running shell Script Linux Development & Programming shipoin_97 1 947 Last post December 14, 2005, 08:56:18 AM
by dragoncity99
run shell script immediatly u do # rpm -ivh Linux Development & Programming ganeshgore81 2 1054 Last post September 18, 2007, 07:01:41 AM
by gauravbajaj
Shell Script Miscellaneous gauravbajaj 6 863 Last post May 08, 2006, 05:34:32 AM
by gauravbajaj
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2008, 09:25:46 AM

Login with username, password and session length
Navigation
Recent Discussions
[November 20, 2008, 11:30:52 PM]

[November 19, 2008, 07:52:41 PM]

[November 19, 2008, 07:52:36 PM]

[November 17, 2008, 10:42:59 AM]

[November 16, 2008, 12:49:47 AM]

[November 16, 2008, 12:48:58 AM]

[November 15, 2008, 08:29:02 AM]

[November 15, 2008, 08:24:41 AM]

[November 14, 2008, 05:11:50 AM]

[November 13, 2008, 03:28:22 AM]
Members
Total Members: 6227
Latest: karunadct
Stats
Total Posts: 8269
Total Topics: 2253
Online Today: 10
Online Ever: 111
(June 28, 2007, 06:47:29 AM)
Users Online
Users: 0
Guests: 12
Total: 12
Privacy Policy| Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Theme & TinyPortal v0.9.8 © Bloc