I recently checked the output from one of my backup tapes
# tar -tvf /dev/rmt0
tar: directory checksum error (6 != 24439)
The files wont restore , what does this mean ? on aix.
Thanks (3 Replies)
How would I go about an error check within a script. For example, if I have a script that I know might contain an error with a certain command, is there a way to give an alternate command if the first fails?
The best way I can explain it, is from the Mac world, using Applescript. With AS, I can... (1 Reply)
I have below script to check the word in the driectory /ora_tmp , there are many files in this directory , if the word "error" is exist in any file within 5 day , then send the mail to ora-usr@mydomain.com about which file have this word and the "error" statement , now , if I want
1. if there... (2 Replies)
If I have a script createdb.sh
...
psql -U postgres -c "create database dbname"
...
I want to write something like
if IsErr(psql -U postgres -c "create database dbname")
ehco "OK"
else
ehco "NOT OK"
Thank for any reply first (3 Replies)
Hi,
Is there any way to check the error in heredoc?
Code:
/export/opt/SCssh/3.7.1_C0/bin/sftp -B - csi@192.168.1.100 <<FTP
lcd /WEBSERVER_LINK/data_logs/
ls pub/csidata/GeneralAppFields_8_1_Feed.out
get pub/csidata/GeneralAppFields_8_1_Feed.out
quit
FTP
Now I want to check... (1 Reply)
How can I add a check right after the FTP to see if the login id failed or not and echo an error description indicating login failed?
Here is my script:
ftp $HOST1 <<END_SCRIPT>>$TARGETLOGS/$LOGFILE
#ftp $HOST1 <<END_SCRIPT>
cd idx
prompt
mget $PICKUPFILE*.txt
!cp $PICKUPFILE*... (17 Replies)
i have several lv (data , data1 , data2) under same volume group,
i just want to test 1 lv for data errors is that possible?
this test all sdc disk , but i just want to test lv_data
smartctl -a /dev/sdc
because lv_data2 is corrupt , but i don't know if this lv uses sdc disk (1 Reply)
I have a script is as below , if the output of the script is 0 , then echo abc .
script1
if ]; then
echo abc
fi
Can advise if I would like to change it , check the output , if the output only have the wold "0" , then echo abc , if the output have other word , then do nothing , can... (3 Replies)
Discussion started by: ust3
3 Replies
LEARN ABOUT DEBIAN
dradio-config
DRADIO-CONFIG(1) DRadio Manuals DRADIO-CONFIG(1)NAME
dradio-config - generate dradio configuration
SYNOPSIS
dradio-config [--rss]
DESCRIPTION
dradio-config is a script to help keep the dradio menu list configuration ~/.config/dradio/menu.xml up-to-date. It relies on curl, tidy,
and xsltproc to screen scrape the DR streams and podcasts pages, and outputs the resulting XML on stdout.
Invoke it as, e.g.
dradio-config > radio.xml
dradio-config --rss > podcast.xml
FILES
~/.config/dradio/menu.xml
The menu configuration file. See dradio(5) for further details.
http://www.dr.dk/netradio/wmp.asp
DR netradio direct links page.
http://www.dr.dk/Podcast
DR podcast direct links page.
AUTHOR
Jess Thrysoee <jess@thrysoee.dk>
SEE ALSO dradio(5), dradio(1), curl(1)tidy(1)xsltproc(1)DRadio AUGUST 2009 DRADIO-CONFIG(1)