Following is the content of the file "oscars.txt".

Christoph Waltz:2012

Christoph Plummer:2011

Jared Leto:2013

Christian Bale: 2010

Christoph Waltz:2009

Heath Ledger: 2008

Choose the command that would display the names of the winners from the year 2010 to 2012.

cat oscars.txt | grep "201" | cut -d ":" -f1

grep "2010-2012" oscars.txt | cut -d ":" -f1,2

cat oscars.txt | grep "201[0-2]"| cut -d ":" -f1

cat oscars.txt | grep "201[0-3]" | cut -d ":" -f1

Verified Answer
Correct Option - c

To get all Self Assessment - Introduction to Unix Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram

We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.

Qtr No. 213, New Town Yehlanka Indore 454775

admin@prepflix.in

Updated on Thu, 11 Dec 2025