![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| find and replace command in one line using one command | vasikaran | UNIX for Dummies Questions & Answers | 10 | 08-20-2008 07:40 AM |
| how to? launch command with string of command line options | TinCanFury | Shell Programming and Scripting | 5 | 04-28-2008 03:06 PM |
| Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" | Lokesha | UNIX for Dummies Questions & Answers | 4 | 12-19-2007 10:52 PM |
| Explain the output of the command.... | wickbc | UNIX for Dummies Questions & Answers | 1 | 11-08-2007 12:18 PM |
| explain command plz | maoro | UNIX for Dummies Questions & Answers | 2 | 05-08-2007 01:51 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
Please explain this command line ?
wc<infile<newfile Thanx, Saneesh Joseph. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Hi vino,
This is not a duplicate post.. Both are two different command lines. Thanx and Regards, Saneesh Joseph |
|
#3
|
||||
|
||||
|
Quote:
It is the same as wc <newfile or wc newfile Code:
[/tmp]$ cat infile
abc
def
ghi
[/tmp]$ cat newfile
123
456
789
asd
fgh
jkl
[/tmp]$ wc <newfile
6 6 24
[/tmp]$ wc <infile
3 3 12
[/tmp]$ wc <newfile <infile
3 3 12
[/tmp]$ wc newfile infile
6 6 24 newfile
3 3 12 infile
9 9 36 total
[/tmp]$
|
||||
| Google The UNIX and Linux Forums |