PATH="/clocal/mqbrkrs/user/mqsiadm/sanjay/"
MAIL_RECIPIENTS ="rb903@dcx.com "
Subject="File accessed in last minutes:"
find "$PATH" -type f -amin -1 > temp.txt.$$
cat temp.txt.$$ | \
while read line
do
fuser -uV $line >> tempmail.txt
done
cat "$tempmail. txt" | mailx -s "$Subject" $MAIL_RECIPIENT S...
User Profile
Collapse
-
Whats wrong in this Script ???
-
Oh ..yes ofcourse !
Create different disks partitions on the hardisk and then install the different O.S.
on different partitions.... -
-------------------------------------
hey newbie...
there are few links ..
www.ee.surrey.a c.uk/Teaching/Unix/
www.unixtools.c om/tutorials.html
hope you'll learn ...
post queries for help whenever you stuck somewhere !!...Leave a comment:
-
hey
"Coredump" error generally occures when address is not resolved.
for example when in scanf( ) in C, you don't put & before the variable while reading the value from console, then it terminates abnormally and gives core dump error.
Similarly might be something wrong in C code. Do checkit again.
Otherwise while creating batch in might have give something unacceptable.
Please send the detailed...Leave a comment:
-
-
Windows accessing Unix/Linux !
Hi all,
Can any body guide me how to get access of the linux partitions through windows.
As we used to access windows partitions in linux in terms of hda1, hda5....so on.
where the hda1, hda5 ...are the partitions made on the hardisk in windows., and these are well accessed through linux or unix , by using mount command.
So the basic Q is how do we access linux/unix partitions from windows ? ... -
ya there is a space expected just before ]
and what you are trying to do with "exit 0" within the while loop, without some condition. Does it work as you desire. ?Leave a comment:
-
---------------------------------------
Hi
You can store XML files in flat files in unix , extension hardly means in unix becoz unix treates all the devices and folders as files. but then type of file could differ.
To sort file you can use sort command OR for sort on the basis of particular patterns in that file you better can use sed / awk commands.
sed 'script' filename
where script contains.....Leave a comment:
-
---------------------------------------------------------------------
Is this only to be done ? Unix will deduct db2 through this or should we do some modifications with PATH ?
What happens when stored proc. returns a set of records ? Where those will go ?
If I want to display those filtered records in Unix then what is to be done ?
That means how the communication is to be maintained between Unix and database...Leave a comment:
-
-----------------------------
thanks for clement piece of advice..
could you please tell to call sql procedure through unix.....whatev er ways are !
Any no. of ways....I would accepts !
Thanks for sharing knowledge. !!
I am looking for the link that you have provided. (thanks for that.)...Leave a comment:
-
---------------------------------------------------------------------------------------------
First of all thanks for the reply...
Ya I want to use command line tool...that'll call some stored proc. with some parameters, and the call should be made from script.
Do you have any idea of that...plz let me know.
Let me know what are the other ways to call stored procs. of sql/db2 through unix shell scripts.
...Leave a comment:
-
Calling stored proc. through Unix Shell scripts. !
Hi All,
can anybody let me know the steps how to call the stored proceedure that is developed in db2 or sql, into unix shell script.
Point: Stored proc. may or may not have parameters.
Point: Stored proc. may or may not return anything.
Thanks in Advance .!! -
sql procedure/ DB2 Procedure...in UNIX Script
Hi All,
can anybody let me know the steps how to call the stored proceedure that is developed in db2 or sql, into unix shell script.
Point: Stored proc. may or may not have parameters.
Point: Stored proc. may or may not return anything.
No activity results to display
Show More
Leave a comment: