I have a question I want to know what this command do
ls /usr/bin | grep ”man” | sed ”s/man/###/”
I have use this command and show me everything with ###, but I dont know whats mean. I hope someone can explain it.
I have a question I want to know what this command do
ls /usr/bin | grep ”man” | sed ”s/man/###/”
I have use this command and show me everything with ###, but I dont know whats mean. I hope someone can explain it.
scan the output of the 1st part and search for "man". Result:
match pattern "man" and change it with "###". But this technically does nothing but echo the result. Example:
The file is still there and there is no file with "###"