3 ms·You can use grep '.*' > /etc/password instead of cat > /etc/passwordby fhars 17y agoYou can use grep '.*' > /etc/password instead of cat > /etc/passwordjvdh 17y agosince echo still worked, why would you need grep for that one?lsb 17y agoecho, as he says, was built into the korn shell, whereas grep was a binary he deleted from the filesystem.fhars 17y agoBecause it does something entirely different. "echo " is the same as "ls", while "grep '.'" is the same as "cat".