UNIX for Dummies Test

A goofy UNIX test:

WARNING: ANSWERS ARE BELOW!!!!

IF YOU WANT TO DO THE TEST BEFORE SEEING THE ANSWERS, DON"T READ FURTHER :wink:

LAST WARNING....

7 out of 10. :slight_smile:

Do I get an Elephant stamp now? :smiley:

8 / 10 here.

I suspect that I stuffed the passwords file location (Q.7) and the location of sendmail (Q.10) :frowning:

You had 9 of 10 correct
That is 90.00 %
Quite impressive, indeed!
Of all the testers, the average was 47.22 %

i think i got the question on location of sendmail wrong too.

I got 9/10...but just for info purpose...

Q.7's answer was /etc/passwd ???? or not
& Q.2's ans was it "df" ??

I'd like to know where i went wrong
i'm a bit confused..
:confused:

Q.7's answer is /etc/passwd

Q.2's answer is "df" (not "du")

Thx Neo !!

Anywayz...I still can't make out where I went wrong..

My Answer's are :
1 ls
2 df
3 /etc
4 rm
5 ps
6 w
7 /etc/passwd
8 vi
9 grep
10 /usr/lib

Sorry for troubling u again..& again......

I got 8 out of 10.

Would like to know where I goofed.

1. ls
2. df
3. /etc
4. rm
5. ps
6. w
7. /etc/passwd
8. vi
9. grep
10. /sbin/

I figured that #10 was probably different. Under OpenBSD it is located at /usr/sbin so I went with /sbin.

Haven't found the other one, yet.

Q.6's answer is "all of the above" :slight_smile:

I got 9/10 and also answered w to (6) wrongly.

Why can ps show whether a user is connected?

ps can show user id of processes, so if a user is connected, you will see their user id (and what shell and processes they are running).

That'll teach me to take the "most" appropriate answer. I thought about selecting "all" but alas, I did not.

I dunno, gimme another beer.

Q6 was the 'trick question' if you ask me :slight_smile: Most everyone would pick the utility they tend to use the most vice all of them.

I was 9/10 also, tried again changing answer for # 10 and still had 9/10.

My sendmail doesn't exist in any of those directories.

???