Write the command to find all logged-in users with usernames of at least four characters.

What will be an ideal response?


There are a number of ways to solve this. Here's one that requires the use of the -E flag to grep in order to force a regular expression:
cut -d: -f1 /etc/passwd | grep -E '.{4,}

Computer Science & Information Technology

You might also like to view...

A(n) ________ software installation copies all the most commonly used files to your computer's hard drive.

A) full B) upgrade C) custom D) new

Computer Science & Information Technology

Click the ________ button in the Styles group on the SmartArt Tools Design tab to display the Color gallery

A) Change Colors B) Color Effects C) Colors D) Add Colors

Computer Science & Information Technology

If you hover the mouse over an item in the Animation Pane, a shortcut is displayed

Indicate whether the statement is true or false

Computer Science & Information Technology

A want to quickly share pictures between mobile devices. The devices will be in close proximity so each other so networking devices are not needed. What is the best choice?

A. NFC B. USB C. IR D. WiFi

Computer Science & Information Technology