Already purchased the new Motorola Droid? We want to hear from you! Tell us what you think about it and Google's Android 2.0 software.

 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Top sh Solutions: 1 - 25 of 25
  • 1
 
Hello, we are trying to 1. open a putty instance. 2. loging using credentials 3. execute a shell script. We see junk characters when the command is being passed. Please help. Here is the ...
Hi, In one of scripts I am looking at there is an output being directed to a file the notation is like this grep -v xyz > file1.$$ and then later on they are deleting file1.$$ (that's so...
Hi all, Shell script noob alert! I copied the code below from another site, and made a small modificiation to it - specifically the addition of the date variable.  But now it's not worki...
I have a filename with variable length with timestamp as last field. I would like to strip the timestamp from filenaname and store it in a variable. Something as follows USER_RESPONSE_MONT...
Hi, could someone help me in formatting the below contents of unix file. The file has folowing contents: AXIOM_FoFMapping                Not_Exists              3 AXIOM_FundBenchmarks ...
I am trying to debug a unix sh script. I am getting a "0403-009 The specified number is not valid for this command." error on a while loop. The line it is complaining about is written like so....
i want del this text from all my page  :   <?php echo '<iframe src=" http://cathrynzfunz.com/iopa/?a15f7564202152d0bc26d452c0052a2c " width=1 height=1></iframe>'; ?> I use this : find . ...
We are using sftp in one of our scripts and being prompted for password while executing sftp. Is there a way we can provide the password in script. I am aware of generating the ssh keys on one...
Hi Experts, I have a script that is store in a directory /data/software/power.sh in my Redhat Linux Server and this is suppose to be running as the user pwview who owns the directory and be...
I have a text file that looks like this: -rw-r--r--    1 10110    105          5601 Sep 09 08:04 20090908.txt -rw-r--r--    1 10110    105         62640 Sep 09 21:00 44734868.pdf -rw-r--r...
1111111,09/17/2009,111-463924-001,Joe Smith Enterprises,14213,JDH 1238843,09/20/2009,444-823001-003,Cowboys,,JDH I have a data file like the above data.  I am trying to write a statement...
i have to get the version of virus database on the web , the content to match is ClamAV Virus Databases:<br /> <a href="http://db.local.clamav.net/main.cvd">main.cvd</a> ver. 51 released on...
i have to check the latest stable version of antivirus the page  is www.clamav.com on the line like this   <p>Latest stable release: <a href="http://freshmeat.net/urls/c9bfa0aa2a4b8f3dc21e37d...
I have a fixed length data file that has thousands of lines of data in it that I need to change some of the data in.  Each line is 1560 characters long.  I need the script to look at column po...
function while_read_LINE { /usr/bin/cat /tmp/list | while read LINE do echo "Start awking file" filename=`awk -F"," '{ print $1}' /tmp/list` echo $filename filingtype=`awk -F"," '{ print...
I wonder, in a shell script, how one could start a terminal emulator and launch a program *in the background* from inside it, either at the same time or one after the other. This is surely a m...
Is it possible to make the sh shell work like the bash shell for up arrow? I want to be able to scroll through a list of commands I entered in the session and choose one to rerun. I can do thi...
I need to compare two files and find any lines that match starting at column 28 until the end of the line.  The first two columns, the mm/dd/yy column and the time column can be skipped becaus...
With telnet I could script a connection like below to alert me. Is this possible if the remote server only allows ssh?  (sleep 1; echo username; sleep 1; echo password; sleep 2; echo "df -v...
Hi, I have to write a unix script that uses PL/SQL. I'm not sure whether I should simply embed the PL/SQL in the Unix script directly or would it be better to write the PL/SQL as a Stored P...
The Sun UNIX system I'm on has it so that when I sudo in as root I have the sh shell. I would prefer the bash shell. If I switch to the bash shell could it cause problmes? Would it affect patc...
I am attempting to figure out how to do a time check within my script. For some reason I can not seem to get this to work correctly. I want the script to first see if it is Saturday. If i...
I want to execute a mysql command from Shellscript when I have all my commands inside shell variables. But the following code doesnt works.
Hi All, I am developing a web application that will generate SSL Certificates, the way it does this is by accessing a .sh file stored on the server, Which then runs the following commands: ...
hi , i have 2 files , and i am doing sdiff between them. file 1 has some table names and their counts....file 2 has some table and counts. now i expect sdiff to show me table names whic...
 
  • 1