7

Click here to load reader

linux-qs

Embed Size (px)

Citation preview

Page 1: linux-qs

#1 (permalink)

#2 (permalink)

Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here.

Thread Tools Display Modes

4th December 2007, 05:20 PM

[email protected] Member

Join Date: Jun 2007OS: DebianPosts: 15Thanks: 0Thanked 1 Time in 1 PostRep Power: 0

Linux Administrator Interview Questions

Hi ,

Can any one put the group of questions for the linux administrator interview question for 2- 3 exp . I know that can be availablefrom google but if some linux expert ( Linux Guru ) Explain it with answers that will be a great help to upcoming linuxadministrators . like me ...

Thanks in advance ...

John

The Following User Says Thank You to [email protected] For This Useful Post:

dineshkumar048 (12th August 2010)

4th December 2007, 06:39 PM

rockdalinuxIs that all you got?

Join Date: May 2005Location: Planet VegetaOS: RedhatPosts: 880Thanks: 24Thanked 55 Times in 47 PostsRep Power: 14

Just a few I remember. This is not a full list but you should get idea. Following all are very basic question. I've short answer, fordetails read man page or use google.

What is the default Window system / Windows manager used in Linux?Code:

X.org

What command is used to list the contents of directory?Code:

Linux Administrator Interview QuestionsThis is a discussion on Linux Administrator Interview Questions within the Linux software forums, part of theLinux Getting Started category; Hi , Can any one put the group of questions for the linux administratorinterview question for 2- 3 exp ...

Register free or login to your account to remove all advertisements.

nixCraft Linux / UNIX / Shell Scripting Forum > Linux Getting Started > Linux software

Linux Administrator Interview Questions

nixCraftUser Name User Name Remember Me?

Password Log in

Home Groups Unanswered Questions Blog Howtos & FAQsLinux / UNIX Tech Support Forum

Register FAQ Community Calendar Forgotten your password?Linux answers from nixCraft.

Page 2: linux-qs

lsls -l

What command is used to list the top 10 files / directories size wise?Code:

for X in $(du -s * | sort -nr | cut -f 2); do du -hs $X ; done

What command is used to display a list of currently running processes?Code:

pstoppstreepgrep/proc file system

What is a login shell?A program get executed when a user logs into UNIX box. E.g. bash, sh, ksh, csh

What is UID?User identification number which is assigned to each UNIX / Linux user; it may or may not be unique (unique number isrecommended to avoid security related issues). UID and user relationship defined in /etc/passswd file.

Code:

man idman usersman groups

What GID? What is EUID? What SUID? What is RUID?Linux > More on USER ID, Password, and Group managementUnderstanding /etc/passwd file formatUnderstanding /etc/ shadow file

Explain Unix User security conceptPermissions - chmod and chownUser groups - group management - user managementRead su, sudo man page

What PID?Process identification number; use ps command to see PID. It is a number used by Unix kernels and Windows operating systems toidentify a process.

Explain process ID zero and process ID 1?All the idle task has process ID zero, and never exits.The init process, with process ID 1, which does nothing but wait around for its child processes to die. Usually started for /etc/inittab

Explain wheel group usage along with an example?Code:

man su

What command is used to check a file system for errors?Code:

fsckfsck.ext3fsck.nfsfsck.ext2fsck.vfatfsck.reiserfsfsck.msdos

Is Linux / UNIX file system case sensitive? Give one exampleYes, test.txt and TEST.txt are two different files

What file contains the list of drives that are mounted at boot?/etc/fstab - Linux / Other UNIX version/etc/vfstab - Solaris UNIX

Explain the usage of the fourth field in /etc/fstab?

Page 3: linux-qs

Explain the usage of the fourth field in /etc/fstab?It is formatted as a comma separated list of options. Read mount command man page for all the option.

What is /etc/inittab file? In what file is the default run level defined?System V init examines the '/etc/inittab' file for an 'initdefault' entry, which tells init whether there is a default runlevel. init is theprogram on Unix that spawns all other processes. It runs as a daemon and typically has PID 1.

Code:

man initcat /etc/inittab

Common runlevle values on RHELCode:

0. Halt1. Single user mode6. Reboot3. Default text5. Default GUI

To check the current runlevel:Code:

who -rrunlevel

What command is used to get help about command? What command is used to read manual page for a given command?Code:

info command-nameman command-namecommand-name -hcommand-name --help

What command form or symbol used to redirect output to a file?Use the > symbol

Code:

command-name > output.txt

Use the < symbol to read input from a file

What is ssh? Specify ssh command syntax to execute command over a TCP/IP network?SSH is Application layer protocol which allows data to be exchanged over a secure channel between two computers.Sshh - Wikipedia, the free encyclopedia

Code:

ssh [email protected] command-name

Explain steps for password less login? How do you set-up SSH with DSA / RSA public key authentication?Howto Linux / UNIX setup SSH with DSA public key authentication (password less login)

Explain BSD-style init?Read rc man page. There are no runlevels; the 'rc' file determines how init is to be run.Runlevel - Wikipedia, the free encyclopedia

Explain Sys-V style init?Read init man pageRunlevel - Wikipedia, the free encyclopedia

Explain Unix philosophyUnix philosophy description by The Linux Information Project (LINFO)

What is POSIX? Name 2 POSIX-oriented operating systems?Portable Operating System Interface is the collective name of a family of related standards specified by the IEEE to define theapplication programming interface (API). HP-UX, Solaris, AIX etc

Linux and BSD not certified as POSIX but conform to standard.

Explain Raw device and command s to configure Raw deviceBlock device file that allows accessing a storage device such as a hard drive directly. For example /dev/hda. Use commands

Code:

mknodfdiskkf

Page 4: linux-qs

#3 (permalink)

mkfsmkfs.ext3

Explain File descriptorFile descriptor - Wikipedia, the free encyclopedia

Explain Unix file typesDirectoryPipesFifoSymbolic linkNamed pipeSocketDevice fileDoorRegular file

Explain inode, superblock and hard linksUnderstanding UNIX / Linux file system

Explain Unix domain socketUnix SocketsMySQL and many programs uses domain socket to make client / server communication. Usually fast as compare to TCP/IP

Explain UNIX software pipeline conceptSee shell or bash man page

Code:

cat /etc/passwd | grep usernamemount | grep cdrom

Explain XYZ Unix daemonsWhere XYZ can be any one of the following:

Code:

inithttpddhcpdlpdnfsdntpdsyslogdypbindftpdtelnetdsshdnamed

Explain udev in Kernel 2.6?udev - Wikipedia, the free encyclopedia

Explain Process management and related commands

Explain Memory management and related commands

What is Open Group standards?

Secify seciaal usage for each one of the following file/dev/null - Send unwanted output/dev/random - Random number generation/dev/zero - Cache or Destroy data on a partition - dd if=/dev/zero of=/dev/sda98

Explain Linux Exec Shield__________________Rocky Jr.

What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.

The Following User Says Thank You to rockdalinux For This Useful Post:

Dav86 (22nd October 2010)

4th December 2007, 06:57 PM

Join Date: Feb 2005Location: New Delhi

Page 5: linux-qs

swetaContributors

ocat o e eOS: Suse, RHEL, VistaPosts: 217Thanks: 18Thanked 12 Times in 12 PostsRep Power: 9

What is SELinux?

Write a command to find all of the files which have been accessed within the last 10 days.

What is LILO?

What is Grub?

Explain the difference between LILO and Grub

What is NFS?

What is NAMED?

What is MySQLD?

What is mysql?

What is CVS?

Why You Shouldn't Use the root Login for everyday work?

Describe the default partition scheme in Redhat Linux?

Describe the default partition scheme in Solaris? What is the slice number?

Describe all default mount point?

What is boot block?

What is logical block?

Describe the process for adding a new hard disk to UNIX box?

Describe the process for adding a new hard disk to Linux box?

Describe the process for adding a new hard disk to Linux LVM to grow /home?

Explain one major difference between a regular file system and a journaling file system?

Define JFS

Define UFS

How do you lock and unlock user account / password?

Describe RPM and command to install / remove / update Linux system?

Explain difference between rpm and up2date command.

Explain difference between rpm and apt-get command.

Explain difference between rpm and yum command.

Describe usage for pkgadd, pkginfo and pkgchk command

How do you find files on UNIX or Linux system?

Explain /etc/rc3.d

Explain ntsysv or chkconfig command

How do you get rid of process if kill PID is not working for you?

What is the purpose of the command?grepsedawkifconfignetstatdfduprtvtocfdisk -lumaksgetfacl

Page 6: linux-qs

#4 (permalink)

#5 (permalink)

getfaclsetfaclsudofsckprobe-scsivmstat

Explain LVM__________________

Friends - v-nessa - LinuxChix- Tuxmachines

14th July 2008, 12:12 AM

pradgpJunior Member

Join Date: Jul 2008OS: redhatPosts: 1Thanks: 0Thanked 0 Times in 0 PostsRep Power: 0

Interview questions asked by Oracle,IBM,vitage ..

1) What is a superblock ?2) What is a parity bit?3) What is an inod?4) Explain top command ?5) How to disable the root login in SSH ?6) use of sysctl command ?7) LVM how to ?Different RAID levels ?

19th August 2008, 10:53 AM

vaibhav.kanchanMember

Join Date: Jul 2007Location: HyderabadOS: Redhat RHEL, SolarisPosts: 53Thanks: 0Thanked 0 Times in 0 PostsRep Power: 4

Some more Interview questions.

What are the services required for nfs, apache(http) and NIS?

What is the best way to check the status of any service?

What do you mean by parity in RAID and which RAID is useful now a days?

Explain Linux Boot process especially kernel and initrd.

Why we do have two commands useradd and adduser when their functialnality is same?

Can we have two apache servers having diff versions?

« Which Linux OS 32/64 bit would you recommend with a dual boot of 32bit Vista? | Guidance requested! »

Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)

Posting Rules

360+ of Jobs in SolarisExp: 0 to 13 Yrs. Sal: 4L to 13L PA Apply Now & getMultiple InterviewsTimesJobs.com/Sun_Solaris_Admin

Dedicated Server in IndiaDedicated Hosting Servers in India @ 99.95% UptimeSLA. Check OffersCtrls.in/Dedicated-Hosting-Servers

-Shell Scripting Training-Best Redhat Partner for 3 years -Linux Shell ScriptingCourseswww.networknuts.net

Solaris Certificate@ India's Best Place to Work for Trainers for 2010www.Koenig-Solutions.com

Job Vacancies in TCSExp: 0 to 13 Yrs.Sal: 25k to 95k PMApply Now & get Multiple InterviewsTimesJobs.com/TCS

Dedicated Server in IndiaDedicated Hosting Servers in India @99.95% Uptime SLA. Check OffersCtrls.in/Dedicated-Hosting-Servers

Red Hat Linux TrainingRHCE, RHCSS Training & Exam BestRed Hat training in Hyderabadwww.cossindia.net

Page 7: linux-qs

You may not post new threadsYou may not post repliesYou may not post attachmentsYou may not edit your posts

BB code is OnSmilies are On[IMG] code is OnHTML code is OffTrackbacks are OnPingbacks are OnRefbacks are Off

Forum Rules

Similar Threads

Thread Thread Starter Forum Replies Last Post

Real Interview Questions Ashish Pathak The Hangout 16 1st July 2010 08:15 PM

Sun Certified System Administrator for the Solaris 10 OS,Part I (CX-310-200)

nkechifesie Solaris/OpenSolaris 9 24th May 2010 01:55 AM

VERITAS CLuster Server Interview questions Ashish Pathak The Hangout 210th December 2009 05:47

AM

Important questins for tech support interview. Yogesh Linux software 3 4th December 2006 10:09AM

couple of noob questions sparky Shell scripting 8 9th April 2006 05:22 PM

All times are GMT +5.5. The time now is 12:53 PM.

Contact Us - Home - Archive - Privacy Statement - Terms of Service - Top

Powered by vBulletin® Version 3.8.6 - Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.3.2©2005-2010 nixCraft. All rights reserved

`1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40