|
|
|
From: June Mullins (junemullins, earthlink dot net)
Date: 2002.03.17 - 19.19 MST
My answers and comments follow. I think I can do all but the last. The
bonus
questions are a little intimidating. Personally, I would remove them.
Seems like I'm still a relative linux dummy.
Jay Miller wrote:
> Hi guys - when it came to interviewing time, I wanted to have a little
> quiz ready to hand to applicants to test their Unix/Linux knowledge..
> I'm hoping you guys will beta test this sucker.. give it a shot and
> lemme know what you think, if you have time. Thanks!
>
> ***
>
> Linux Quiz
> This quiz consists of five questions, each slightly harder than the
> last. The answers should all be command lines that anyone could enter
> (choice of shell notwithstanding). They may include piping and
> redirection, but not a ';' in the shell context (ie. you shouldn't
> need multiple inputs, loops, subshells, etc.). If you aren't sure
> exactly, try to get close - they're meant to get pretty tough.
>
> 1. Q: Find help for the command write(2).
>
> $
==> man 2 write (this one is easy enough, if my answer is correct)
>
>
>
> 2. Q: Uncompress and untar the archive foo-4.2.tar.gz into the current
> directory. (Bonus: pretend tar(1)'s '-z' switch doesn't exist, as in
> SunOS.)
>
> $
==> tar -xvzf foo-4.2.tar.gz . (the gunzip part is already beyond me,
because I never use it)
>
>
>
> 3. Q: Send a hangup signal to the system's sendmail daemon. (Bonus:
> pretend killall(1) command doesn't exist, as in OpenBSD.)
>
> $
==> killall -HUP sendmail (I can't do the bonus at all)
>
>
>
> 4. Q: Search all directories beneath and including ~/src for C source
> and header files containing the case insensitive text 'todo'. Append
> the filenames and matching text to ~/TODO. (Bonus: append filenames
> only.)
>
> $
==>
grep -i 'todo' `find ~/src -name \*.c` > ~/TODO (bonus answer
- grep -il ......)
>
>
>
> 5. Q: Move all files in the /tmp directory with a .html extension to a
> ..php extension instead.
>
> $
==> I don't know how to do this at all/
>
>
>
--
This is the antera mailing list. To unsubscribe, email
majordomo, cryptofreak dot org with message body `unsubscribe antera'.
Or, for more information, visit http://www.cryptofreak.org/.
| |