menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Register
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
Which command would you use in a script to parse out entries that contain the word "those" from a file named config in a folder named "diet" beneath the /etc directory?
asked
May 2, 2018
184k
views
4
votes
Which command would you use in a script to parse out entries that contain the word "those" from a file named config in a folder named "diet" beneath the /etc directory?
Computers and Technology
college
Sam Purcell
asked
by
Sam Purcell
7.5k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
1
vote
I would use the grep command on the path /etc/diet/config and pass in the word "those" as an argument in order to print out all the lines that have that word in them.
Nate Norris
answered
May 7, 2018
by
Nate Norris
8.1k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.5m
questions
12.2m
answers
Other Questions
“What does it mean when we “rework” copyrighted material?”
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
describe an advance in technology that makes life more enjoyable. what discoveries contribute to this technology?
Disadvantages of using animation in advertising? advantages and disadvantages of using animation for education? advantages and disadvantages of using animation in entertainment?
What is an example of a dedicated computer system?
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org