Linux Search Pattern Question:
Download Questions PDF

who | cut -d " " -f1.
What is the ouput if the who command displays like this user1 tty 0 1234?
a) user1
b) user1 tty 0 1234
c) tty
d) tty 0 1234

Search Pattern Interview Question
Search Pattern Interview Question

Answer:

a) user1

Download Search Pattern Interview Questions And Answers PDF

Previous QuestionNext Question
Which character to use to escape meaning of special characters in search operations?
a) []
b) ^
c) .
d)
Which one is used to select only one copy of the repeated lines?
a) uniq -u
b) uniq -d
c) uniq -c
d) uniq -I