Question about input file from terminal

Discussion in 'Java' started by Junior, Oct 2, 2004.

  1. Junior

    Junior Guest

    hi,

    i am new to java and i kinda stuck how to get input from the terminal
    for example :

    java < input.txt

    how can i do it ?

    thanks

    Jerry
     
    Junior, Oct 2, 2004
    #1
    1. Advertising

  2. On Fri, 01 Oct 2004 21:37:10 -0700, Junior wrote:

    > hi,
    >
    > i am new to java


    Most people who are new to Java probably would get better responses in
    comp.lang.java.help .

    > and i kinda stuck how to get input from the terminal for example :
    >
    > java < input.txt
    >
    > how can i do it ?
    >
    > thanks
    >
    > Jerry


    That's an operating system issue not specific to java.

    System.in is where you should start your search.

    HTH,
    La'ie Techie
     
    =?UTF-8?b?TMSByrtpZSBUZWNoaWU=?=, Oct 2, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. davinci
    Replies:
    6
    Views:
    371
    Howard
    Sep 8, 2005
  2. Replies:
    6
    Views:
    374
  3. gaurav kashyap
    Replies:
    3
    Views:
    6,664
    Paul Boddie
    Oct 31, 2008
  4. Chris Rebert

    Re: Password input in console/terminal

    Chris Rebert, Dec 9, 2008, in forum: Python
    Replies:
    1
    Views:
    323
    cadmuxe
    Dec 9, 2008
  5. Steve
    Replies:
    2
    Views:
    941
    edicionsdigitals.com edicions digitals xarxa socia
    Dec 7, 2010
Loading...

Share This Page