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
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 |
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 |
In how many ways linux can be installed n explain th steps involved in installation in any of the method..?
How to trace any process background processing?
what is the difference betweenh the NFS and FTP?
what is difference between TFTP abd FTP?
What is the use of DNS Server? Name other servers works same as like DNS?
How to ""Add"" not replace address to same network card other than the alias way.... ??????
How to sort a file of size 2N bytes, if I have N bytes of memory?
how to recollect root password
what is the difference between semaphore, mutex & spinlock?????
How to send automated email to a set of people at fixed time ?
Without Using $date -dyesterday. How I get the yesterday's date ?
User unable to login in server then how can u troubleshooting it? Example: server at Bangalore. in that server two users try to login in server. 1st user able to login. but second user unable to login so how can troubleshoot it ?