Interview Question

Interview Bellevue, WA

Scan a file and count how many lines contain the world

  "something". Write in 3 programming languages.
Answer

Interview Answer

1 Answer

0

cat "filename" | grep something | wc -l

yokoyvonne on Jan 3, 2012

Add Answers or Comments

To comment on this, Sign In or Sign Up.