LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-13-2007, 01:52 PM   #1
shipon_97
Member
 
Registered: Oct 2005
Location: Bangladesh
Posts: 490

Rep: Reputation: 30
Scripts Variation


Dear friends,

I have to find Two types of Scripts in Linux . Some wre using "@@@@@@" character which is not readable mode AND other is normal bash/ksh scripts which are Readable .

Now my question is what is the differents between this two types of Scripts And How can I change a Normal bash shell scripts into "@@@@@@" form ?
plz explain me .. ..
 
Old 03-13-2007, 03:16 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
I do not understand the question---using "@@@@@@" where???

Any file--including a script--is readable according to how the permissions are set.
Quote:
I have to find Two types of Scripts in Linux
Why??
 
Old 03-14-2007, 01:10 PM   #3
shipon_97
Member
 
Registered: Oct 2005
Location: Bangladesh
Posts: 490

Original Poster
Rep: Reputation: 30
Script Variation

Dear pixellany ,

Very recently I have to install ORACLE 9i into my RHEL 4. here in $ORACLE_HOME/bin , I get a lot of scripts Like dbsnmp,oemctl ets.
Now when I open "dbsnmp" using VI editor I get some character Like the following :

^?ELF^A^A^A^@^@^@^@^@^@^@^@^@^B^@^C^@^A^@^@^@ 6^E^H4^@^@^@<90>u#^@^@^@^@^@4^@ ^@^G^@(^@^^^@^[^@^F^@^@^@4^@^@^@4<80>^D^H

And again when I open the "oemctl" file using VI editor , I get following :

#!/bin/sh
sageAndExit()
{
echo "Usage: $ME start oms "
echo " $ME stop oms <EM Username>/<EM Password>"
echo " $ME status oms <EM Username>/<EM Password>[@<OMS-hostname>]"
echo " $ME ping oms "
echo " $ME enable eventhandler "
echo " $ME disable eventhandler "
echo " $ME export eventhandler <filename> "
echo " $ME import eventhandler <filename> "
echo " $ME dump eventhandler "
echo " $ME import registry <filename> <repUserName>/<repPasswd>@<repAlias> "
echo " $ME export registry <repUserName>/<repPasswd>@<repAlias> "
echo " $ME configure rws "
exit 1
}
Like this.

Now plz explain me what is the difference between them ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Variation of LFS into /pkg shevegen Linux From Scratch 0 05-06-2006 12:35 AM
scripts Anden008 Linux - General 6 01-04-2006 12:49 PM
VPN: Debian Scripts -> Mandriva 2006 Scripts Undefined Mandriva 0 11-30-2005 01:10 PM
scripts ceph Linux - General 3 11-17-2005 11:54 PM
Need help running scripts from scripts sdouble Linux - Newbie 3 05-31-2004 01:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration