Pergunta de entrevista da empresa J. Crew

How do you find the a process like your application or application logs in Linux and Windows? Basically commands to list the file or app name.