1.how to know cpu information on linux system?
2.how to hardware information on linux system?
3.if we add the new user what are the files will be changed?
4.how to remove the cache in squid server ?
5.how to know ur useing 32bit r 64 bit os ?
6.at booting process at init level which file it is reads?
7.if ur system performance is show what can u do ?
8.if ur file system corrupted what can u do ? fsck also not working?
9.how did u do health check in linux?
10.how did u check system performance in linux?
11.how did u create NIS server? give me the steps ?
12.how did u add a packages in linux ?
13.how did u know depended packages for any package useing rpm how u know?
14.how did you monitor cronjobs in linux ?
15.what is the use of logroted? and how did u do ?
16.port no is already in use so what canu do for that in http?
17.how to samba configurated are not ? there are any command for that ?
18.how to create a NTP Client using commands ? not as graphical...
19.how to know how many members are using any service? like ftp are any other services?
20.what is the differences between cmp,diff,comm commands?

Answers were Sorted based on User's Feedback



1.how to know cpu information on linux system? 2.how to hardware information on linux system? 3.if..

Answer / faiz

1.how to know cpu information on linux system?
>> cat /proc/cpuinfo
2.how to check hardware information on linux system?
>> lspci -l, dmidecode, dmesg, /proc/meminfo, /proc/cpuinfo,
fdisk -l
3.if we add the new user what are the files will be changed?
>> /etc/passwd, /etc/shadow, /etc/group
4.how to remove the cache in squid server ?
>> Locate your squid cache directory by using command "#cat
/etc/squid/squid.conf | grep ^cache_dir", it should be
/var/spool/squid. Stop squid, move or delete the cache files
and start squid.
5.how to know ur useing 32bit r 64 bit os ?
>> uname -a
6.at booting process at init level which file it is reads?
>> /etc/init.d/
7.if ur system performance is slow what can u do ?
>> sar, top. Kill or restart unwanted high consuming processes.
8.if ur file system corrupted what can u do ? fsck also not
working?
>> use e2sfck or else recreate FS and restore the last taken
backup.
9.how did u do health check in linux?
>> top, free -m, df -h, sar, vmstat, iostat, netstat -na
10.how did u check system performance in linux?
>> sar, vmstat, top
11.how did u create NIS server? give me the steps ?
>> refer http://www.linux-nis.org/nis-howto/HOWTO/ypserv.html
12.how did u add a packages in linux ?
>> using rpm -ivh <package>
13.how did u know depended packages for any package using
rpm how u know?
>> rpm -q --whatrequires <package>
14.how did you monitor cronjobs in linux ?
>> tail -f /var/log/cron.log
15.what is the use of logroted? and how did u do ?
>> To manage log files. Refer:
http://linuxers.org/howto/howto-use-logrotate-manage-log-files
16.port no is already in use so what can u do for that in http?
>> check port numbers in /etc/services and configure http
port in httpd.conf
17.how to check samba configurated or not ? there are any
command for that ?
>> check /etc/samba/smb.conf and smbd service is running
18.how to create a NTP Client using commands ? not as
graphical...
>> modify /etc/ntp.conf and start ntpd service.
19.how to know how many members are using any service? like
ftp are any other services?
>> netstat -naltp
20.what is the differences between cmp,diff,comm commands?
>> cmp is used for comparing byte-by-byte data of two files
whereas diff is tells us what's the different content of
file. comm is just sam as diff, unlike diff, the return code
from comm has no logical significance concerning the
relationship of the two files. A return code of 0 indicates
success, a return code >0 indicates an error occurred during
processing.

Is This Answer Correct ?    9 Yes 1 No

1.how to know cpu information on linux system? 2.how to hardware information on linux system? 3.if..

Answer / bykr

5.how to know ur useing 32bit r 64 bit os ?

getconf LONG_BIT

6.at booting process at init level which file it is reads?

/etc/inittab

Is This Answer Correct ?    2 Yes 0 No

1.how to know cpu information on linux system? 2.how to hardware information on linux system? 3.if..

Answer / rana

13. rpm -qa | grep "package name"

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux AllOther Interview Questions

Why is it suggested to disable journalism in ext4 filesystem?

0 Answers   IBM, TCS,


How to build new filesystem ? and what is irig file system?

3 Answers  


why accounting Software does not support on linux?

5 Answers  


This question is belong to linux support. "one of my customer told to me, my application is getting slow response". how to resolve the issue. what are the steps you will follow to resolve the issue.

0 Answers  


what is the difference between semaphore, mutex & spinlock?????

1 Answers   Patni,






i want some basic level enterview questions can any one can help me in this

1 Answers   TCL,


How to ""Add"" not replace address to same network card other than the alias way.... ??????

3 Answers  


What file should you examine to determine the defined runlevels for your system?

7 Answers  


What is the difference between RedHat linux and Fedora and Ubuntu?

3 Answers   CSC,


what is the difference between fork and thread ? and parent and child process in fork system call?

3 Answers   Satyam,


expalin the process of kickstart installation?

1 Answers   HCL, IBM,


how to recollect root password

3 Answers   Google,


Categories