LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
LinkBack Search this Thread
Old 01-23-2012, 02:09 PM   #1
devUnix
Member
 
Registered: Oct 2010
Location: Bengaluru, India
Distribution: RHEL 5.1 on My PC, & SunOS / Sun Solaris, RHEL, SuSe, Debian, FreeBSD and other Linux flavors @ Work
Posts: 400

Rep: Reputation: 41
If You Were Interviewing a Unix or Linux Guy What Would You Ask


Hello Folks!


What's up? Well, it is past 1:30 AM in India and I am reading "Programming Perl by Larry Wall and Ranald L. Schwartz". (I just came to know that AWK and Sed programs can be converted into Perl programs by "a2p" and "s2p" respectively.)

Anyways, coming to the captioned subject, what questions would you ask a candidate appearing for a Unix / Linux interview? Well, you would exclaim that it depends. So, let's assume these categories of their roles:
  • System Administrator
  • Production / Application Support
  • Unix / Linux Programmer
  • Network Operations (NOC)
  • DBA (Oracle/MySQL)
  • System Security

... or what you will.
 
Old 01-23-2012, 02:18 PM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 241Reputation: 241Reputation: 241
Hum... What is a bit ?
 
Old 01-23-2012, 02:25 PM   #3
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Arch
Posts: 1,645
Blog Entries: 22

Rep: Reputation: 216Reputation: 216Reputation: 216
Cool

Quote:
Well, it is past 1:30 AM in India
Okay, this leads me to assume several things:
- you cannot sleep, too much coffee??
- you're nervous in prepping for a job interview. In that case, there are some sites that have such a list...but if it'll help you land a job, dunnow...

At any rate:

GO TO SLEEP!!!

Sweet dreams

Thor
 
Old 01-23-2012, 02:41 PM   #4
devUnix
Member
 
Registered: Oct 2010
Location: Bengaluru, India
Distribution: RHEL 5.1 on My PC, & SunOS / Sun Solaris, RHEL, SuSe, Debian, FreeBSD and other Linux flavors @ Work
Posts: 400

Original Poster
Rep: Reputation: 41
Lightbulb

Quote:
Originally Posted by Thor_2.0 View Post
Okay, this leads me to assume several things:
- you cannot sleep, too much coffee??
- you're nervous in prepping for a job interview. In that case, there are some sites that have such a list...but if it'll help you land a job, dunnow...

At any rate:

GO TO SLEEP!!!

Sweet dreams

Thor

Haha!!!! Well, I am already doing a good job. Software Engineer and enjoy working on Unix, Linux, and Bash, and other things that interest me or catch my attention.

Not too much coffee! Just sleep is being very shy mistress to me tonight...!

By the way, I have not appeared in any interview for several months so just wanted to get a feel of it from your you guys' questions.
 
Old 01-23-2012, 02:42 PM   #5
devUnix
Member
 
Registered: Oct 2010
Location: Bengaluru, India
Distribution: RHEL 5.1 on My PC, & SunOS / Sun Solaris, RHEL, SuSe, Debian, FreeBSD and other Linux flavors @ Work
Posts: 400

Original Poster
Rep: Reputation: 41
Talking

Quote:
Originally Posted by Cedrik View Post
Hum... What is a bit ?
The smallest unit of measuring the size of a piece of information or anything that can be stored in the computer memory?

Well, why did you not ask "What's a byte?" and I would say 1 Byte = 8 Bits. So easy hm?
 
Old 01-23-2012, 02:47 PM   #6
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 10,003

Rep: Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189Reputation: 1189
Quote:
Originally Posted by devUnix View Post
Hello Folks!
What's up? Well, it is past 1:30 AM in India and I am reading "Programming Perl by Larry Wall and Ranald L. Schwartz". (I just came to know that AWK and Sed programs can be converted into Perl programs by "a2p" and "s2p" respectively.)

Anyways, coming to the captioned subject, what questions would you ask a candidate appearing for a Unix / Linux interview? Well, you would exclaim that it depends. So, let's assume these categories of their roles:
  • System Administrator
  • Production / Application Support
  • Unix / Linux Programmer
  • Network Operations (NOC)
  • DBA (Oracle/MySQL)
  • System Security
Everything you've listed has an entirely different set of skills, with just a small amount to tie them together. The questions will be very diverse, and really, there is NO WAY anyone can know. An interviewer can ask ANYTHING, for ANY reason.

For example (going down your list):
  • A systems admin would be expected to know how to configure LVM's, channel bonding, virtual machines, and manage the system resources, along with dealing with backups, etc. But...
  • An applications administrator probably won't care about the deep nuts and bolts, but have to know how to manage the APPLICATION, and know when to refer problems up to the admin. But....
  • A programmer won't need to know ANY of that, since they'll WRITE the application that the app. administrator runs, on the system managed by the sysadmin. They'll need SOME access, but have VERY different needs. But...
  • A NOC person won't care at all...they manage the NETWORK, and will use a system (whatever it is), to manage the switches/routers/etc.
  • A DBA will, again, not really care about the OS the system is running, except on a very high level, but only manage the database.
  • Systems security is an entire discipline, and will depend on if you mean it as IMPLEMENTING security, or auditing/enforcing it.
The only possible way to be prepared is to be qualified for the job you're interviewing for, and have researched both the company and position beforehand. Otherwise, you'll be easily dismissed.
 
Old 01-23-2012, 03:03 PM   #7
devUnix
Member
 
Registered: Oct 2010
Location: Bengaluru, India
Distribution: RHEL 5.1 on My PC, & SunOS / Sun Solaris, RHEL, SuSe, Debian, FreeBSD and other Linux flavors @ Work
Posts: 400

Original Poster
Rep: Reputation: 41
I just came across this peculiar way of untarring a tar file in the book I stated above:

The original line reads (from the book):

Code:
% cat *.tar.Z | uncompress | tar xvf -

Well, I tried the above method (not exactly the same as this CentOS is not having uncompress utility on it):

Code:
[demo@devhost PERL]$ ls -ltr
total 8
-rw-rw-r--. 1 demo demo 6277 Jan 24 02:19 Perl.tar.gz

[demo@devhost PERL]$ cat Perl.tar.gz | tar -zxf -
[demo@devhost PERL]$ ls -ltr
total 12
drwxrwxr-x. 2 demo demo 3072 Dec  8 16:41 Perl
-rw-rw-r--. 1 demo demo 6277 Jan 24 02:19 Perl.tar.gz
[demo@devhost PERL]$ ls -1 Perl | wc -l
70
[demo@devhost PERL]$ rm -rf Perl

[demo@devhost PERL]$ tar -zxf Perl.tar.gz 
[demo@devhost PERL]$ ls -ltr
total 12
drwxrwxr-x. 2 demo demo 3072 Dec  8 16:41 Perl
-rw-rw-r--. 1 demo demo 6277 Jan 24 02:19 Perl.tar.gz
[demo@devhost PERL]$ ls -1 Perl | wc -l
70
[demo@devhost PERL]$
So, why would we need to use the "cat *.tar.Z" command in the first place when tar can itself extract the contents of a Tarred file?
 
Old 01-23-2012, 03:05 PM   #8
devUnix
Member
 
Registered: Oct 2010
Location: Bengaluru, India
Distribution: RHEL 5.1 on My PC, & SunOS / Sun Solaris, RHEL, SuSe, Debian, FreeBSD and other Linux flavors @ Work
Posts: 400

Original Poster
Rep: Reputation: 41
TB0ne -> Long time. You are looking at my posts. How are you doing? I am not preparing for any interview. Just posted something in the "General" discussion to see what new could come out of it (the post).
 
Old 01-23-2012, 03:21 PM   #9
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 241Reputation: 241Reputation: 241
Quote:
Originally Posted by devUnix View Post
So, why would we need to use the "cat *.tar.Z" command in the first place when tar can itself extract the contents of a Tarred file?
Maybe at the time the book was written, tar had no uncompress ability ?

the compress and .Z files are old, gzip makes better compression afaik
 
Old 01-24-2012, 10:32 AM   #10
Anisha Kaul
Senior Member
 
Registered: Dec 2008
Location: Gurgaon, India
Distribution: Slackware 13.37, OpenSuse 11.3
Posts: 4,370
Blog Entries: 21

Rep: Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706
Quote:
Originally Posted by devUnix View Post
  • Unix / Linux Programmer
C/C++ on Linux:

Writing and explaining a Makefile.
Debugging tools - Valgrind/GDB.
Autotools.
The compiler options of GCC.
 
Old 01-24-2012, 11:16 AM   #11
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Arch
Posts: 1,645
Blog Entries: 22

Rep: Reputation: 216Reputation: 216Reputation: 216
Quote:
Haha!!!! Well, I am already doing a good job. Software Engineer and enjoy working on Unix, Linux, and Bash, and other things that interest me or catch my attention.
So...you're the guy everyone blames if "the software does'nt work"...poor you, been there...

Quote:
Not too much coffee! Just sleep is being very shy mistress to me tonight...!
Eh...she can be a tough lady to get in bed...

Quote:
By the way, I have not appeared in any interview for several months so just wanted to get a feel of it from your you guys' questions.
Are you doing the interviewing? That means you're looking for "ammo"...hehe...
 
Old 01-24-2012, 11:38 AM   #12
devUnix
Member
 
Registered: Oct 2010
Location: Bengaluru, India
Distribution: RHEL 5.1 on My PC, & SunOS / Sun Solaris, RHEL, SuSe, Debian, FreeBSD and other Linux flavors @ Work
Posts: 400

Original Poster
Rep: Reputation: 41
Quote:
Originally Posted by Anisha Kaul View Post
C/C++ on Linux:

Writing and explaining a Makefile.
Debugging tools - Valgrind/GDB.
Autotools.
The compiler options of GCC.
Anisha! How you doing? Without looking at what you might have posted, I could guess that you would talk about C/C++.
 
Old 01-25-2012, 08:49 AM   #13
Robert.Thompson
Member
 
Registered: Nov 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 13.37 -32 Bit & Puppy 5.2.5
Posts: 577

Rep: Reputation: 46
I'd ask if they know how to make a backup!
 
Old 01-25-2012, 11:52 AM   #14
devUnix
Member
 
Registered: Oct 2010
Location: Bengaluru, India
Distribution: RHEL 5.1 on My PC, & SunOS / Sun Solaris, RHEL, SuSe, Debian, FreeBSD and other Linux flavors @ Work
Posts: 400

Original Poster
Rep: Reputation: 41
Let me add some questions from my side too.

[1] How to write a brand new Kernel top of which an entire Unix/Linux OS can run?

[2] How to best address OOM (Out of Memory) incident and catch (alert/email) its very first instance before things get worse?

[3] How to best handle Heap Memory ezceeding a critical thredhold such as 90% without having to add more memory space and by employing some proven or useful methods?

[4] On a Solaris System, where to look for files such as /proc/meminfo and /proc/cpuinfo, etc. that are typically found on a Linux Box under "/proc/" file system? (On my newly installed Solaris OS 10, there are no such files under the pseudo filesystem.)

[5] How can Memory (RAM only) and CPU Utilization or Load Average be referred to when Memory is being 99% utilized and Load Average is very normal, say, under 0.5 (Single CPU, for example)? If the processes/applications are utlizing high memory space then why its impact is not being Load Average?

[6] What is the market trend of developing Kernels and Operating Systems? Are they using C or C++ or Java for writing an OS?

[7] Should "init" or "shutdown" be used for rebooting a Unix/Linux OS? What is the difference between the two commands?

[8] Ours is a Telecom Domain and we write programs targeted for Mobile and Smart devices. Multi-Media contents such as a Video, an Image, or an Audio files that are sent/received, need to be transcoded in order for a handset/device to play/open it. What programming language would you choose for such purposes and why? We are currently using C++ for backend processing of content/MMS. Shall we migrate to Java technologies or some other ones?

[9] Without enhancing your user account's privileges, how would you check as to when the system was last rebooted/shutdown? "uptime" command will not give you the date and time.

[10] How to unlock a file/resource being used by a process in order to copy it or retrieve data from it?

Well, would anybody like to comment on those questions? A tough interviewer! Hm? )
 
Old 01-25-2012, 03:19 PM   #15
resetreset
Senior Member
 
Registered: Mar 2008
Location: India
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,177

Rep: Reputation: 48
Your question numero uno has me stumped. It would be too difficult to write a kernel that was completely new, yet compatible with a modern user-land app.

Btw, it's 2:49 AM for me over here in India as well (not Delhi tho)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Test To Give When Hiring or Interviewing a Junior Linux System Administrator LXer Syndicated Linux News 0 11-14-2011 10:30 AM
LXer: Microsoft drops Family Guy like a hot deaf guy joke LXer Syndicated Linux News 3 10-28-2009 11:23 AM
LXer: Linux Guy and Windows Guy Walk a Mile in Each Other's Shoes LXer Syndicated Linux News 0 01-13-2009 05:40 PM
LXer: Interviewing hackers LXer Syndicated Linux News 0 02-22-2006 10:47 AM
A question about interviewing vharishankar LQ Suggestions & Feedback 1 04-03-2005 09:42 AM


All times are GMT -5. The time now is 05:18 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration