Command linux help

Hi gurus!
This may be a silly question, but since i have googled and i still cant find a solution i come to you.
My problem is that i need no find in different directories .ear files (find . -name *.ear) and with the output (or somehow) i need to visualize the date of all of them ...
Any suggestions pleaseeeee?
Thank you all in advance ^_^
OS: SunOS xxxxxxx 5.10 Generic_142900-02 sun4u sparc SUNW,SPARC-Enterprise

Dude wrote:
Would it be enough to extend your find command to perform a full listing on the items found? For instance:
find ./ -name "*.ear" -exec ls -l {} \;
Optimized:
find ./ -name "*.ear" -ls

Similar Messages

  • I just got the iphone 4s and i cant figure out how to get siri to work it seems to be the old voice command. HELP!

    i just got the iphone 4s and i cant figure out how to get siri to work it seems to be the old voice command. HELP!

    Did you enable Siri in settings?
    Settings > General > Siri > ON
    If Siri is off, all you get when pressing the home button for 1 second is the old Voice Control.

  • Invoking SQL Loader from linux - Help Needed

    Hi All,
    When i tried to invoke the sql loader from linux by using following command
    sqlldr username@server/password control=loader.ctl
    But its always throws this message
    Message 2100 not found; No message file for product=RDBMS, facility=ULMessage 2100 not found; No message file for product=RDBMS, facility=UL
    Can somebody help me to fix this issue?

    You may need to set your Oracle environment, try this ($ is the command prompt):
    $ export ORACLE_SID=orcl
    $ . /usr/local/bin/oraenv
    $ sqlldr username@server/password control=loader.ctl:p

  • DUAL BOOT windows 7 and linux HELP

    MASTERS
    im planing to have windows 7 and linux at the same time (DUAL BOOT)
    but i dont know if one key recovery still works after installation
    ihave lenovo g560
    i3 @ 2.53
    4gb ram
    any advice guys?

    hi botards01,
    If you're planning to use linux occasionally (Ubuntu for example) and you don't want to risk losing the One Key Recovery functionality, try to install Ubuntu via Wubi as this doesn't repartition your HDD but creates a virtual disk on your current OS.
    Check it out - Install Ubuntu in Windows With Wubi
    Hope this helps
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • URGENT!! problems with Unix command, please help

    I am trying to use the following Unix command and I keep getting error messaages from stdError. However if I run the same command from the command line it works perfectly. For some reason when I run the command from inside the program it thinks the append symbol ">>" is another file.
    String command = " cat /users/02/wjoc1/Test/list.mod >> /users/02/wjoc1/Test/Blacklist ";
    Process p = Runtime.getRuntime().exec(command);
    The error get is :
    /bin/cat: >>: No such file or directory
    Any help would be greatly appreciated

    The better solution for this problem is write a shell script for the action you wnat to perform and execute it using the runtime.exec().In your case just cut and paste cat /users/02/wjoc1/Test/list.mod >> /users/02/wjoc1/Test/Blacklist in to a file and save it. use that file as a argument for the exec method it will work.
    cheers
    R.Karuna

  • Indesign CS3 Data Merge "Merge Records" Command. Help?

    I'm looking to automate the merging of a mountain of records. I have 587 tab-delimited text files with 40 records each. I want to process these via Data Merge using a single pre-designed template with built-in placeholders and variable data fields, including a variable barcode graphic. In the end, I want to create 704 multi-page, 6-up per page, indesign files with merged data, and 704 multi-page PDFs.
    Here's where I am at. Using a combination of AppleScript, TextWrangler and InDesign CS3, I am able to set up a loop where I can open the single template, save it to a new file with a new name, change its data source to the appropriate text file, and as a test, make a PDF of the template using the correct export preset. What I cannot seem to do is get the template to perform a "Create Merged Document...".
    In InDesign CS3's AppleScript dictionary there is a command called "Merge Records" under the Data Merge section. It appears to do exactly what I am after. But when I try to use it (and the good Lord knows I have tried numerous permutations), it only returns errors like "Adobe InDesign CS3 got an error: active document doesn't understand the merge records message."
    Anyone know what I am doing wrong? I have set up a separate AppleScript for testing purposes that opens up the template, saves it under a new name, and attempts a "merge records" command. Here it is. Maybe someone smart out there can tell me what I am doing wrong.
    set templatePath to "Welch_Jobs:0_JOBS:280019_Churchill:WPC FILES:Workup:280019_6up_master template.indt" as text -- the main template file that will be modified, saved with a new name, then merged with its data to create a new merge file
    set newTemppath to "Welch_Jobs:0_JOBS:280019_Churchill:WPC FILES:Workup:goody.indd" as text
    tell application "Adobe InDesign CS3"
    open file templatePath
    tell active document
    save to newTemppath
    merge records
    end tell
    end tell
    I have this feeling that this is a command that is actually unsupported. Google searches have been fruitless except for one poor soul who can't get it to work either. I have, however, seen that a similar JavaScript command exists called "DataMerge.mergeRecords". If it is impossible to do this via AppleScript, is it possible to make a JavaScript that will do it, and access the JavaScript with a "do script" command in the main AppleScript? If so, how would I accomplish this? What whould the JavaScript look like, and where do i need to put it?
    I would greatly appreciate any help you, dear reader, can give me on this.

    Well, did you look at the dictionary?:
    merge recordsv : Merges records and produces an optional overset report.
      merge records
    data merge
        output overset report file alias or
    text] : The path to the file in which to store the overset report.
    Note also that it's part of the Preferences Suite, not the Datamerge suite. Do you see differently?
    Anyhow, you're clearly not calling it with a data merge parameter.
    I also have a suspicion that it needs to not be inside a "tell active document" but it probably doesn't matter.
    But my AppleScript is rusty.

  • Error in using the command "loadjava"(help me !)

    When I use "loadjava" command to load the sample source code of
    XML SQL Utility for Java,the errors as below:
    C:>loadjava -u system/manager -v -r -t samp1.java
    internal error:unanticipated
    exeption:java.lang.NoClassDefFoundError:
    oracle/aurora/sqljdecl/SqljDecl
    java.lang.NoClassDefFoundError:
    oracle/aurora/sqljdecl/SqljDecl
    at oracle.aurora.server.tools.SourceFileReader.getScanner
    (SourceFileReader.java:52)
    at oracle.aurora.server.tools.SourceFileReader.getFirstName
    (SourceFileReader.java:61)
    at oracle.aurora.server.tools.LoadJava.processLoadAndCreate
    (LoadJava.java:1094)
    at oracle.aurora.server.tools.LoadJava.process
    (LoadJava.java:1021)
    at oracle.aurora.server.tools.LoadJavaMain.run
    (LoadJavaMain.java:193)
    at oracle.aurora.server.tools.LoadJavaMain.main
    (LoadJavaMain.java:49)resolvers:
    loadjava :1 errors
    C:>
    I looked for the class "oracle/aurora/sqljdecl/SqljDecl"
    by executing the SQL query as below:
    "select object_name from user_objects
    where object_name like oracle%"
    But I found only "oracle/aurora/sqljdecl/Token".
    Maybe my envirenment have some errors(I get Oracle8i from
    oracle's home by downloading)
    I can't find out the reason.This matter have troubled me for a
    long time.
    Does anyone know the reason?please tell me.thanks a lot.
    null

    plz help me !!!!!

  • Info Spoke - Process Chain - OS Command usage help

    I am new to BW. My requirement is to extract the master data off of BW data targets on a weekly basis and ftp the files onto a different server.
    To meet this requirement, I am planning to create InfoSpoke(s), put it in a Process chain and using the OS Command ftp the files to different server.
    Is this the right way to do it or are there any better ways? If it is, I need help on where to give the target server name, user_id and PSW in the OS Command variant of Process Chain.
    Also, is it possible to schedule a Infospoke directly from the scheduler (Auotsys...) and still execute weekly/monthly?
    Thanks for your help in advance
    RK

    That's correct.  You'll define the command under the general services tab in the process chain transaction (It's labeled OS Command and is a silver circle thing with a blue dot in it).
    When you drag it into the process chain it will ask for a varient.  In the System Command field for this varient is where you'll define the actual command. (little pencil button next to it).  At this point you can call a script that does the copy or call an actual command that does the copy. 
    Might be easier to control with a script that does the work but if you want to call rcp/scp, the os command will be rcp and parameters will be the filename, etc.  If it's a script then you'll just enter the name of the script in the os command field.
    Hope this helps.
    -bill

  • "zip" Terminal command no help fixing corrupt zip file; any other workarounds?

    I downloaded a ".zip" file containing some files that I need to access.
    When I double-click on it, I get the "Unable to unarchive 'xyz.zip' into '[foldername].' ( Error 1 - Operation not permitted )" message, which many people report when they try to open a corrupt zip file.
    I also tried opening the file with "StuffIt Expander," "Archive Utility," and "The Unarchiver," as well as some specialty zip-compression programs, but none were successful.
    I then installed the very useful "Archive.qlgenerator" plugin (http://homepage.mac.com/xdd/software/archive/) which allowed me to at least see inside the zip file using OSX's "QuickLook" feature. Lo and behold, all the files that were supposed to be in the zip file are indeed in there, as they should be. The problem is not that the zip file is empty, the problem is that it has become corrupted somehow.
    So, what I need to do is either "fix" the corrupted zip file, or alternately find some way to extract the needed files using brute force.
    Following tips given on various forums, I tried using OSX's "zip" command in terminal (http://homepage.mac.com/kelleherk/iblog/C1901548470/E731143104/index.html and http://hintsforums.macworld.com/showthread.php?t=132146). I was able to use it properly, but unfortunately neither the "-F" nor the "-FF" commands were of any helping in "fixing" the zip file. The "-F" command incorrectly said that the zip file was empty and that there was nothing to fix; the stronger "-FF" command came back with
    Could not find:
      xzy.z01
    Hit c      (change path to where this split file is)
        s      (skip this split)
        q      (abort archive - quit)
        e      (end this archive - no more splits)
        z      (look for .zip split - the last split)
    or ENTER  (try reading this split again):
    ...but none of the options produced any result. Pressing "z" gave me
    Could not find or open
      xyz.zip
    ...which means that even "-FF" could not get past whatever problem had corrupted the file.
    So: is there any built-in way for Mac OSX to fix or extract the contents of a zip file corrupted like this?
    Alternately, is there any third-party shareware or freeware that will do the trick?
    (I don't want to have to spend big $$$ on a commercial program since all I need to do is open a single zip file. And there is no way to contact the zip file's original creator, so I can't download an uncorrupted version.)
    Any help would be greatly appreciated.

    Mark:
    When I try your first suggestion in Terminal ("unzip -t /path/to/file"), I get this message:
    Archive:  /xyz.zip
      End-of-central-directory signature not found.  Either this file is not
      a zipfile, or it constitutes one disk of a multi-part archive.  In the
      latter case the central directory and zipfile comment will be found on
      the last disk(s) of this archive.
    unzip:  cannot find zipfile directory in one of /xyz.zip or
            /xyz.zip.zip, and cannot find /xyz.zip.ZIP, period.
    When I try your second suggestion ("unzip -l /path/to/file"), I get the exact same error message. (And yes, I am fixing "/path/to/file" to be the correct path to the actual file).
    And no, it is not really part of a multi-part archive. (Or at least it wasn't supposed to be; only one zip file is available, and there was only supposed to one.) Perhaps the zip was mis-encoded in the first place, so that the person who created it accidentally did something wrong which the unzip applications are interpreting as this file being part of a multi-part archive; but even so, all I have is this one file, so I need to fix it as is, or extract its contents as is, since I have no way to contact the original creator to do it right this time.

  • STILL trying to get Oracle to work on linux -- HELP!!

    Hi all-- a dumb newbie problem if I may:
    I have Oracle 8.0.5 installed now on Linux (RH5.2).. As per the
    install instructions, I created a file /etc/rc.d/init.d/dbora
    containing the following:
    # Set ORA_HOME to be equivalent to the ORACLE_HOME
    # from which you wish to execute dbstart and
    # dbshut
    # set ORA_OWNER to the user id of the owner of the
    # Oracle database in ORA_HOME
    ORA_HOME=/home/oracle/8.0.5.0.0
    ORA_OWNER=oracle
    if [! -f $ORA_HOME/bin/dbstart -o ! -d $ORA_HOME]
    then
    echo "Oracle startup: cannot start"
    exit
    fi
    case "$1" in
    'start')
    # Start the Oracle databases:
    su - $ORA_OWNER -c $ORA_HOME/bin/dbstart &
    'stop')
    # Stop the Oracle databases:
    su - $ORA_OWNER -c $ORA_HOME/bin/dbshut &
    esac
    In the instructions, it then says:
    5) Link dbora by entering:
    # ln -s /etc/rc.d/init.d/dbora /etc/rc0.d/K10dbora
    # ln -s /etc/rc.d/init.d/dbora /etc/rc2.d/S99dbora
    .. this is where I am assuming it is set so that this dbora gets
    executed on system boot.. correct?
    Anyway, it doesn't work. First of all, I am logged in as root.
    Second of all, I am assuming the # signs in there are a mistake
    since they are comments in the bash shell. Third of all, if I
    just try:
    ln -s /etc/rc.d/init.d/dbora /etc/rc0.d/K10dbora
    It returns an error saying:
    ln: cannot create symbolic link `/etc/rc0.d/K10dbora' to
    '/etc/rc.d/init.d/dbora': No such file or directory
    So, I tried a 'ls /etc/rc*' and I got:
    init.d rc.local rc.sysinit rc1.d rc3.d rc5.d
    rc rc.news rc0.d rc2.d rc4.d rc6.d
    ... so, rc0.d IS there... so, THEN I tried: ls /etc/rc0.d and
    got:
    ls: /etc/rc0.d: No such file or directory
    huh?? why won't this work? does it or doesn't it exist?
    Thanks for any help.
    null

    A very obnoxious feature of ls in many UNIXes is that
    'ls foo*' will show you the contents of the
    subdirectory that matches foo* without reminding you that
    the file names you are seeing displayed are NOT in your
    current directory but, rather, in some subdirectory whose
    name happens to begin with foo (you have NO IDEA, precisely,
    WHICH directory contents you are seeing.)
    For example, in RedHat 5.2, do the following:
    cd /etc
    ls pp*
    What you will (probabably) see displayed APPEARS to be a
    list of files in /etc:
    chap-secrets ip-down ip-up options pap-secrets
    What, IN FACT, you are seeing are files in /etc/ppp.
    One way to avoid this confusion is to use the -d option to ls.
    'ls -dl pp*' will display one line, showing you the existence
    of the directory ppp within /etc, rather than its contents.
    As an exercise, also try doing: ls -dF /etc/p*
    And, don't forget to thourougly read: man ls
    Continuing to the specific problem at hand...
    Derek Bumpas (guest) wrote:
    : ln: cannot create symbolic link `/etc/rc0.d/K10dbora' to
    : '/etc/rc.d/init.d/dbora': No such file or directory
    : So, I tried a 'ls /etc/rc*' and I got:
    : init.d rc.local rc.sysinit rc1.d rc3.d rc5.d
    : rc rc.news rc0.d rc2.d rc4.d rc6.d
    : ... so, rc0.d IS there... so, THEN I tried: ls /etc/rc0.d and
    : got:
    : ls: /etc/rc0.d: No such file or directory
    : huh?? why won't this work? does it or doesn't it exist?
    : Thanks for any help.
    The problem here is [email protected] thinking that ls /etc/rc*
    was showing him files in /etc. This was not the case. Rather,
    ls /etc/rc* was showing him a list of file names in /etc/rc.d
    and rc0.d in in /etc/rc.d, not in /etc.
    This further implies that the Oracle instructions (as quoted by
    [email protected]) are incorrect. Instead of:
    ln -s /etc/rc.d/init.d/dbora /etc/rc0.d/K10dbora
    On should instead do:
    ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc0.d/K10dbora
    (and similarly for other startups)
    (at least this is how the file system on my RedHat 5.2 is
    structured -- your milage may vary -- another somewhat
    annoying issue with the different UNIXes -- but they all
    still make NT amd its registry nonsense look silly)
    Cheers,
    Dennis
    http://oceanpark.com
    null

  • Enterting File to be used at the command line (help!)

    I have this code which works on by loading a .txt which hold a matrix of numbers and doing some maths and the like on it. the problem with this is that it is limited to only being able to read from that one file. i would like to make it possible to enter the name of the .txt file at the command line when running the program
    e.g java FlatCost costs.txt
    heres the code so far (it works).
    import java.io.*;
    import java.util.Vector;
    public class FlatCost
        public static void main(String[] args) throws IOException    {       
            FileInputStream stream = new FileInputStream("costs.txt");
            InputStreamReader reader = new InputStreamReader(stream);       
            StreamTokenizer tokens = new StreamTokenizer(reader);       
            Vector v = new Vector();
            while(tokens.nextToken() != tokens.TT_EOF)        {           
                v.add(new Integer((int) tokens.nval));
                System.out.println(new Integer((int) tokens.nval));        }       
            System.out.println("Enter floor number: ");       
            BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
            String line1 = in.readLine();
            int x = Integer.parseInt(line1);
            if(x > 3) System.out.println("Sorry, out of range");
            System.out.println("Enter no. rooms: ");       
            String line2 = in.readLine();          
            int y = Integer.parseInt(line2);
            if(y > 2) System.out.println("Sorry, out of range");
            int numFloors = v.size()/4;               
            int dest = ((x*4) + y + 1);
            System.out.println("PRICE: " + v.get(dest));   
    }Please help because i dont know how to do it
    Carl

    That's right... specificallyFileInputStream
    stream = new FileInputStream(args[0]);
    Also don't forget make sure the argument was supplied. Otherwise you'll get a runtime array out of bounds.
       if (args.length < 1) {
          System.out.println("Usage: java FlatCost filename");
          System.out.println("   eg: java FlatCost costs.txt");
          // exit or supply default file
       }

  • Problem in calling rsh command Please help......

    hi,
    I want to execute some commands on unix through java, for this i want to run my program simulataneously on differnt machines so that i get data to compare.
    I think i have to invoke the rsh command with the machine name for it but it is giving error as follows:
    java.io.IOException: rsh eric52: not found
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:71)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:582)
    at java.lang.Runtime.exec(Runtime.java:505)
    at java.lang.Runtime.exec(Runtime.java:471)
    at RunCommand.get(RunCommand.java:18)
    at RunCommand.main(RunCommand.java:80)
    what should i do?
    How do i run a command on a remote machine?
    Please help me

    Well you could always get your programs to talk to each other via RMI (for example)
    Otherwise I would script this using ant and use ssh since rsh is insecure.
    http://ant.apache.org/manual/OptionalTasks/sshexec.html

  • Command object help

    Hi All,
    I have a report having command object like this.My back end is MYSQL.
    I am not getting data in designer with below query
    SELECT * FROM clock_time WHERE STR_TO_DATE(DATE_FORMAT(clock_time,'%d-%m-%Y %H:%i'),'%d-%m-%Y %H:%i')= DATE_FORMAT('2014-06-19 11:03:43','%d-%m-%Y %H:%i')
    What is the mistake I am doing .
    Please help.

    Hi Divya,
    Does the same command work on the database when run via the database client?
    See if this works:
    SELECT * FROM clock_time WHERE DATE_FORMAT(clock_time,'%d-%m-%Y %H:%i') = Str_To_Date('19-06-2014 11:03','%d-%m-%Y %H:%i')
    -Abhilash

  • Command query & help

    dear all .,
    can any one tell how can i query and get help of any command
    that i want to see like i need to know all the commands started
    with ALTER DATABASE for example .,
    thanks
    [email protected]
    [email protected]

    Hi,
    Refer to SQL Reference section in Oracle Documentation . it
    gives complete options of all commands.
    also if you have Oracle DBA Handbook (by kevin loney)you can
    find full description of this command at the refernce section,
    if you don't have this book, it is better you get one.
    Vadivel

  • Portal Server 7.2 on Windows XP,  fail to run "setup.bat" command, plz help

    Hi all,
    I want to install Java System Portal Server 7.2 on Windows.
    I hava unzip the file to C:/ drive.
    but when I run the command "setup.bat", it returned failure " Webcontainer Ports are unavailable"
    Here is the error message:
    Buildfile: C:\PS7.2\share\psrepo\auto\ant\Migrate-Host.xml
    init:
    set-wc-props:
    setprops:
    change:
    init:
    set-wc-props:
    setprops:
    validate-platform:
    [echo] Using [localhost] as the FQDN Hostname
    [input] Continue? : (y, [n])
    y
    [echo] Checking for Port conflicts
    init:
    set-wc-props:
    checkports:
    init:
    set-wc-props:
    check-wc-port:
    [echo] Checking Webcontainer Port Conflicts...
    [echo] Ports: 8080 / 8181
    [echo] Ports: 3700 / 4848
    BUILD FAILED
    C:\PS7.2\share\psrepo\auto\ant\Migrate-Host.xml:56: The following error occurred
    while executing this line:
    C:\PS7.2\share\psrepo\auto\ant\Env.xml:216: The following error occurred while e
    xecuting this line:
    C:\PS7.2\share\psrepo\auto\ant\Env.xml:171: Webcontainer Ports are unavailable
    did i do anything wrong?
    plz help! Thx!

    Please try the following:
    1] C:\PS7.2\bin\stopportal.bat
    2] Remove C:\PS7.2
    3] Unzip from the downloaded zip file at C:\PS7.2
    4] Edit C:\PS7.2\share\psrepo\auto\ant\Migrate-Host.xml and comment out the antcall for target checkports. Diff shown below
    5] Turn off any Firewalls
    6] Execute C:\PS7.2\bin\setup.bat
    7] Report any issue you might have observed. This will help me help you further.
    Index: Migrate-Host.xml
    ===================================================================
    --- Migrate-Host.xml     (revision 2806)
    +++ Migrate-Host.xml     (working copy)
    @@ -53,7 +53,7 @@
             <record name="${ps.data.location}/logs/setup.log" action="start"/>
             <!-- Check for port conflicts before setting up -->
             <echo message="Checking for Port conflicts"/>
    -        <antcall target="checkports"/>
    +        <!-- <antcall target="checkports"/> -->
             <!-- Update the pattens file which is used to token replace strings -->
             <replace file="${backup.location}/patterns" token="@@NEWHOSTFQDN@@" value="${hostname.domain}"/>
             <replace file="${backup.location}/patterns" token="@@NEWHOSTDOMAIN@@" value="${domain}"/>thanks,
    _raju                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Field not displaying in ALV??

    Hi Experts, I am enhancing(just addition of one field to the existing alv display) the existing ALV report i.e. exisiting_alv So, first, I copied the code by giving the target prog. name i.e. new_alv. So, I started the follwoing changes in new_alv co

  • Windows 8.1 and Desktop IE11 | Youtube fullscreen mode crashing on Flashplayer

    Hello I have problem with flashplayer on desktop IE11. When i try to toogle between normal size mode video on youtube to fullscreen my IE11 crash on flashplayer problem. I have flashplayer add-on enabled and ActiveX filtering too.  And even your webs

  • Photos in iphoto don't exist anymore

    My photos in one event come up, but when I click on them, it comes up with a black screen and a big exclamation mark . How can I get my photos back? Please help!!

  • Set PDF Document Properties Initial View by Acrobat SDK with C#

    Hi, Here am trying to set the PDF document initial view by the Acrobat SDK with C#. Here I am show my screen shot which properties I want to set. For this process I am referred Acrobat SDK and also following Adobe forums they also asked similar quest

  • Can't update Lumia 620

    I have Preview for Developers installed which updated me to 8.1.  Now I'd like to revert so I can use the regular update process.  I'm tried the Nokia Recovery Tool, which downloaded the update file, but then claims a 0x80131500 error and that the ph