137k views
1 vote
Ls/ etc / grep conf / grep -v “/“ / sort_~/ conf

User Cannatag
by
7.0k points

1 Answer

1 vote

Answer: Command Is Not Valid

Explanation: This command is not valid. The command should be 'ls /etc | grep conf | grep -v "/" | sort -r > conf'. This will list all the files in the '/etc' directory that have the string 'conf' in their name, excluding any folders, and sort them in reverse alphabetical order, and output the list to the 'conf' file.

User Jjkester
by
6.8k points