cryptofreak.org cryptofreak home projects
contact about
Contact:


projects
News Agenda
Antera Antera
News Commentator
News fcreate
gkrellmGIMPS gkrellmGIMPS
Linux Porting Linux Porting
mod-chal mod-chal
Quake III Quake III
News Zope
Contact: webmaster

From: Perry and Lorae Merritt (plmerritt, hypermall dot net)
Date: 2002.03.17 - 17.49 MST


X-Mailer: Microsoft Outlook Express 6.00.2600.0000

My answers inserted. Let me know how I did.

----- Original Message -----
From: "Jay Miller" <jnmiller, cryptofreak dot org>
To: <antera, enigma dot cryptofreak.org>
Sent: Saturday, March 16, 2002 7:45 PM
Subject: Jay's Linux quiz!


> 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).
>
>    $  ls | grep name > man
>
>
> 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.)
>
>    $  Awk sed > grep find uncompress archive foo-4.2.tar.gz  | tar -xvf
archive foo-4.2.tar
>   Or did you want gzip rather than uncompress??
>
> 3. Q: Send a hangup signal to the system's sendmail daemon.  (Bonus:
> pretend killall(1) command doesn't exist, as in OpenBSD.)
>
>    $  pine > elm kill -SIGHUP outlook
>
>
> 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.)
>
>    $  vi /etc/samba/smb.conf
     insert the following lines
        [linuxbox]
           ; Last Modified: 2002/01/01 17:10:46
           comment = Linux box
           path = /~/src
           browseable = yes
    restart samba with /etc/rc.d/init.d/smb restart
    Go to a Windows machine and map a drive to linuxbox
    Use the advanced find feature in Windows
    (This is by no means an endorsement of stupid Windows)


>
>
> 5. Q: Move all files in the /tmp directory with a .html extension to a
> .php extension instead.
>
>    $  cp /tmp/*.html *.php
           find /tmp -name html | rm -f
>
>
> --
> Jay Miller
>
> PGP: 0xedc9bb8d | 41a6428c 46abd36b 6b259b68 8a28ca4c edc9bb8c
> --
> 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/.
>

--
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/.