User Profile

Collapse

Profile Sidebar

Collapse
Varun Gupta
Varun Gupta
Last Activity: Aug 31 '07, 07:53 AM
Joined: Feb 27 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Varun Gupta
    started a topic Whats wrong in this Script ???

    Whats wrong in this Script ???

    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...
    See more | Go to post

  • Varun Gupta
    replied to Linux and Windows on the same machine
    Oh ..yes ofcourse !
    Create different disks partitions on the hardisk and then install the different O.S.
    on different partitions....
    See more | Go to post

    Leave a comment:


  • -------------------------------------
    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 !!...
    See more | Go to post

    Leave a comment:


  • Varun Gupta
    replied to Program terminated with signal 10
    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...
    See more | Go to post

    Leave a comment:


  • Could you refine the problem more ??

    Thnkx !
    See more | Go to post

    Leave a comment:


  • Varun Gupta
    started a topic Windows accessing Unix/Linux !

    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 ? ...
    See more | Go to post

  • Varun Gupta
    replied to What is wrong with my shell script ?
    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. ?
    See more | Go to post

    Leave a comment:


  • Varun Gupta
    replied to How to SORT a large XML file?
    ---------------------------------------
    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.....
    See more | Go to post

    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...
    See more | Go to post

    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.)...
    See more | Go to post

    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.
    ...
    See more | Go to post

    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 .!!
    See more | Go to post

  • Varun Gupta
    started a topic sql procedure/ DB2 Procedure...in UNIX Script

    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.
    See more | Go to post
No activity results to display
Show More
Working...