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
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.