Which grep command will print only the lines that do not end with a / in the file foo?
A) grep '/$' foo
B) grep '/#' foo
C) grep -v '/$' foo
D) grep -v '/#' foo
Correct Answer:
Verified
Q29: What is the purpose of the Bash
Q30: What does the symbol within regular expressions
Q31: Which of the following commands moves and
Q32: In the vi editor, how can commands
Q33: What command will generate a list of
Q35: In a nested directory structure, which find
Q36: Which of the following files, located in
Q37: What is the difference between the i
Q38: A user accidentally created the subdirectory \dir
Q39: In compliance with the FHS, in which
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents