Computer Science, asked by santoshmallick828, 11 days ago

write a command to list all the file-names starting with t or s in the current directory​

Answers

Answered by mchervitha
7

Explanation:

ls_d \etc / (ac)*

is the answer

I hope it will help u

plz mark as a brainlist answer

have a nice day ✨

Answered by ranimishra1978
4

Answer:

Explanation: We use ls command in terminal to list all the directories,sub directories,files…..

We have to filter the files that starts with t or s in the current directory. ...

We have to filter the file names by using regular expressions. ...

ls -d /etc/[ts]* ...

s -ld /etc/[ts]* | grep ^- | tr -s ' ' | cut -d' ' -f9.

Similar questions