01-03-2007
Thanks a lot...
It clicked to me as soon as I posted the doubt. script is working fine now.
Thanks a lot for your help and wish you a very Happy and Prosperous new Year!!
Regards,
Rachana
10 More Discussions You Might Find Interesting
1. Solaris
Hi, i would like a help with this problem.
i have the following situation:
4 workstations SUNs:
SunOS porsche 5.8 Generic_117350-18 sun4u sparc SUNW,Sun-Blade-100
SunOS jaguar 5.8 Generic_108528-18 sun4u sparc SUNW,Sun-Blade-100
SunOS mercedes 5.8 Generic_117350-18 sun4u sparc... (2 Replies)
Discussion started by: dougpss
2 Replies
2. Shell Programming and Scripting
Hi friends,
i have written one small script named as "size.sh".....
while running its giving
syntax error at line no 2: 'str=$' unexpected.
How to run this file ??? please help me.
file content is :
-----------------------------
#!/bin/sh
str=$( df -k | grep /usr/local)... (14 Replies)
Discussion started by: samfrance
14 Replies
3. Shell Programming and Scripting
Hi
I'm trying to touch a number of files. I thought that it would be time-saving to put all the touch commands into a script and execute the script from the command line.
This is what I did (as a test) --
I created a small list of commands and put the commands into a text file
I set... (6 Replies)
Discussion started by: Viola
6 Replies
4. UNIX for Dummies Questions & Answers
hey,
i'm trying to run several processes due 2 loops :
the code is:
cd ${TIBCO_HOME}/tra/domain/${DOMAIN}/application/
for app_name in ls *
do
echo $app_name
if && && ;
then
exit
else
echo $app_name
cd $app_name
pwd
for ps_name in ls *.sh
do
echo... (2 Replies)
Discussion started by: ohadr
2 Replies
5. Shell Programming and Scripting
Hi All,
I am running a script which is present on remote machine using ssh command.
the remote script is failing when try to load a property file. It says file does not exist.
Any idea what should be the problem for this.
Thanks
Supriya. (7 Replies)
Discussion started by: supriyabv
7 Replies
6. Shell Programming and Scripting
Hi all,
I have a script that calls another program/script, xxx, to run in the background. Supposedly this program at most should finish within five (5) minutes so after five (5) minutes, I run some other steps to run the script into completion.
My problem is sometimes the program takes... (5 Replies)
Discussion started by: newbie_01
5 Replies
7. Shell Programming and Scripting
Hi guys I have a problem with one module of my script. It's awk script running in pbs file - It's working when I make a call from pbs to separate awk only file like this but when I try to execute this code in pbs file it fails
awk 'BEGIN { max = -1000; min = 1000 }
{
{$4 == "TCO"}
... (2 Replies)
Discussion started by: grincz
2 Replies
8. Shell Programming and Scripting
Hi all,
Running follow command on terminal;
$ glance -T cloudlive -I ubuntu -K ubuntu123 -N \
http://127.0.0.1:5000/v2.0/OpenX add name="cirros" is_public=true \
container_format=ovf disk_format=raw < \
/srv/cirros-0.3.0-x86_64-disk.img
It works without problem.
Putting it on a... (5 Replies)
Discussion started by: satimis
5 Replies
9. Shell Programming and Scripting
Hello to all,
May be some expert could help me.
I have the below awk script that works correctly in Cygwin:
awk -F\" 'FNR==NR && FNR>1 {gsub(",","",$5); N=$5;next}
$10 in N && FNR>1 {
Y=$8
Z=(N==$8)?"Yes:"No";
}
END{
for(k in N) {print k,Y,N,Z?Z:"Not_Found"}
}' file2 file1But when I... (11 Replies)
Discussion started by: Ophiuchus
11 Replies
10. Shell Programming and Scripting
Hi ,
I am trying to use the below in awk but failed, any one assist please,
awk '{ print $0;
if ( $0 ~ /LOADTMP1/ )
{
print $4;
Table_name=system($( db2 -x "SELECT TRIM(TD.BSCHEMA) || '.' || TRIM(TD.BNAME) AS TABLE_NAME FROM SYSCAT.TABDEP TD WHERE
TD.BTYPE='T' AND... (2 Replies)
Discussion started by: Nandy
2 Replies
LEARN ABOUT DEBIAN
recover
RECOVER(1) General Commands Manual RECOVER(1)
NAME
recover - recover a deleted file
SYNOPSIS
recover [device] [options]
OPTIONS
-h, --help prints help
-a, --all no filtering; dump all deleted inodes
DESCRIPTION
recover recovers a file which matches some ext2 - info about the deleted inode by getting all the deleted inodes and filtering them. It's
based upon the Ext2Undeletion-howto by Aaron Crane. Using this utility, your chances to recover a lost file should increase a lot.
QUESTIONS ABOUT THE DELETED FILE
o Hard disk device name
o Year of deletion
o Month of deletion
o Weekday of deletion
o First/Last possible day of month
o Min/Max possible file size
o Min/Max possible deletion hour
o Min/Max possible deletion minute
o User ID of the deleted file
o A text string the file included (can be ignored)
BUGS
Please note that recover does not work with ext3 filesystems, it is strictly ext2-only. For further information on this, please read
/usr/share/doc/recover/README.ext2only
WARRANTY
There is no warranty.
SEE ALSO
debugfs (8)
AUTHOR
Tom Pycke (Tom.Pycke@advalvas.be)
WEBSITE
http://users.linuxbox.com/~recover
November 4 1999 RECOVER(1)