Computing.Net > Forums > Linux > Interview Questions

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Interview Questions

Reply to Message Icon

Name: phani.junk1
Date: October 26, 2009 at 05:57:47 Pacific
OS: RHEL 5.1
CPU/Ram: 3GB
Product: Red hat Red hat enterprise linux as 4.0 for x86 amd64 em64t cd w/ 1 year standard subscription
Subcategory: General
Comment:

Hi frds,
I found some interview questions and i need ur help for finding the answers for them. That would be great if you could even post some more questions and answers for 2-3 experience which will help people like me


1.How do you take a single line of input from the user in a shell script?
2.Write a script to convert all DOS style backslashes to UNIX style slashes in a list of files.
3.Write a regular expression (or sed script) to replace all occurrences of the letter ‘f’, followed by any number of characters, followed by the letter ‘a’, followed by one or more numeric characters, followed by the letter ‘n’, and replace what’s found with the string “UNIX”.
4.Write a script to list all the differences between two directories.
5.Write a program in any language you choose, to reverse a file.
6.What are the fields of the password file?
7.What does a plus at the beginning of a line in the password file signify?
8.Using the man pages, find the correct ioctl to send console output to an arbitrary pty.
9.What is an MX record?
10.What is the prom command on a Sun that shows the SCSI devices?
11.What is the factory default SCSI target for /dev/sd0?
12.Where is that value controlled?
13.What happens to a child process that dies and has no parent process to wait for it and what’s bad about this?
14.What’s wrong with sendmail? What would you fix?
15.What command do you run to check file system consistency?
16.What’s wrong with running shutdown on a network?
17.What can be wrong with setuid scripts?
18.What value does spawn return?
19.Write a script to send mail from three other machines on the network to root at the machine you’re on. Use a ‘here doc’, but include in the mail message the name of the machine the mail is sent from and the disk utilization statistics on each machine?
20.Why can’t root just cd to someone’s home directory and run a program called a.out sitting there by typing “a.out”, and why is this good?
21.What is the difference between UDP and TCP?
22.What is DNS?
23.What does nslookup do?
24.How do you create a swapfile?
25.How would you check the route table on a workstation/server?
26.How do you find which ypmaster you are bound to?
27.How do you fix a problem where a printer will cutoff anything over 1MB?
28.What is the largest file system size in solaris? SunOS?
29.What are the different RAID levels?



Sponsored Link
Ads by Google

Response Number 1
Name: jam
Date: October 26, 2009 at 10:09:47 Pacific
Reply:

Yeah, right.


0

Response Number 2
Name: jefro
Date: October 26, 2009 at 17:07:22 Pacific
Reply:

On 28 we'd have to know if you are using ZFS. ZFS is something like all the capacity of the worlds pc's put together times a few billion.

Playing to the angels
Les Paul (1915-2009)


0

Response Number 3
Name: ernie
Date: October 26, 2009 at 21:24:51 Pacific
Reply:

These questions look more like test questions than interview questions . . .

Ernie Registered Linux User 247790


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: Interview Questions

question about IPchains firewall www.computing.net/answers/linux/question-about-ipchains-firewall/20268.html

another internet question, www.computing.net/answers/linux/another-internet-question/26460.html

linux networking questions www.computing.net/answers/linux/linux-networking-questions/6222.html