Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Write a grep (or grep) command that selects the lines from
a file that have exactly three characters.

Answer Posted / usama el far

grep -n root /etc/passwd|cut -f1 -d:

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the nmap command?

1239


What is pipe command in unix?

1362


What does the “echo” command do?

1195


Why is shebang used?

1192


How do you grep a case insensitive?

1112


What is the first character of the output in ls l command?

1262


Differentiate cat command from more command.

1205


Why is awk called awk?

1136


What does the command '$ls | wc –l > file1' do?

1299


Explain command to display different lines that are found when compare two files?

1221


What is time_t?

1163


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

1324


What are the differences among a system call, a library function, and a unix command?

1273


What does find command return in unix?

1202


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

1357