A command to list all the file-names starting with t or s in the current directory
Answers
Answered by
0
Answer:
COMMANDS
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