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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

719


Why is it suggested to disable journalism in ext4 filesystem?

3075


What is Hard mount and soft Mount?

1380


i installed clustering packages.When i try to run it getting LUCI error...what is it..??

1967


What is the difference between ext3 and ext4?

2026






I want to configure production interface and manage interface, how to configure both interfaces in Linux. please post the answers

1520


As a system admin i want to know some things what are the troubleshooting issues we are facing frequently and what are the tickets will be raised.

1099


what is the gate of ftp server in redhat linux?

1451


what is difference between  TFTP abd FTP?

1629


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.

1472


How to catagories tickets in RHEL, which tickets are belong to PROBLEM, INCIDENT and CHANGE management? please given to me with examples

1353


why /etc/shadow file do not have any permission ?

1056


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

1644


1. User gaves df -h and the system get hanged. why ? 2. what is the hardlink and softlink mount ? 3. why is portmape should be started ? 4. what is nologin option 5. how to restrict users from accessing nfs ? 6. what is the difference between cpio and tar 7. what are the kernel parameters ? how to find out it ? 8. why we use sysctl.conf ? 9. if we gives init1 from multiuser runlevel, will it affect other users who already logged in to the system ? 10. what will be the available space to use after configuering raid5 with 5 disks each having 5gb spce ?

2304