Pergunta de entrevista da empresa Google

How would you restore /etc/passwd on a machine with a corrupt root disk which is only barely functioning. You have a shell and most unix shell commands, but no text editors.

Respostas da entrevista

Sigiloso

18 de out. de 2010

Use perl/sed/awk/ed/ex. This question is basically trying to test if you're truly familiar with the unix toolset and can use it creatively.

Sigiloso

16 de nov. de 2010

echo "passwd file stuff" > /etc/passwd