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

Where is standard output usually directed?

2 Answers  


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

7 Answers  


How to Trouble shoot performance issue in RHEL administration ? please give to one example

0 Answers  


What are the questions we are expecting for 2yrs. experience guy for linux company interview questions?

1 Answers  


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

8 Answers   IBM,






How to check all open ports on linux machine and block unsed ports????????

7 Answers   Tech Mahindra,


how u use the iptable firewall to restrict ssh,telnet,ftp

9 Answers  


How to know what are the packages required for any service? Example: How to know what are the package required for send mail services. using any command it is passable are not?

2 Answers   OnMobile,


why accounting Software does not support on linux?

5 Answers  


how do i check which package has installed some command suppose ls , mkdir or whatever ???

8 Answers  


What is the difference between an argument and an option/switch?

3 Answers   Wipro,


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

3 Answers   Broadcom,


Categories