Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Redirect input to a command
Name: lei_michelle Date: October 9, 2008 at 10:18:40 Pacific OS: Solaris 10 CPU/Ram: intel Product: SUN
Comment:
Hi All,
I want to redirect the username and the password as two inputs to a UNIX command from a file (the UNIX command prompts for username and password before proceeding). However, I cannot get it to work. The UNIX command still stops at the password prompt. The contents of the input file I used is like below:
Summary: Hi, I have a text file having names of some folders which are dynamically gengerated in it. Now i want to pass these folder names one by one to a command written by me. How can go about it? ...
Summary: I know, the question is a bit vague .. but I have the following problem have this DOS .cmf file, which calls some Java code, an this Java code asks some runtime questions .. now, normally, with regula...
Summary: Dear all, I need help. Is there a way to redirect command output to variable. An output is a text string and has space bar. Example is file a.txt has a content "AB CD EF" Can I type a.txt and reire...