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

Friends, I don't have enough free space in root directory. but in home directory I have 40gb free. So I can not install anything in root directory (which occupies more space) Please suggest me If there is any possibility to increase the root directory size by minimising the home directory's.

3 Answers  


How do display error messages instantly when command fails?

4 Answers  


How to load the old kernel without rebooting server

1 Answers  


How to send automated email to a set of people at fixed time ?

3 Answers   Accenture, HP,


There are 4 network Interfaces, how can we find which one is Primary.

2 Answers  






How to apply patch for multiple servers .

1 Answers   IBM,


someone already asked 'what is diff between unix & Linux' can I ask the same but more nuanced...I have 7 years app support of unix, have never seen Linux BUT need to bluff my way through in an interview i e say that I have use Linux. What are the most important things I need to know?

1 Answers  


What is the other method of installing Linux O.S other than Text, GUI mode? Why we prefer that for installation of Linux in Real time?

2 Answers  


what are the default permissions for files and folders..?

8 Answers   IBM,


what is memory mapped / IO mapped ? Which calls used for this to access any hardware address in linux device driver ?

3 Answers   Broadcom,


Who owns the data dictionary?

2 Answers  


What are the differences between FTP , NFS , SAMBA servers explain separately.

0 Answers  


Categories