Operating System - HP-UX
1820880 Members
3553 Online
109628 Solutions
New Discussion юеВ

Re: Some fun for a Tuesday

 
SOLVED
Go to solution
Scott Van Kalken
Esteemed Contributor

Re: Some fun for a Tuesday

question #1 - a place I used to work at interviewed a guy once, and we would throw in the old "list as many options as you can to the ls command" occasionally.

This guy listed every option and what each one did for AIX, HPUX, SOLARIS and SCO...

we let him finish them all (which took about 40 minutes) because we were just so blown away.

Scott.
John Poff
Honored Contributor

Re: Some fun for a Tuesday

62. What is the average airspeed of a fully laden swallow?

Is that an African swallow or a European swallow? :)

A long time ago I interviewed for a programming job with a very small company where the two guys interviewing me started asking me Monty Python questions. I got the questions right, and I got the job. You never know what skills you'll need in this life!

JP

Shannon Petry
Honored Contributor

Re: Some fun for a Tuesday

Here's a little sample from my test, and these I can do for kicks.

What file(s) do you need to modify to change the netmask in:
1. Solaris
2. HP-UX
3. Irix

What is the Administration GUI in:
1. Solaris
2. HP-UX
3. Irix
4. AIX


What file(s) do you need to modify to add, delete, or change exports in:
1. Solaris
2. HP-UX
3. AIX

What file(s) do you need to change to enable NIS and define your NIS domain in:
1. Solaris
2. HP-UX
3. AIX
4. Irix

More General than these is another thinker....

Is it possible to share NFS files read-only, and root access? If so, why would you?

What entry MUST be in an /etc/resolv.conf file?

Just a couple to think about. Now get ta work! hehe

Regards,
Shannon
Microsoft. When do you want a virus today?
Sean OB_1
Honored Contributor

Re: Some fun for a Tuesday

No one is willing to take a serious shot at answering these? And I thought you all were so smart! :-P
Michael Tully
Honored Contributor

Re: Some fun for a Tuesday

For that amount of time, you should be awarding 50 points..... ;^0
Anyone for a Mutiny ?
U.SivaKumar_2
Honored Contributor
Solution

Re: Some fun for a Tuesday

Hi,

Tried to answer some unanswered questions
Correct me If iam wrong

3. What is the default login shell if that field in /etc/passwd is left blank?

No login is permitted

4. What are the limitations on a user login name in /etc/passwd?

number of characters
use of control characters

5. What is the difference between sections 1 and 8 in the UNIX manual set?
section 1 is for user commands
section 8 for system calls ?

11. What is the difference between a hard link and a soft link?
hard links cannot span across different filesystem.
But soft links can.


16. What is the difference between a gateway and a router?
gateway can function at application layer
router will function only at network layer

17. What is the difference between the real and effective UID of a process (UID vs. EUID).

real UID says which user has started the process. Normally Effective UID and real UID will be same.
But if setuid is set on the program then real UID refers to user who ran it, the effective UID refers to the user who owns the file.

21. Where would you find the executable for `init' on SunOS, BSD 4.5, HP/UX.
HP-UX : /etc/init
BSD: /sbin/init


22. Where would you find the numeric value of the SIGPIPE signal?
#kill -l ( letter l )

23. What is the primary difference between SIGKILL and SIGTERM.
In cleaning up

26. What is the class designation of an IP address (A, B, or C) used to determine?
number of hosts

27. What class of IP address is 128.138.243.8?
class A ....

28. How do you unpack neattoy.tar.gz.shar?
#sh neattoy.tar.gz.shar

29. How do you forge mail "From santa.claus@northpole.org"?
telnet xx.xxx.xxx.xxx 25
helo domain
mail from: santa.claus@northpole.org

31. How many SCSI devices can be connected to a workstation with a single SCSI controller interface?
6

32. What is the SCSI id number of a workstation SCSI controller interface?
7

33. What three commands are used to modify file ownership and permissions?
chmod , chown , chacl , umask

34. How many terminators does an Ethernet network have?
None

35. If a SCSI hard disk was formatted on a Sun and no data has yet been written to it, what needs to be done to use it on a non-Sun UNIX system?
pvcreate and use it

39. How do you calculate the total number of blocks or sectors available on a disk?
diskinfo


44. Where are the files which are used to re-build a kernel?
/stand/system , conf.c /stand/dlkm/*.o

45. Which system or systems on a network answers an ARP request packet?
one system having the requested IP address

50. When you change /etc/exports, what must be done for mountd to recognize and incorporate the change?
kill -1

52. Via NFS, by default the root access is enabled or disabled?
disabled

53. On an NFS mounted filesystem, is a soft link is evaluated (followed) in the server hierarchy or client hierarchy?
server hierarchy

54. What file must be configured on all DNS clients and what are the minimum two lines it must contain to function?
/etc/resolv.conf
nameserver xx.xxx.xxx.xx
domain domain.com

56. What option to sendmail invokes rule parsing test mode?
sendmail -bt


59. How does the system determine which shell to invoke to execute a shell script?
If user defined then defined shell else current shell


61. If a user has a mail loop, what two things should be checked at both systems involved to determine the source of the problem?
MX configuration,
aliases file

regards,
U.SivaKumar




Innovations are made when conventions are broken
Wodisch
Honored Contributor

Re: Some fun for a Tuesday

But hey, Sean,

I was as serious as possible!

Wodisch (at 38 and still the parents complaining "get grown up")
Yogeeraj_1
Honored Contributor

Re: Some fun for a Tuesday

 
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
V. Nyga
Honored Contributor

Re: Some fun for a Tuesday

Hi Sean,

this is no FUN this is work and an acid test.
;-)
Work is enough at my desk ;-))

Nevertheless the answers would be interesting!

And Paula - sorry I'm 38

Volkmar
*** Say 'Thanks' with Kudos ***
Shannon Petry
Honored Contributor

Re: Some fun for a Tuesday

 
Microsoft. When do you want a virus today?
Tom Jackson
Valued Contributor

Re: Some fun for a Tuesday

This is a lot more fun than work! Facts and humor!:-j

Tom
Paula J Frazer-Campbell
Honored Contributor

Re: Some fun for a Tuesday

ROFL =

Rolling
On
Floor
Laughing



Paula
If you can spell SysAdmin then you is one - anon
eric stewart_2
Advisor

Re: Some fun for a Tuesday

OK where are the correect answers?
I alwas say that what I do not know in my head I can find in a manual of in a forum!!!