Sollicitatievraag

Sollicitatiegesprek voor de functie Systems Engineer/Python Developer

-

Hudson River Trading

How would you triage and go about fixing infrastructure problems? Giving an input file, get the number of lines matching a specific piece of text using bash scripting. Give the percentage of lines in the file that match that string.

Antwoord

Antwoorden op sollicitatievragen

3 antwoorden

1

1.) I said hard to tell because that is a very vague question. 2.) Use grep and awk and wc. 3.) Use the above plus "bc" to calculate percentage.

Anoniem op

0

for: 2.) Use grep and awk and wc. I believe grep + uniq + wc would be better and simpler, right?

Anoniem op

0

for: 2.) Use grep and awk and wc. 'grep -c' is enough

Anoniem op

Voeg antwoorden of opmerkingen toe

Meld u aan of registreer u om hier een opmerking over te maken.