UNIX/Linux interview question


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers UNIX/Linux interview question
# 1  
Old 11-23-2010
UNIX/Linux interview question

Hi,

I went for an interview this morning. The questions I was asked....

1. On Redhat, you have downloaded a program called XYZ. You did all kinds update to this program. Now you are ready to move this to production. How would you do it?

He already said he doesn't want to use "tar & dump” He wants to move this as software.

I remember in Solaris, there is a tool pkgmk. Not sure if the same thing is for Linux?

2. 100 Linux servers which are part of production, doesn't have access to internet. It's in private DMZ. YUM will not work here. How would you install the latest patches?

3. You need to montior the server, you have no access to any monitoring program, you need to write some thing on your own and export this to excel and show this as a graph? How would you do it?

I answered but want not sure if I answer them correctly. Can you guys help me answer the above questions? Thanks.
# 2  
Old 11-23-2010
1) I am guessing he was looking for rpm(redhat package manager). kind of a weird way to word the question though.

2) you should tell the guy he is wrong. you can use yum on an intranet. you setup your own repo and configured the servers to pull down packages from there. short of that you need to get the files into the DMZ somehow -- maybe DVD, tape, etc... you could copy the files locally and install them if needed.

3) parse output from vmstat/iostat to a .csv file.
# 3  
Old 11-27-2010
What about "pkgconfig"? There is a whole set of commands which begin with "pkg" which are related to building and communicating packages. Off the top of my head, some of the best examples I've seen of this are in OpenBSD tutorials. [Yes, pkg+____ kinds of commands are available in Unix.]

What about "install"? Again, not a Red Hat specific command, but it's Unix/Linux.

Last edited by agxphoto; 11-27-2010 at 11:39 AM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Red Hat

Linux administrator interview question

pls any one tell all the interview question about linux administrator for L1 and L2... (3 Replies)
Discussion started by: deepansekaran
3 Replies

2. UNIX for Dummies Questions & Answers

Interview question

A process(apache/webservice) is continually writing a log(it is a single log, there are no several logs with different file names) onto a unix system. the file system is filling up. How do you handle the situation. Is there a way to handle this situation without killing the parent process.(... (1 Reply)
Discussion started by: ramky79
1 Replies

3. UNIX for Dummies Questions & Answers

Linux Internals Interview Questions

Can anyone list the interview questions on Linux Internals? Any link for the same will also be helpful. In a job requirement of say C, linux internals what is expected about linux internals? (0 Replies)
Discussion started by: rupeshkp728
0 Replies

4. UNIX for Dummies Questions & Answers

Interview question....help

what distros have you selected in the past, for which applications, and why did you choose them? Would you make the same choices again, knowing what you know now? Any help will be really appreciated!! (2 Replies)
Discussion started by: choco4202002
2 Replies

5. Programming

Interview question ...pls help!!

You have a compiled C binary which you can execute and run, but you suspect it may be hanging. You do not have the source. What can you do to gather information and/or clues about what the program is doing? Any help will be really appreciated!! (1 Reply)
Discussion started by: choco4202002
1 Replies

6. Shell Programming and Scripting

Shell script interview question...help required urgent!!!

hi i have cancelled my previous post (2 Replies)
Discussion started by: choco4202002
2 Replies

7. UNIX for Dummies Questions & Answers

Unix Interview Questions

Please please if anyone has time to answer them, this noob would highly appreciate it. Thanks in advance. 1. whats $# in a shell script 2. whats a $* in shell script 3. Explain nohup with an example 4. If $1 is the first parameter, whats $0 5. How do you see the return code of... (1 Reply)
Discussion started by: foxmulder123
1 Replies
Login or Register to Ask a Question