Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Help with Linux please read the question. i know how to use basic commands. thes

ID: 3842104 • Letter: H

Question

Help with Linux

please read the question. i know how to use basic commands. these answers require globbing, which i cant seem to get right.

using ubuntu

7. What ls command used with a globbing expression will list those files in /tmp/notes which contain three fours in the basename portion (pre-extension part) of the filename? (Must use globbing expression--no grep!)

below are Tried and did not work - returns ls: /tmp/notes/*444*.*: No such file or directory

ls *[444]. /tmp/notes

ls /tmp/notes |egrep ‘.*444.*..*’  

ls /tmp/notes/*444*.*

Explanation / Answer

Try this...

ls /tmp/notes/*4*4*4*.*

NOTE:

* means 0 or more characters

If you need any assistance on this please comment below

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote