<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-20381453</id><updated>2011-04-22T09:45:22.075+05:30</updated><title type='text'>FAQ</title><subtitle type='html'>Every answer asks a more beautiful question.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default?start-index=101&amp;max-results=100'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>265</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-20381453.post-115692331273859122</id><published>2006-08-30T13:04:00.000+05:30</published><updated>2006-08-30T13:05:12.790+05:30</updated><title type='text'>tetest</title><summary type='text'></summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115692331273859122/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115692331273859122' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115692331273859122'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115692331273859122'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/08/tetest.html' title='tetest'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115633458709220630</id><published>2006-08-23T17:31:00.000+05:30</published><updated>2006-08-28T17:10:45.753+05:30</updated><title type='text'>Import MySQL dumpfile, SQL datafile into my database</title><summary type='text'>Q. How can I import a MySQL dumpfile into my database? My old hosting provider gave me data.sql file. I do have access via ssh to server.A. Login to your system using ssh or putty (from Windows based system). For example:$ ssh loginname@server.hosting.com Now type following command to import sql data file:$ mysql -u username -p -h localhost data-base-name &lt; data.sql If you have dedicated database</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115633458709220630/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115633458709220630' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115633458709220630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115633458709220630'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/08/import-mysql-dumpfile-sql-datafile.php' title='Import MySQL dumpfile, SQL datafile into my database'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115633302626594505</id><published>2006-08-23T17:05:00.000+05:30</published><updated>2006-08-23T17:19:42.500+05:30</updated><title type='text'>Apache 403 Forbidden Error and Solution</title><summary type='text'>Q. I have successfully configured Apache web server for my client. But why does my clients website just say "Error 403 Forbidden"? For example when client send request http://myclient.com/something/ Apache generate a 403 error. How do I troubleshoot this problem?A. Error code start 4xx is generated because of client browser request. A 403 error code means client browser (or person who is trying </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115633302626594505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115633302626594505' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115633302626594505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115633302626594505'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/08/apache-403-forbidden-error-and.php' title='Apache 403 Forbidden Error and Solution'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115628346765589291</id><published>2006-08-22T03:19:00.000+05:30</published><updated>2006-08-23T03:25:42.943+05:30</updated><title type='text'>Install and Test PHP on Linux system</title><summary type='text'>Q. How can I install and test PHP on Linux? How do I  make sure it is working on my Linux system? I am using Red Hat Fedora Core Linux.A. PHP (PHP Hypertext Preprocessor) is an open-source, programming language. Originally designed as a high level scripting language for producing dynamic Web pages, PHP is used mainly in server-side application software.Task: Install PHPIf you are using Fedora </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115628346765589291/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115628346765589291' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115628346765589291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115628346765589291'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/08/install-and-test-php-on-linux-system.php' title='Install and Test PHP on Linux system'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115628240327927530</id><published>2006-08-22T03:02:00.000+05:30</published><updated>2006-08-23T03:05:05.353+05:30</updated><title type='text'>FreeBSD or BSD reboot and shutdown system</title><summary type='text'>Q. How do I reboot or shutdown BSD (FreeBSD) based system. Command shutdown -h 0 is not working for me.A. FreeBSD or other BSD uses the shutdown or halt command to shutdown system. To reboot FreeBSD/BSD box use reboot command.Task: Shutdown BSDUse shutdown command to close down the system at a given time. Type following command to shutdown system immediately:# shutdown -h nowOR# haltTask: Reboot </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115628240327927530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115628240327927530' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115628240327927530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115628240327927530'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/08/freebsd-or-bsd-reboot-and-shutdown.php' title='FreeBSD or BSD reboot and shutdown system'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115617536209764006</id><published>2006-08-21T21:18:00.000+05:30</published><updated>2006-08-21T21:19:22.116+05:30</updated><title type='text'>Fedora Core Linux chkconfig does not display service name</title><summary type='text'>Q. I have server / service is installed but it does not show up in the chkconfig --list output. I need to use full path /etc/init.d/service start. I am using Fedora Core Linux and Cent OS (RHEL based) distos.How do I solve this problem?A. Use --add option to add the service to chkconfig database. For example:# chkconfig --add lighttpdWhere,lighttpd: Service name.Now see the list with the </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115617536209764006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115617536209764006' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115617536209764006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115617536209764006'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/08/fedora-core-linux-chkconfig-does-not.php' title='Fedora Core Linux chkconfig does not display service name'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115616099744276537</id><published>2006-08-21T17:16:00.000+05:30</published><updated>2006-08-21T17:19:57.456+05:30</updated><title type='text'>I2O block arrays trouble - Linux fails to install GRUB at the end of successful installation</title><summary type='text'>Q. I am using Debian Linux (also tried Cent OS and Fedora Linux/RHEL etc). Linux fails to install GRUB boot loader at the end of successful installation. I am installing on I2O block arrays. Do I need to load something before installing on I2O block arrays?A. I2O controllers comprise many different SCSI (and rarer IDE) RAID controllerssupported by the i2o_block driver. There is a workaround this </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115616099744276537/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115616099744276537' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115616099744276537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115616099744276537'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/08/i2o-block-arrays-trouble-linux-fails.php' title='I2O block arrays trouble - Linux fails to install GRUB at the end of successful installation'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115576439077260690</id><published>2006-08-17T03:08:00.000+05:30</published><updated>2006-08-17T03:09:50.786+05:30</updated><title type='text'>Add a package group using up2date command</title><summary type='text'>Q. How can I add a package group using up2date command?A. Update Agent provides a complete system for updating the RPM packages installed on a Red Hat Enterprise Linux system. Both command line and graphical interfaces are included.Task: Install group packageFor example install all Development Tools package i.e. gcc c/c++ compiler and related libs:Login as root and type the following command:# </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115576439077260690/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115576439077260690' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115576439077260690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115576439077260690'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/08/add-package-group-using-up2date.php' title='Add a package group using up2date command'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115576029620407556</id><published>2006-08-17T02:00:00.000+05:30</published><updated>2006-08-21T00:36:46.740+05:30</updated><title type='text'>Restrict Linux users to their home directories only</title><summary type='text'>Q. How can I make sure that users can only access their own home directories?A. You can use rbash i.e. restricted bash shell.   A restricted shell is used to set up an environment more controlled than the standard shell.  It behaves identically to bash with the exception that the following are disallowed or not performed:Changing directories with cdSetting or unsetting the values of SHELL, PATH, </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115576029620407556/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115576029620407556' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115576029620407556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115576029620407556'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/08/restrict-linux-users-to-their-home.php' title='Restrict Linux users to their home directories only'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115558910702065679</id><published>2006-08-15T02:25:00.000+05:30</published><updated>2006-08-17T01:36:15.930+05:30</updated><title type='text'>Linux: Verify MD5 checksum of ISO file using Windows XP</title><summary type='text'>Q. How do verify my MD5 checksum of an ISO file under Windows XP? The Linux ISO images downloaded from the net onto Windows XP system.A. Under Linux or UNIX you can use MD5 checksum command to calculate the MD5 checksum of a file or an ISO image.Under Windows XP and other Windows operating system you need to use a special program called winMD5Sum. It is a simple open source Windows MD5 checke to </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115558910702065679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115558910702065679' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115558910702065679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115558910702065679'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/08/linux-verify-md5-checksum-of-iso-file.php' title='Linux: Verify MD5 checksum of ISO file using Windows XP'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115558761625658025</id><published>2006-08-15T02:01:00.000+05:30</published><updated>2006-08-15T02:03:36.270+05:30</updated><title type='text'>How do I start and stop NFS service?</title><summary type='text'>Q. How do I start and stop NFS service from command prompt? How do I make sure NFS always stars automatically when system boots or restarts?A. Make sure the portmap is running with the following command:# /etc/init.d/portmap startOR# /etc/init.d/portmap restart To start NFS Service type the command:# /etc/init.d/nfs startTo restart NFS Service type the command:# /etc/init.d/nfs restartTo STOP NFS</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115558761625658025/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115558761625658025' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115558761625658025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115558761625658025'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/08/how-do-i-start-and-stop-nfs-service.php' title='How do I start and stop NFS service?'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115505625544820078</id><published>2006-08-08T22:26:00.000+05:30</published><updated>2006-08-12T01:50:53.000+05:30</updated><title type='text'>Formatting usb pen in Linux</title><summary type='text'>Q. How do I format USB pen in Linux?A. You can use standard mke2fs command to format usb pen in Linux.  mke2fs  is used to create an ext2/ext3 filesystem (usually in a disk partition or other USB devices).  device is the special file corresponding to the device (e.g /dev/hdXX).  blocks-count is the number of  blocks  on  the  device.   If  omitted,  mke2fs  automagically  figures  the  file  </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115505625544820078/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115505625544820078' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115505625544820078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115505625544820078'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/08/formatting-usb-pen-in-linux.php' title='Formatting usb pen in Linux'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115505582187729727</id><published>2006-08-08T22:16:00.000+05:30</published><updated>2006-08-08T22:20:21.906+05:30</updated><title type='text'>Howto find out or Learn harddisk size in Linux or UNIX</title><summary type='text'>Q. How do I find out or learn hard disk size in Linux?A. Under Linux and UNIX you can use df command. df command displays the       amount of disk space available on the file system containing each  file  name  argument.   If  no file name is given, the space available on all  currently mounted file systems is shown.Task: Display hard disk partition size$ dfOutput:Filesystem           1K-blocks</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115505582187729727/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115505582187729727' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115505582187729727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115505582187729727'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/08/howto-find-out-or-learn-harddisk-size.php' title='Howto find out or Learn harddisk size in Linux or UNIX'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115497985980816554</id><published>2006-08-08T01:09:00.000+05:30</published><updated>2006-08-08T01:14:19.826+05:30</updated><title type='text'>How do I use shell aliases under Linux?</title><summary type='text'>Q. What is a shell alias and how do I use them under Linux?A. An alias is nothing but a short form of a Linux or UNIX command. You use aliases to save the time. To create an alias use the alias command.Task: Display current aliasesType alias command with no arguments or with the -p option prints the listof aliases in the form alias NAME=VALUE on screen:$ aliasOutput:alias cp='cp -i'alias l.='ls -</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115497985980816554/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115497985980816554' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115497985980816554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115497985980816554'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/08/how-do-i-use-shell-aliases-under-linux.php' title='How do I use shell aliases under Linux?'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115489164046144701</id><published>2006-08-06T22:08:00.000+05:30</published><updated>2006-08-07T00:44:38.836+05:30</updated><title type='text'>Linux and UNIX view command-line history</title><summary type='text'>Q. How do I view command line history? I am Cent OS.A. BASH is the default shell for Linux computers. Bash has history command. It display the history list with line numbers i.e. it lists everything you have entered on the command line. You can recall commands from history so that you can save the time.Task: View your command Line HistoryType the following command:$ historyOutput:911  man  7 </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115489164046144701/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115489164046144701' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115489164046144701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115489164046144701'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/08/linux-and-unix-view-command-line.php' title='Linux and UNIX view command-line history'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115452747999614032</id><published>2006-08-02T19:26:00.000+05:30</published><updated>2006-08-05T01:06:41.393+05:30</updated><title type='text'>Linux setup default gateway with route command</title><summary type='text'>Q. How do I setup default gateway with a route command?A. route command show and/or manipulate the IP routing table under Linux and UNIX oses.Route manipulates the kernel’s IP routing tables.  Its primary use is to set up static routes to  specific  hosts or networks via an interface after it has been configured with the ifconfig program.     When  the  add or del options are used, route modifies</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115452747999614032/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115452747999614032' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115452747999614032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115452747999614032'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/08/linux-setup-default-gateway-with-route.php' title='Linux setup default gateway with route command'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115452354052326298</id><published>2006-08-02T18:24:00.000+05:30</published><updated>2006-08-02T18:29:00.546+05:30</updated><title type='text'>Why my Apache Server Side Include (SSI) is not working?</title><summary type='text'>Q. I would like to use Server Side Include (SSI) from my html pages. But it is not working for VirtualHost. How do I configure Apache Server Side Include?A.  From Aapache site, "SSI (Server Side Includes) are directives that are placed in HTML pages, and evaluated on the server while the pages are being served. They let you add dynamically generated content to an existing HTML page, without </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115452354052326298/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115452354052326298' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115452354052326298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115452354052326298'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/08/why-my-apache-server-side-include-ssi.php' title='Why my Apache Server Side Include (SSI) is not working?'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115437279333828808</id><published>2006-08-01T00:30:00.000+05:30</published><updated>2006-08-01T00:37:46.716+05:30</updated><title type='text'>Kill process in Linux or terminate a process in UNIX or Linux systems</title><summary type='text'>Q. How do I kill process in Linux?A. Linux and all other UNIX like oses comes with kill command. The  command kill sends the specified signal (such as kill process) to the specified process or process group. If no signal is  specified, the TERM signal is sent.Kill process using kill command under Linux/UNIXkill command works under both Linux and UNIX/BSD like operating systems.Step #1: First, you</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115437279333828808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115437279333828808' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115437279333828808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115437279333828808'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/08/kill-process-in-linux-or-terminate.php' title='Kill process in Linux or terminate a process in UNIX or Linux systems'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115437103654419267</id><published>2006-08-01T00:05:00.000+05:30</published><updated>2006-08-01T00:07:16.563+05:30</updated><title type='text'>How reduce or shrink Logical Volume on Linux</title><summary type='text'>Q. How do I reduce or shrink Logical Volume on Linux? I am using CentOS Linux. Moreover, I would like to shrink or reduce a partition on an existing Logical Volume.A. You need to use e2fsadm command. This command allows you resizing of a logical volume containing a mounted or unmounted ext2/ext3 filesystem. Logical volumes can be resized dynamically while preserving data on the volume for both </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115437103654419267/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115437103654419267' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115437103654419267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115437103654419267'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/08/how-reduce-or-shrink-logical-volume-on.php' title='How reduce or shrink Logical Volume on Linux'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115427816554474109</id><published>2006-07-30T22:16:00.000+05:30</published><updated>2006-07-30T22:19:25.556+05:30</updated><title type='text'>Iptables is not sending LOG to syslog file</title><summary type='text'>Q. I am running SSH/MySQL/Webserver and setup iptables based firewall. But my logs are send to console rather than the system log files. How do make sure that iptables LOG target messages are send to /var/log/messages file?A. IPTABLES LOG module turns on kernel logging of matching packets.  When this option is set for a rule, the Linux kernel will print some   information on all matching packets </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115427816554474109/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115427816554474109' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115427816554474109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115427816554474109'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/07/iptables-is-not-sending-log-to-syslog.php' title='Iptables is not sending LOG to syslog file'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115427668347859555</id><published>2006-07-30T21:51:00.000+05:30</published><updated>2006-07-30T21:54:43.493+05:30</updated><title type='text'>Linux or UNIX securely copy files across a network computer</title><summary type='text'>Q. FTP is insecure, how do I securely copy files across a network computer? My network has Windows and Linux systems.A. You need to use Openssh client and server technology to copy between two more network computers. You can also find free ssh client tools. scp copies files between hosts on a network.  It uses ssh for data transfer, and uses the same authentication and provides the same security </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115427668347859555/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115427668347859555' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115427668347859555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115427668347859555'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/07/linux-or-unix-securely-copy-files.php' title='Linux or UNIX securely copy files across a network computer'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115419603312054461</id><published>2006-07-29T23:23:00.000+05:30</published><updated>2006-07-29T23:30:33.123+05:30</updated><title type='text'>What ports need to be open for Samba to communicate with other windows/linux systems?</title><summary type='text'>Q. What ports need to be open for Samba to communicate with other windows/linux systems? I need to configure Linux firewall so I need the exact port names.A. You can get list of ports from file called /etc/services. For your ease of use here are ports you need to open for two-way samba communication with Windows and Linux desktop systems.netbios-ns -    137/tcp                         # NETBIOS </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115419603312054461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115419603312054461' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115419603312054461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115419603312054461'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/07/what-ports-need-to-be-open-for-samba.php' title='What ports need to be open for Samba to communicate with other windows/linux systems?'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115419533355900561</id><published>2006-07-29T23:14:00.000+05:30</published><updated>2006-07-29T23:18:53.563+05:30</updated><title type='text'>Ubuntu Linux enable telnet service</title><summary type='text'>Q. How do I start telnet service under Ubuntu Linux?A. Telnet is an insecure service. It is recommended that you use ssh service. However sometime telnet server or service is needed. Here are instructions to enable telnet:Install telnetd server$ sudo apt-get install telnetdRestart inetd service:$ sudo /etc/init.d/inetd restartYou should now be able to telnet to the server from Windows or Linux </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115419533355900561/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115419533355900561' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115419533355900561'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115419533355900561'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/07/ubuntu-linux-enable-telnet-service.php' title='Ubuntu Linux enable telnet service'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115419480874269349</id><published>2006-07-29T23:07:00.000+05:30</published><updated>2006-07-29T23:10:08.756+05:30</updated><title type='text'>How do I start Oracle service in UNIX?</title><summary type='text'>Q. How do I start Oracle service in UNIX? I am using Solaris UNIX.A. In order to start Oracle service in UNIX you need to login as Oracle user. Use su – command:$ su - oracleNow use lsnrctl command to start service (usually located at /home/oracle/oracle/product/10.2.0/db_1/bin directory):$ lsnrctl startNext start database:$ dbstartTo stop Oracle service in UNIXTo stop Oracle servuice type </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115419480874269349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115419480874269349' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115419480874269349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115419480874269349'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/07/how-do-i-start-oracle-service-in-unix.php' title='How do I start Oracle service in UNIX?'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115412360157093079</id><published>2006-07-29T03:19:00.000+05:30</published><updated>2006-07-29T03:23:21.583+05:30</updated><title type='text'>Linux mount and access a compact flash card - howto</title><summary type='text'>Q. I have a compact flash card reader hardware device connected to USB port of computer system. Now how do I mount and access a compact flash card connected to this Linux system (Fedora Core)?A. Your compact flash card will automatically detected by Linux. First create a mount point (type the following command as root user):# mkdir -p /mnt/cflashcardIf you don’t have any SCSI device, your first </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115412360157093079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115412360157093079' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115412360157093079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115412360157093079'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/07/linux-mount-and-access-compact-flash.php' title='Linux mount and access a compact flash card - howto'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115412222233149259</id><published>2006-07-29T02:58:00.000+05:30</published><updated>2006-07-29T03:03:51.413+05:30</updated><title type='text'>How can I restore a backup of a MySQL database?</title><summary type='text'>Q. I made MySQL backup using mysqldump-u user -h localhost -ppassword forumdb |  -gzip -9 &gt; forumdb.sql.gz command. How do I restore backup MySQL database?A. mysqldump command is text-based client or tool for dumping or backing up mysql databases, tables and or data. You can use same command as follows:$ gunzip forumdb.gzNow restore using mysqldump$ mysqldump -u user -h localhost -ppassword </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115412222233149259/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115412222233149259' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115412222233149259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115412222233149259'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/07/how-can-i-restore-backup-of-mysql.php' title='How can I restore a backup of a MySQL database?'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115412152818059103</id><published>2006-07-29T02:38:00.000+05:30</published><updated>2006-07-29T02:48:48.226+05:30</updated><title type='text'>Linux display CPU information - number of CPUs and their speed</title><summary type='text'>Q. How do I display CPU information such as the number of CPUs and their speed?A. Proc (/proc) file system provides easy information about CPU and their speed.The  proc  filesystem  is a pseudo-filesystem which is used as an interface to kernel data structures. It is commonly mounted at /proc.  Most of it is read-only, but some files allow kernel variables to be changed.You need to use  /proc/</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115412152818059103/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115412152818059103' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115412152818059103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115412152818059103'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/07/linux-display-cpu-information-number.php' title='Linux display CPU information - number of CPUs and their speed'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115366608849150190</id><published>2006-07-23T20:02:00.000+05:30</published><updated>2006-07-23T20:18:08.516+05:30</updated><title type='text'>Linux Force fsck on the next reboot or boot sequence</title><summary type='text'>Q. I want to force fsck on the next reboot? How do I force fsck? Is there any configuration file that I need to alter....A. fsck  is  used to check and optionally repair one or more Linux file systems. You don’t have to create or alter/modify any file. All you need to do is just create empty file /forcefsck.By creating /forcefsck file you will force the Linux system (or rc scripts) to perform a </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115366608849150190/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115366608849150190' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115366608849150190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115366608849150190'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/07/linux-force-fsck-on-next-reboot-or.php' title='Linux Force fsck on the next reboot or boot sequence'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115366467157734346</id><published>2006-07-23T19:51:00.000+05:30</published><updated>2006-07-23T19:54:31.590+05:30</updated><title type='text'>Linux Setting up a software RAID1 system for a complete mirror</title><summary type='text'>Q. How do I setup a software RAID1 system for a complete mirror? I am using Cent OS Linux distribution,A. You can setup a software RAID during installation. However for some reason if you cannot setup RAID 1 during installation, then consider reading this tutorial. It explains how to setup a RAID 1 on a running system.</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115366467157734346/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115366467157734346' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115366467157734346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115366467157734346'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/07/linux-setting-up-software-raid1-system.php' title='Linux Setting up a software RAID1 system for a complete mirror'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115316035994240157</id><published>2006-07-17T23:40:00.000+05:30</published><updated>2006-07-19T16:05:53.920+05:30</updated><title type='text'>Linux log files location and how do I view logs files?</title><summary type='text'>Q. I am new to Linux and I would like to know where are the log files located under Debian or Cento OS Linux server? How do I open or view log files?A. Almost all logfiles are located under /var/log directory (and subdirectory). You can change to this directory using cd command but you need to be the root user. You can use less, more, cat or tail command to see the logs.Go to /var/logs directory:</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115316035994240157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115316035994240157' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115316035994240157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115316035994240157'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/07/linux-log-files-location-and-how-do-i.php' title='Linux log files location and how do I view logs files?'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115315776742797216</id><published>2006-07-17T23:04:00.000+05:30</published><updated>2006-07-17T23:06:07.453+05:30</updated><title type='text'>Disable graphical GRUB splash screen</title><summary type='text'>Q. I don't like the graphical GRUB splash screen provided by SUSE Linux. How do I disable graphical GRUB splash screen?A. You can disable your graphical splash or boot screen. All you need to do is edit the grub.conf or grub.lst file located at /boot/grub/grub.confOpen grub.conf using text editor:# vi /boot/grub/grub.confNow find the line which starts with the word splashimage and comment it out </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115315776742797216/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115315776742797216' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115315776742797216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115315776742797216'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/07/disable-graphical-grub-splash-screen.php' title='Disable graphical GRUB splash screen'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115290671135527810</id><published>2006-07-15T01:19:00.000+05:30</published><updated>2006-07-15T01:21:51.373+05:30</updated><title type='text'>Iptables setup masquerading for Linux firewall</title><summary type='text'>Q. How do I setup masquerading for my Linux iptables firewall? What rules I need to apply or write?A. Iptables  is  used  to  set  up, maintain, and inspect the tables of IP packet filter rules in the Linux kernel.  Several different tables  may be  defined.   Each  table contains a number of built-in chains and may also contain user-defined chains. However, to setup masquerading you need to use </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115290671135527810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115290671135527810' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115290671135527810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115290671135527810'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/07/iptables-setup-masquerading-for-linux.php' title='Iptables setup masquerading for Linux firewall'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115287464257886170</id><published>2006-07-14T16:24:00.000+05:30</published><updated>2006-07-16T23:50:38.090+05:30</updated><title type='text'>Qmail allow email from my own domain (particular domain) only</title><summary type='text'>Q. How do I allow receiving email from my own domain only? I am using Qmail mail server software under Fedora Core Linux.A. You can  change  the behavior of the qmail system by modifying qmail's control files. This is essential as you do not want to become a source of open mail relay.  By default qmail will not relay. However every persons need is different. You can force qmail to accept domain </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115287464257886170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115287464257886170' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115287464257886170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115287464257886170'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/07/qmail-allow-email-from-my-own-domain.php' title='Qmail allow email from my own domain (particular domain) only'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115278858044992744</id><published>2006-07-13T16:31:00.000+05:30</published><updated>2006-07-13T16:33:00.466+05:30</updated><title type='text'>Qmail delivering mail ~/Mailbox home directories</title><summary type='text'>Q. I have installed and configured qmail successfully. Everything is working fine except that mail for loacal user can not be read using mail command. How do I fix this problem?A. If you are delivering mail into ~/Mailbox for each user instead of /var/mail directory, you need to setup few things so that mail can read using mail and other command line tools.Type following command at shell prompt:$</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115278858044992744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115278858044992744' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115278858044992744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115278858044992744'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/07/qmail-delivering-mail-mailbox-home.php' title='Qmail delivering mail ~/Mailbox home directories'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115264395325533627</id><published>2006-07-12T00:20:00.000+05:30</published><updated>2006-07-12T00:22:33.273+05:30</updated><title type='text'>Analog Input: Cannot display this video mode error and solution</title><summary type='text'>Q. I am getting following error:Analog Input: Cannot display this video mode.What is the meaning of this error and How do I fix it?A. This error indicates that current monitor refresh rate is not correct i.e out of monitor range. You need to consult monitor manufacturer to get correct refresh rate values (visit web site or read manual). Once you got the correct values, reconfigure your monitor (X</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115264395325533627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115264395325533627' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115264395325533627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115264395325533627'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/07/analog-input-cannot-display-this-video.php' title='Analog Input: Cannot display this video mode error and solution'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115254592830098840</id><published>2006-07-10T21:01:00.000+05:30</published><updated>2006-07-10T21:08:51.293+05:30</updated><title type='text'>How do I permanently erase hard disk?</title><summary type='text'>Q. I am going to sell my laptop soon. Before discarding my system, I want to make sure that no one should able to use my personal data using any method (format do not work). Is there any open source software out there that can help me permanently erase my hard disk?A. You can use standard dd command. But I recommend using shred command.Step # 1:  First, download knoppix Live CD. Step #2 : Boot </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115254592830098840/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115254592830098840' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115254592830098840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115254592830098840'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/07/how-do-i-permanently-erase-hard-disk.php' title='How do I permanently erase hard disk?'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115229800753704154</id><published>2006-07-08T00:14:00.000+05:30</published><updated>2006-07-08T00:16:47.550+05:30</updated><title type='text'>Default username created during a new installation of Linux?</title><summary type='text'>Q. I am new to Linux. After installing Fedora Core 4, it is prompting for username and password at GUI window Login screen. I don’t want to install Linux again. What is the default username created during a new installation of Fedora Core Linux?A. It is created for system admin account called root and the password you entered during installation is for root user.Username: rootPassword: Password </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115229800753704154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115229800753704154' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115229800753704154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115229800753704154'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/07/default-username-created-during-new.php' title='Default username created during a new installation of Linux?'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115218901724519751</id><published>2006-07-06T17:57:00.000+05:30</published><updated>2006-07-11T04:54:44.893+05:30</updated><title type='text'>Linux performance tools to troubleshoot problem</title><summary type='text'>Q. I am new to Linux. What tools or commands are recommended to troubleshoot performance related problems?A. Following are the basic or essential tools that every Linux or UNIX system admin should be aware of:a) topb) sarc) vmstatd) iostate) freetop commandThe top program provides a dynamic real-time view of a running system.  It can display system summary information as well as a list of tasks </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115218901724519751/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115218901724519751' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115218901724519751'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115218901724519751'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/07/linux-performance-tools-to.php' title='Linux performance tools to troubleshoot problem'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115158446263293155</id><published>2006-06-29T18:00:00.000+05:30</published><updated>2006-06-29T18:05:34.200+05:30</updated><title type='text'>Linux Move a print job from one queue to another</title><summary type='text'>Q. I have two queues. Under Windows it is very easy to move a print job from one queue to another. But how do I move a print job from one queue to another under Linux computer or server?A. You need to use lpmove command which is use to move a job or all jobs to a new destination i.e. from one queue to another queue. Job can be the job ID number or the old destination and job ID.For example, if </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115158446263293155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115158446263293155' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115158446263293155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115158446263293155'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/06/linux-move-print-job-from-one-queue-to.php' title='Linux Move a print job from one queue to another'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115148095727110853</id><published>2006-06-28T13:11:00.000+05:30</published><updated>2006-07-07T20:31:39.776+05:30</updated><title type='text'>Warning, got duplicate tcp line - netstat error and solution</title><summary type='text'>Q. Whenever I run netstat command it bumps be back with an error, which read as follows:tcp        0      0 ip-201-19-xxx-xxx.ip.s:http adsl-71-129-54-230.dsl:2249 TIME_WAITtcp        0      0 ip-201-19-xxx-xxx.ip.s:http ca-dstreet-cuda3-c6a-5:4380 TIME_WAITtcp        0      0 ip-201-19-xxx-xxx.ip.s:http ip72-199-249-17.sd.sd.:1845 TIME_WAITtcp        0      0 ip-201-19-xxx-xxx.ip.s:http </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115148095727110853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115148095727110853' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115148095727110853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115148095727110853'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/06/warning-got-duplicate-tcp-line-netstat.php' title='Warning, got duplicate tcp line - netstat error and solution'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115107113679825660</id><published>2006-06-23T19:25:00.000+05:30</published><updated>2006-06-23T19:40:28.993+05:30</updated><title type='text'>Adding a user to a Samba (SMB) share</title><summary type='text'>Q. I am using Fedora Linux and I would like to add a user called joe to Samba. How do I add a user SMB share?A. The procedure is as follows:First add Linux/UNIX user using useradd/adduser command.Then use same user name to add to Samba share using smbpasswd command.Step # 1: Add a user joe to UNIX/Linux systemadduser  command adds  user  to the system according to command line options and </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115107113679825660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115107113679825660' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115107113679825660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115107113679825660'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/06/adding-user-to-samba-smb-share.php' title='Adding a user to a Samba (SMB) share'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115099063219942302</id><published>2006-06-22T21:06:00.000+05:30</published><updated>2006-06-22T21:10:41.270+05:30</updated><title type='text'>Ubuntu Linux How do I install .deb packages?</title><summary type='text'>Q. I am new to Ubuntu Linux. I need to install a package called package.deb. I know I can use Synaptic package management to install packages from CD or Internet. But I want to install this special .deb file. So how can I install package?A. You need to use dpkg  package manager from shell/command prompt. dpkg is a tool to install, build, remove and manage packages.To install package called </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115099063219942302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115099063219942302' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115099063219942302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115099063219942302'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/06/ubuntu-linux-how-do-i-install-deb.php' title='Ubuntu Linux How do I install .deb packages?'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115099013450492200</id><published>2006-06-22T20:56:00.000+05:30</published><updated>2006-06-22T20:58:54.526+05:30</updated><title type='text'>Ubuntu Linux: How to reconfigure X windows system (X.org server)</title><summary type='text'>Q. I had messed up my Ubuntu Linux X windows configuration by editing files. Now all I want is my default settings back to previous state. How do I reconfigure X.org windows system?A. You need to use dpkg-reconfigure command which reconfigures packages after they have already been installed. Pass it the names of a package or   packages to reconfigure. It will ask configuration questions, much </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115099013450492200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115099013450492200' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115099013450492200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115099013450492200'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/06/ubuntu-linux-how-to-reconfigure-x.php' title='Ubuntu Linux: How to reconfigure X windows system (X.org server)'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115096541152763957</id><published>2006-06-22T14:05:00.000+05:30</published><updated>2006-06-22T14:06:51.540+05:30</updated><title type='text'>Solaris backspace key issue problem and solution</title><summary type='text'>Q.When you telnet from Solaris 9 to other UNIX box   the backspace key does not work. This is not at all convenient to me.  How do I fix this issue?A. You need to use tty command which is use to change and print terminal line settings.Type the following commands:$ stty intr$ stty erase$ stty echoeNow your backspace key should work.See also:Read the man page of stty for more information.</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115096541152763957/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115096541152763957' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115096541152763957'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115096541152763957'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/06/solaris-backspace-key-issue-problem.php' title='Solaris backspace key issue problem and solution'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115083254827180989</id><published>2006-06-21T01:11:00.000+05:30</published><updated>2006-06-21T01:12:56.533+05:30</updated><title type='text'>How do I verify that service is turned on in xinetd under Fedora or Red Hat Linux?</title><summary type='text'>Q. I am running Fedora Linux version 4.0 server. Couple of services run under xinetd. Now how do I verify that service is turned on in xinetd?A. You can use command line tool called chkconfig or text based GUI tool called ntsysv. For example see if service foo:# chkconfig --list fooOutput:foo          offAs you see service foo is off, to turn on type command:# chkconfig foo on# chkconfig --list </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115083254827180989/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115083254827180989' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115083254827180989'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115083254827180989'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/06/how-do-i-verify-that-service-is-turned.php' title='How do I verify that service is turned on in xinetd under Fedora or Red Hat Linux?'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115080147122209640</id><published>2006-06-20T16:31:00.000+05:30</published><updated>2006-06-21T17:12:29.773+05:30</updated><title type='text'>Sendmail blocking spam email id, ips with access database</title><summary type='text'>Q. How do I block some1@domain.com or IP address for Sendmail spammers?A. Sendmail offers various options to block an email address, domain name or IP address using access database.File /etc/mail/access act as an access control for your Sendmail smtp server. With this file you can define:Who we accept mail fromWho we accept relaying fromWho we will not send to etcConfiguration# vi  /etc/mail/</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115080147122209640/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115080147122209640' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115080147122209640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115080147122209640'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/06/sendmail-blocking-spam-email-id-ips.php' title='Sendmail blocking spam email id, ips with access database'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-115054623353182769</id><published>2006-06-17T17:39:00.000+05:30</published><updated>2006-06-17T17:52:10.700+05:30</updated><title type='text'>How can I setup 1920x1200 resolutions for XFree86?</title><summary type='text'>Q. I would like to setup 1920x1200 resolution for my XFree86 X windows system. How do I setup in XFree86? I am using Fedora Linux v5.0.A. XFree86  is an X server that was originally designed for UNIX and UNIX like (BSD/Linuix) operating systems running on Intel x86 hardware.  It now runs on a       wider range of hardware and OS platforms.File /etc/X11/XF86Config is a server configuration file </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/115054623353182769/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=115054623353182769' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115054623353182769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/115054623353182769'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/06/how-can-i-setup-1920x1200-resolutions.php' title='How can I setup 1920x1200 resolutions for XFree86?'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114977222231424681</id><published>2006-06-08T18:38:00.000+05:30</published><updated>2006-06-21T17:45:34.216+05:30</updated><title type='text'>Delete or remove a directory Linux command</title><summary type='text'>Q. I am new to Linux and command line. How do I delete or remove a directory?A. Use rmdir command. This command remove the DIRECTORY(ies), if they are empty. For example type following command to remove /tmp/docs directory:$ rmdir /tmp/docsIf directory is not empty you will get an error:$ rmdir lettersOutput:rmdir: letters: Directory not emptyYou can chage directory to find out files:$ cd letters</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114977222231424681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114977222231424681' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114977222231424681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114977222231424681'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/06/delete-or-remove-directory-linux.php' title='Delete or remove a directory Linux command'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114967017101139951</id><published>2006-06-07T14:13:00.000+05:30</published><updated>2006-06-07T14:19:31.030+05:30</updated><title type='text'>Linux setup a Concurrent Versioning System (CVS) howto</title><summary type='text'>Q. I am planning to use Concurrent Versioning System. I am using both Red Hat and Fedora Linux. How do I setup a CVS server?A. Concurrent Versioning System (CVS) a widely used version control system for software development or data archiving solutions.From the wiki page, "CVS keeps track of all work and all changes in a set of files, typically the implementation of a software project, and allows </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114967017101139951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114967017101139951' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114967017101139951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114967017101139951'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/06/linux-setup-concurrent-versioning.php' title='Linux setup a Concurrent Versioning System (CVS) howto'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114942724792215587</id><published>2006-06-04T18:47:00.000+05:30</published><updated>2006-06-12T15:30:18.163+05:30</updated><title type='text'>Avoid typing sudo on Ubuntu Linux</title><summary type='text'>Q. How do I disable sudo command? I prefer old way to become super-user i.e use of  'su -' command.A. New Ubuntu Linux v6.06 (LTS) Server is here and one of the annoying feature is use sudo (which is good for Desktop systems) for each command. On a dedicated Linux server I prefer to use su to become a super user and then run command and log out.So after installation type following commands to </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114942724792215587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114942724792215587' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114942724792215587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114942724792215587'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/06/avoid-typing-sudo-on-ubuntu-linux.php' title='Avoid typing sudo on Ubuntu Linux'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114940701695594132</id><published>2006-06-04T13:07:00.000+05:30</published><updated>2006-08-18T18:53:00.573+05:30</updated><title type='text'>Ubuntu Linux OpenSSH Server installation and configuration</title><summary type='text'>Q. I have just installed Ubuntu 6.06 and I would like to allow remote login to my system from home via ssh. How do I install and configure SSH server?A. OpenSSH is a FREE version of the SSH connectivity tools that technical users of the Internet rely on. Users of telnet, rlogin, and ftp may not realize that their password is transmitted across the Internet unencrypted, but it is. OpenSSH encrypts</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114940701695594132/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114940701695594132' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114940701695594132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114940701695594132'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/06/ubuntu-linux-openssh-server.php' title='Ubuntu Linux OpenSSH Server installation and configuration'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114923721418899539</id><published>2006-06-02T13:55:00.000+05:30</published><updated>2006-06-02T14:04:45.076+05:30</updated><title type='text'>Linux creating or adding new network alias to a network card (NIC)</title><summary type='text'>Q. I would like to create alias for my network card (NIC) i.e. How do I setup 2 IP address on One NIC? or  How do I add alias?A. Linux allows you to add additional network address using alias feature. Please note that all additional network IP address must be in same subnet. For example if your eth0 using 192.168.1.5 IP address then alias must be setup using 192.168.1.0/24 subnet.Using ifconfig </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114923721418899539/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114923721418899539' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114923721418899539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114923721418899539'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/06/linux-creating-or-adding-new-network.php' title='Linux creating or adding new network alias to a network card (NIC)'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114880597160097614</id><published>2006-05-28T14:03:00.000+05:30</published><updated>2006-05-28T14:20:38.896+05:30</updated><title type='text'>Error /dev/hdX does not have any corresponding BIOS drive and Solution</title><summary type='text'>Q. After windows XP installation I lost my Grub boot loader and now when I try to run grub-install command to restore Grub in master boot record. But I am getting an error that read as follows: /dev/sda does not have any corresponding BIOS driveHow do I fix this problem?A. grub-install is use to install GRUB on your drive. If you are getting error then try to recheck device map. Type the command </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114880597160097614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114880597160097614' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114880597160097614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114880597160097614'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/error-devhdx-does-not-have-any.php' title='Error /dev/hdX does not have any corresponding BIOS drive and Solution'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114873057626355773</id><published>2006-05-27T17:16:00.000+05:30</published><updated>2006-05-27T17:19:36.576+05:30</updated><title type='text'>Making changes to /proc filesystem permanently</title><summary type='text'>Q.  How do I make changes to /proc filesystem permanently? For example I want to se fs.file-max  to 65536, I can use command echo “65536” /proc/sys/fs/file-max. But, after rebooting my Linux server this value will be reset to the default. How do I make it permanent?A. You are right. You are using sysctl. It  is used to modify kernel parameters at runtime.  The parameters available are those </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114873057626355773/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114873057626355773' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114873057626355773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114873057626355773'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/making-changes-to-proc-filesystem.php' title='Making changes to /proc filesystem permanently'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114872868378045800</id><published>2006-05-27T16:44:00.000+05:30</published><updated>2006-05-27T16:48:03.806+05:30</updated><title type='text'>Howto rebuilding a RAID array after a disk fails</title><summary type='text'>Q. I have two disk-mirrored array, suppose if one of my disk in mirrored RAID array fails, then I will replace that disk with new one (I have hot swapping SCSI drives). Now question is how I rebuild a RAID array after a disk fails.A. A redundant array of inexpensive disks, (redundant array of independent disks) is a system, which uses multiple hard drives to share or replicate data among the </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114872868378045800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114872868378045800' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114872868378045800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114872868378045800'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/howto-rebuilding-raid-array-after-disk.php' title='Howto rebuilding a RAID array after a disk fails'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114864720254724960</id><published>2006-05-26T18:06:00.000+05:30</published><updated>2006-05-26T18:10:05.833+05:30</updated><title type='text'>How do I use MSN or Yahoo or ICQ instant messaging under Linux?</title><summary type='text'>Q. I have lots friends most of them use MSN, ICO or Yahoo for chatting purpose. So how do I chat using Linux?A. You need to use Gaim messenger. It is an instant messenger that supports many commonly used instant messaging systems including:YahooMSNICQJabberInternet Relay Chat and others (see complete list)Gaim supports plugins for RSA and GPG encryption, as well as Off-the-record messaging.Gaim </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114864720254724960/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114864720254724960' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114864720254724960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114864720254724960'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/how-do-i-use-msn-or-yahoo-or-icq.php' title='How do I use MSN or Yahoo or ICQ instant messaging under Linux?'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114849937579712233</id><published>2006-05-25T01:04:00.000+05:30</published><updated>2006-06-16T15:54:55.956+05:30</updated><title type='text'>MySQL error 28 and solution</title><summary type='text'>Q. I am getting an error that read as follows:MySQL: got error 28 from server handlerHow do I fix this problem?A. This error means no space left on hard disk. According to official MySQL docs,  “If you get his error, you need to check all filesystems where MySQL operates. It may be single filesystem or as we recommend you can have datadir, tmpdir and log files split into dedicated filesystems.”</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114849937579712233/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114849937579712233' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114849937579712233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114849937579712233'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/mysql-error-28-and-solution.php' title='MySQL error 28 and solution'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114849848783537179</id><published>2006-05-25T00:49:00.000+05:30</published><updated>2006-05-25T00:51:27.853+05:30</updated><title type='text'>How do I move spam mail to spam folder?</title><summary type='text'>Q. I want to move all mails tagged as spam to  "spam" folder. How do I configure it?A. If you have Procmail and Spamassassin installed, then you can move mails using Procmail. It is a mail delivery agent (MDA) or mail filter, a program to process incoming emails on a computer, widely used on Unix systemsOpen ~/.procmail file:$ vi ~/.procmailAppend following lines:# All mail tagged as spam is </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114849848783537179/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114849848783537179' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114849848783537179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114849848783537179'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/how-do-i-move-spam-mail-to-spam-folder.php' title='How do I move spam mail to spam folder?'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114832531038025409</id><published>2006-05-23T00:40:00.000+05:30</published><updated>2006-06-24T23:18:20.030+05:30</updated><title type='text'>Mounting windows partition onto ubuntu Linux</title><summary type='text'>Q. How do I mount NTFS or FAT paritions under ubuntu Linux?A. You can mount NTFS or FAT windows partition with mount command.Click on ApplicationsSelect AccessoriesSelect TerminalNow terminal window will be on screen.First you need to create directory where you can attach windows partition using mount command (for example /media/c for C:):# sudo mkdir –p /media/cNow find out list of partition (</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114832531038025409/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114832531038025409' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114832531038025409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114832531038025409'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/mounting-windows-partition-onto-ubuntu.php' title='Mounting windows partition onto ubuntu Linux'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114832281878966278</id><published>2006-05-23T00:01:00.000+05:30</published><updated>2006-05-23T00:05:16.066+05:30</updated><title type='text'>unmount: /cdrom device is busy error and solution</title><summary type='text'>Q. I am trying to unmount remotely hosted Linux server. I have CD mounted and when ever I type command umount /cdrom or umount /dev/cdrom I get an error that read as follows:unmount: /cdrom device is busyHow do I solve this problem?A. In order to solve this problem. Run umount command as follows:# cd /# umount /cdromIf problem still continues then forcefully unmount the cdrom:# cd /# fuser -km /</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114832281878966278/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114832281878966278' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114832281878966278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114832281878966278'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/unmount-cdrom-device-is-busy-error-and.php' title='unmount: /cdrom device is busy error and solution'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114832166304064324</id><published>2006-05-22T23:42:00.000+05:30</published><updated>2006-05-22T23:44:23.053+05:30</updated><title type='text'>Increase the number of telnet sessions allowed</title><summary type='text'>Q. I am using Fedora Linux and it act as telnet server for our University UNIX lab. We have total 250 computers. At a pick time more than 100 people try to connect server. Only 90 connections are allowed (configured by old admin). Now I want to take this limit to 300 connections or instances. How do I increase the number of telnet sessions allowed?A. Under Fedora Linux (and old Red Hat Linux or </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114832166304064324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114832166304064324' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114832166304064324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114832166304064324'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/increase-number-of-telnet-sessions.php' title='Increase the number of telnet sessions allowed'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114821317507805575</id><published>2006-05-21T17:31:00.000+05:30</published><updated>2006-05-21T17:48:56.623+05:30</updated><title type='text'>Access NAS server using NFS protocol under Linux or UNIX</title><summary type='text'>NFS (Network File System) is a protocol originally developed by Sun Microsystems. NFS used by UNIX and Linux oses as a distributed file system which allows a computer/server/workstation to access files over a network.NFS is a popular file-sharing protocol for Linux and UNIX. NAS (Network attached storage) also supports NFS configuration. In order to use NFS you need to run portmap service and </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114821317507805575/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114821317507805575' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114821317507805575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114821317507805575'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/access-nas-server-using-nfs-protocol.php' title='Access NAS server using NFS protocol under Linux or UNIX'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114804309928980772</id><published>2006-05-19T18:18:00.000+05:30</published><updated>2006-05-19T18:28:18.386+05:30</updated><title type='text'>Access NAS server using Windows 2000 or 2003 server</title><summary type='text'>As I said earlier, Network Attached Storage (NAS) commonly used to store backup and other shared files over TCP/IP network. Use following instructions to configure windows 2000 or 2003 server client:Using Windows ExplorerOpen MS-Windows Explorer.On the Tools menu, click Map Network Drive.Select a drive letter in the Drive box    In the Folder box, type the UNC path for the NAS server (\\server </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114804309928980772/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114804309928980772' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114804309928980772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114804309928980772'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/access-nas-server-using-windows-2000.php' title='Access NAS server using Windows 2000 or 2003 server'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114804160922717755</id><published>2006-05-19T17:54:00.000+05:30</published><updated>2006-05-19T18:07:49.620+05:30</updated><title type='text'>How do I access NAS server using automount?</title><summary type='text'>Network-attached storage commonly used to store backup and other shared files over TCP/IP network. For example:i) Corporate e-mail system with multiple, load-balanced webmail serversii) Load-balanced web servers access the same contents from NAS storageiii) Backup files or dumps to NAS storage from all other servers using FTP/NFS/CIFS.Autofs is a automounter for Linux. It allows:a) Mount your </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114804160922717755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114804160922717755' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114804160922717755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114804160922717755'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/how-do-i-access-nas-server-using.php' title='How do I access NAS server using automount?'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114794927774656188</id><published>2006-05-18T16:14:00.000+05:30</published><updated>2006-05-18T16:17:57.750+05:30</updated><title type='text'>Linux add a swap file howto</title><summary type='text'>Q. I need additional swap space to improve my system performance. How do I add a swap file to Linux system?A. You can add swap file as a dedicated partition or use following instructions to create a swap file.a) Login as the root userb) Type following command to create 512MB swap file (1024 * 512MB =  524288 block size):# dd if=/dev/zero of=/swapfile1 bs=1024 count=524288c) Set up a Linux swap </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114794927774656188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114794927774656188' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114794927774656188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114794927774656188'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/linux-add-swap-file-howto.php' title='Linux add a swap file howto'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114794822726023358</id><published>2006-05-18T15:58:00.000+05:30</published><updated>2006-05-18T16:04:13.736+05:30</updated><title type='text'>How do I update Ubuntu Linux softwares?</title><summary type='text'>Q. I have latest version of Ubuntu Linux. How do I update Ubuntu Linux for security and application fix or upgrades?A. Ubuntu Linux can be upgraded using GUI tools or using traditional command line tools.Using apt-get command line toola) Open terminal and type following two commands:b) Get update software list: $ sudo apt-get updatec) Update software(s) i.e. apply updates: $ sudo apt-get upgraded</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114794822726023358/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114794822726023358' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114794822726023358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114794822726023358'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/how-do-i-update-ubuntu-linux-softwares.php' title='How do I update Ubuntu Linux softwares?'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114778282543303689</id><published>2006-05-16T18:01:00.000+05:30</published><updated>2006-05-16T18:03:45.460+05:30</updated><title type='text'>PHP not connecting to a MySQL database server</title><summary type='text'>Q. I have Apache Web server and MySQL configured. Everything works fine except I am not able to connect to a MySQL database server (I am able to connect mysql server with mysql client). So how do I configure or connect PHP scripts?A. You need to install MySQL module for php4 or php5. Without this scripts you will be not able to connect to MySQL database server.If you are using Debian LinuxTo </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114778282543303689/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114778282543303689' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114778282543303689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114778282543303689'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/php-not-connecting-to-mysql-database.php' title='PHP not connecting to a MySQL database server'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114778180421508814</id><published>2006-05-16T17:45:00.000+05:30</published><updated>2006-05-16T17:46:44.226+05:30</updated><title type='text'>Linux Virtual Private Network setup</title><summary type='text'>Q: What software program do I have to use under Linux for Virtual Private Network (VPN)?A:  A virtual private network (VPN) is a private communications network. It provide a secure connection through an otherwise insecure network, typically the Internet. VPNs are generally cheaper than real private networks using private lines but rely on having the same encryption system at both ends.Linux </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114778180421508814/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114778180421508814' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114778180421508814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114778180421508814'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/linux-virtual-private-network-setup.php' title='Linux Virtual Private Network setup'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114750544193965512</id><published>2006-05-13T12:59:00.000+05:30</published><updated>2006-06-29T14:02:56.096+05:30</updated><title type='text'>Linux reset forgotten root password</title><summary type='text'>Q. I forgot my root password, how can I get into my system?A. You can reset forgotten root password under Linux by booting system into single user mode or emergency mode (also known as rescue mode).My boot loader is GRUB (see LILO boot loader below)Following is the procedure to reset root password if you are using GRUB as a boot loader:Select the kernelPress the e key to edit the entrySelect </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114750544193965512/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114750544193965512' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114750544193965512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114750544193965512'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/linux-reset-forgotten-root-password.php' title='Linux reset forgotten root password'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114749542165016021</id><published>2006-05-13T10:11:00.000+05:30</published><updated>2006-05-13T10:14:46.420+05:30</updated><title type='text'>Linux copy data from a floppy to hard disk</title><summary type='text'>Q. How do I copy files from a floppy disk to my hard disk. I am using a 1.44 MB floppy.A. /dev/fd0 is your first floppy disk drive (/dev/fd1 is second and so on) under Linux. You need to use normal mount command. All files accessible in a Unix system are arranged in one big tree, the file hierarchy, rooted at /.  These files  can be spread out over several devices. The mount command serves to </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114749542165016021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114749542165016021' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114749542165016021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114749542165016021'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/linux-copy-data-from-floppy-to-hard.php' title='Linux copy data from a floppy to hard disk'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114741289501360943</id><published>2006-05-12T11:14:00.000+05:30</published><updated>2006-05-12T11:24:29.716+05:30</updated><title type='text'>Linux setting hostname and domain name of my server</title><summary type='text'>Q. I would like to change hostname and domain name for my Linux server. Where can I set the local hostname and domain name of my server?A. You can use hostname command to  show or set the system's host name and dnsdomainname command to show the system's DNS domain name. But the changes are temporary if you use these commands.Local hostname and domain name of your server defined in text </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114741289501360943/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114741289501360943' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114741289501360943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114741289501360943'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/linux-setting-hostname-and-domain-name.php' title='Linux setting hostname and domain name of my server'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114727447571546857</id><published>2006-05-10T20:49:00.000+05:30</published><updated>2006-05-10T20:51:15.726+05:30</updated><title type='text'>FreeBSD Accessing the CDROM drive from the command line</title><summary type='text'>Q. How do I mount the CDROM from FreeBSD shell or command line?A. You need to use mount command. The mount utility calls the mount(2) system call to prepare and graft a special device or the remote node (rhost:path) on to the file system tree  at the point node.  If either special or node are not provided, the  appropriate information is taken from the fstab(5) file.In most cases /etc/fstab lists</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114727447571546857/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114727447571546857' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114727447571546857'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114727447571546857'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/freebsd-accessing-cdrom-drive-from.php' title='FreeBSD Accessing the CDROM drive from the command line'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114726631940179449</id><published>2006-05-10T18:33:00.000+05:30</published><updated>2006-05-10T18:35:19.420+05:30</updated><title type='text'>Windows server display current TCP connections</title><summary type='text'>Q. I would like to find out all current connections to my windows 2000/2003 server. How do I display current connections?A. Microsoft Windows networking tools include netstat command. It is use to to displays active TCP connections, ports on which the computer is listening, Ethernet statistics, the IP routing table, IPv4 statistics (for the IP, ICMP, TCP, and UDP protocols), and IPv6 statistics (</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114726631940179449/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114726631940179449' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114726631940179449'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114726631940179449'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/windows-server-display-current-tcp.php' title='Windows server display current TCP connections'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114726539717326000</id><published>2006-05-10T18:19:00.000+05:30</published><updated>2006-05-10T18:19:57.186+05:30</updated><title type='text'>Securing MySQL server</title><summary type='text'>Q. I am using MySQL database server and my question is how do I secure mysql server?A. If you are using MySQL on a computer connected to the Internet then you need to secure MySQL server to avoid the most common security mistakes.Official MySQL site has a section that describes some general security issues to be aware of and what you can do to make your MySQL installation more secure against </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114726539717326000/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114726539717326000' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114726539717326000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114726539717326000'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/securing-mysql-server.php' title='Securing MySQL server'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114717292762789594</id><published>2006-05-09T16:33:00.000+05:30</published><updated>2006-05-10T16:06:01.473+05:30</updated><title type='text'>Steps for compiling Linux kernel on SMP Itanium IA64 system</title><summary type='text'>Q. I would like to know howto compile Linux kernel on SMP Itanium IA64 system. Is it possible?A. Yup it is possible to compile Linux kernel as it is one of the supported platform. Read the README file located in /usr/src/linux* directory. Here are quick steps:# cd /usr/src/linux-version# make clean# make mrproper# make menuconfig# make dep# make# make modules# make install# make modules_installIn</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114717292762789594/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114717292762789594' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114717292762789594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114717292762789594'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/steps-for-compiling-linux-kernel-on.php' title='Steps for compiling Linux kernel on SMP Itanium IA64 system'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114674248977261305</id><published>2006-05-04T16:58:00.000+05:30</published><updated>2006-05-05T10:40:04.806+05:30</updated><title type='text'>How does SNMP work?</title><summary type='text'>The simple network management protocol (SNMP) use for monitoring of network-attached devices for any conditions that warrant administrative attention. It is use to manage IP network devices such as servers, routers, switches etc. Administrator can find or manage network performance, solve problem or even optimize it further.You can find out many resources on the net that explain SNMP. Take a look</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114674248977261305/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114674248977261305' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114674248977261305'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114674248977261305'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/how-does-snmp-work.php' title='How does SNMP work?'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114674144759588941</id><published>2006-05-04T16:43:00.000+05:30</published><updated>2006-07-21T12:55:46.080+05:30</updated><title type='text'>Linux partition naming convention and IDE drive mappings</title><summary type='text'>Q. I am new to Linux and I not able to understand /dev/hdc (is it C: drive?) under Linux. This is quite confusing for a new Linux user like me. What device naming convention followed by Linux? Can you explain it in layman's term?A. Linux does not follows DOS or Windows XP style partition names or drive names. It is true that it is a bit confusing for a new Linux user. Linux use combination of bus</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114674144759588941/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114674144759588941' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114674144759588941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114674144759588941'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/linux-partition-naming-convention-and.php' title='Linux partition naming convention and IDE drive mappings'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114673957221001393</id><published>2006-05-04T16:13:00.000+05:30</published><updated>2006-05-04T16:16:12.223+05:30</updated><title type='text'>File size limit exceeded error under Linux and solution</title><summary type='text'>Q. I am trying to copy a file called act.dat and I am getting an error ‘file size limit exceeded’ under Linux. How do I get rid of this error? In addition, I do have enough disk space to copy this file.A. Your system administrator must have imposed limitation on your account for file size creation.. Just run ulimit command to find out file size limitation:$ ulimit -aOutput:core file size</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114673957221001393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114673957221001393' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114673957221001393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114673957221001393'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/file-size-limit-exceeded-error-under.php' title='File size limit exceeded error under Linux and solution'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114673860617486296</id><published>2006-05-04T15:56:00.000+05:30</published><updated>2006-05-04T16:00:06.186+05:30</updated><title type='text'>Disable the mail alert by crontab command</title><summary type='text'>Q. How do I to disable the mail alert send by crontab? When my job is executed and the jobs cannot run normally it will sent an email to root.A. crontab command is use to maintain crontab files for individual users.By default the output of a command or a script (if any produced), will be email to your local email account. To stop receiving email output from crontab you need to append following </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114673860617486296/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114673860617486296' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114673860617486296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114673860617486296'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/disable-mail-alert-by-crontab-command.php' title='Disable the mail alert by crontab command'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114665608071944164</id><published>2006-05-03T16:56:00.000+05:30</published><updated>2006-05-04T13:16:07.746+05:30</updated><title type='text'>Error: Couldn't open display (null) and solution</title><summary type='text'>Q. I am trying to run X applications using secure shell (SSH). I connect to my server using ssh myserver.com. But when I run X application it dump me back with an error as follows:Error: couldn't open display (null).How do I fix this problem?A. You are trying to use ssh X11 X11 forwarding. To enable X11 forwarding you need to pass either the -Y or -X options to SSH command. For example try:$ ssh </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114665608071944164/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114665608071944164' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114665608071944164'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114665608071944164'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/error-couldnt-open-display-null-and.php' title='Error: Couldn&apos;t open display (null) and solution'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114665528071266462</id><published>2006-05-03T16:45:00.000+05:30</published><updated>2006-05-03T16:54:35.503+05:30</updated><title type='text'>How do I save iptables rules or settings?</title><summary type='text'>Q. I am using GUI tool to setup rules for my home computer connected to ADSL (DSL/Cable) network. However after reboot my rules are not there. Is there any way I can save and load them again.A. You need to use iptables-save  command which is used to dump the contents of an IP Table in easily parseable format to screen. Using  I/O-redirection provided by your shell you can save iptables firewall </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114665528071266462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114665528071266462' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114665528071266462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114665528071266462'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/how-do-i-save-iptables-rules-or.php' title='How do I save iptables rules or settings?'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114665338229764998</id><published>2006-05-03T16:17:00.000+05:30</published><updated>2006-05-03T16:35:34.300+05:30</updated><title type='text'>GUI Tools for managing MySQL databases server</title><summary type='text'>Q. I am new to both Linux and MySQL database server. Can you provide any name og GUI tools for managing MySQL databases server remotely as well as locally?A. MySQL has various GUI tools for managing MySQL databases server remotely as well as locally. However not all software are free. Here are two best free tools:MySQL Administrator – It is a powerful visual administration console that enables </summary><link rel='related' href='http://www.blogger.com/img/gl.align.center.gif' title='GUI Tools for managing MySQL databases server'/><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114665338229764998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114665338229764998' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114665338229764998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114665338229764998'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/gui-tools-for-managing-mysql-databases.php' title='GUI Tools for managing MySQL databases server'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114664859021038627</id><published>2006-05-03T14:51:00.000+05:30</published><updated>2006-05-04T12:55:47.576+05:30</updated><title type='text'>Linux Kernel panic VFS Unable to mount root fs and solution</title><summary type='text'>Q. I am using Linux on HP server and I am getting error that read “Linux Kernel panic: VFS: Unable to mount root fs ….”. How do I solve this problem?A. Most modern distributions including Debian uses loadable kernel module for ext3 file system. So to read ext3/ext2 file system kernel must load ext3 kernel module (ext3.ko).This module is included in an initrd image. If an initrd image is missing </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114664859021038627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114664859021038627' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114664859021038627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114664859021038627'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/linux-kernel-panic-vfs-unable-to-mount.php' title='Linux Kernel panic VFS Unable to mount root fs and solution'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114656909501192020</id><published>2006-05-02T16:50:00.000+05:30</published><updated>2006-05-02T16:56:02.310+05:30</updated><title type='text'>Linux change the speed and duplex settings of an Ethernet card</title><summary type='text'>Under Linux use mii-tool or ethtool package  which allows a Linux sys admin to modify/change and view the negotiated speed of network interface card (NIC) i.e. it is useful for forcing specific Ethernet speed and duplex settings.Depending on which type of Ethernet card is installed on the system you need to use either mii-tool or ethtool. I recommend installing both and use one of the tool, which</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114656909501192020/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114656909501192020' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114656909501192020'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114656909501192020'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/linux-change-speed-and-duplex-settings.php' title='Linux change the speed and duplex settings of an Ethernet card'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114656743698737471</id><published>2006-05-02T16:23:00.000+05:30</published><updated>2006-05-02T16:27:17.006+05:30</updated><title type='text'>Linux mount ntfs or Access NTFS partition from Linux</title><summary type='text'>Q. How do I access my Windows NT/XP NTFS partition from Linux?A. In order to access NTFS partition you need support compiled into running Linux kernel. You may need to recompile the kernel to include NTFS support.There is a Linux-NTFS project. The goals of the project are to develop reliable and full feature access to NTFS by the Linux kernel driver, and by a user space filesystem (ntfsmount), </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114656743698737471/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114656743698737471' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114656743698737471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114656743698737471'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/linux-mount-ntfs-or-access-ntfs.php' title='Linux mount ntfs or Access NTFS partition from Linux'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114655636097135054</id><published>2006-05-02T13:20:00.000+05:30</published><updated>2006-08-22T19:35:16.023+05:30</updated><title type='text'>Shell script to get the time difference</title><summary type='text'>Q. I am able to write PHP or Perl script where I can find out time difference between script executions. Now I have .shtml file that is nothing but a shell script outputting some data to browser. What I want is time difference or time it took to execute a script. How do I write a shell script?A. Your Logic should be as follows:* Get start time and store to a variable START* Execute a shell script</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114655636097135054/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114655636097135054' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114655636097135054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114655636097135054'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/shell-script-to-get-time-difference.php' title='Shell script to get the time difference'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114655409507392969</id><published>2006-05-02T12:39:00.000+05:30</published><updated>2006-05-02T12:44:55.106+05:30</updated><title type='text'>Backup home directories in Linux</title><summary type='text'>Q. I would like to Backup all directories in /home to /dev/st0 tape drive. How do I use script to automate task and what commands do I need to use?A. Use tar command to backup /home directory. The GNU version of the tar archiving utility included with all Linux distributions.For example tar command to backup /home should be as follows:# tar -czf /dev/st0 /homeSince this topic is already covered, </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114655409507392969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114655409507392969' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114655409507392969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114655409507392969'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/backup-home-directories-in-linux.php' title='Backup home directories in Linux'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114655060883335085</id><published>2006-05-02T11:44:00.000+05:30</published><updated>2006-05-02T11:46:48.846+05:30</updated><title type='text'>Unreliable Mouse jumps when using a KVM switch in Linux</title><summary type='text'>Q. I am using a KVM switch (that connects two or more computers to the same keyboard, mouse, and monitor) to connect Linux box but mouse gives the worst user experience. How do I solve this problem?A. You need to setup PS2 mouse protocol extension correctly. This can be done by passing boot time parameter to Linux kernel. Just append following parameter to kernel:psmouse.proto=impsAbove parameter</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114655060883335085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114655060883335085' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114655060883335085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114655060883335085'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/unreliable-mouse-jumps-when-using-kvm.php' title='Unreliable Mouse jumps when using a KVM switch in Linux'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114649535193409445</id><published>2006-05-01T20:22:00.000+05:30</published><updated>2006-05-01T20:27:02.486+05:30</updated><title type='text'>Unpacking or uncompressing gz files</title><summary type='text'>The .gz file extension are created using Gzip  program which reduces  the  size  of  the  named  files using Lempel-Ziv coding (LZ77).Each file  is  replaced  by  one  with  the  extension .gz, while keeping the same ownership modes, access and modification times.To expand i.e. to Unpacking or uncompressing gz files you need to use gunzip program Or gzip -d or zcat program:Using gunzip command:$ </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114649535193409445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114649535193409445' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114649535193409445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114649535193409445'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/unpacking-or-uncompressing-gz-files.php' title='Unpacking or uncompressing gz files'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114646757730309701</id><published>2006-05-01T12:40:00.000+05:30</published><updated>2006-05-01T12:42:57.316+05:30</updated><title type='text'>Find out if shell command is aliased or not</title><summary type='text'>Q. Sometime I get confuges whether command is an alias or it is real command. How do I find out if shell command is aliased?A: You need to use type command. It rells whether command is an alias, function, buitin command or executable command file.For example:$ type --all lsOutput:ls is aliased to `ls --color=auto'ls is /bin/lsOR$ type aliasalias is a shell builtinSo for each command, it indicate </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114646757730309701/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114646757730309701' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114646757730309701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114646757730309701'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/find-out-if-shell-command-is-aliased.php' title='Find out if shell command is aliased or not'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114646666511038710</id><published>2006-05-01T12:26:00.000+05:30</published><updated>2006-05-01T12:27:45.126+05:30</updated><title type='text'>Sendmail Limiting Denial of Service  (DOS) Attack</title><summary type='text'>Q. I would like to know configuration directives that will limit Sendmail Denial of Service attack.A. Sendmail is a mail transfer agent (MTA) i.e. that transfers electronic mail messages from one computer to another. It is possible that attacker can flood the mail server with DOS (it is an attack in which no access to the system(s) is gained, but rather a loss of service is incurred i.e. your </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114646666511038710/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114646666511038710' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114646666511038710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114646666511038710'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/sendmail-limiting-denial-of-service.php' title='Sendmail Limiting Denial of Service  (DOS) Attack'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114646548731395601</id><published>2006-05-01T12:06:00.000+05:30</published><updated>2006-05-01T12:08:07.326+05:30</updated><title type='text'>Configure rsh so that is does not prompt for a password</title><summary type='text'>Both rsh or rlogin prompt for a password. All you need to do is open /etc/hosts.equiv file on host system and add entries for all hosts you would like use without password .This file list of hosts and users that are granted "trusted" r (rsh/rloging) command access to your system without  supplying a password.$  cat /etc/hosts.equivOutput:job1.ha1.nixcraft.comjob2.ha1.nixcraft.comjob3.ha1.</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114646548731395601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114646548731395601' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114646548731395601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114646548731395601'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/configure-rsh-so-that-is-does-not.php' title='Configure rsh so that is does not prompt for a password'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114646360797389720</id><published>2006-05-01T11:34:00.000+05:30</published><updated>2006-05-01T11:36:47.986+05:30</updated><title type='text'>Turn off selinux (Security-Enhanced Linux)</title><summary type='text'>Security-Enhanced Linux (SELinux) is security patch applied to Linux kernel. When enabled in the kernel it follows the the principle of least privilege. It is an implementation of mandatory access control using Linux Security Modules (LSM).From Wikipeidia Selinux page:SA Security-enhanced Linux is a set of patches to the Linux kernel and some utilities to incorporate a strong, flexible mandatory </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114646360797389720/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114646360797389720' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114646360797389720'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114646360797389720'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/05/turn-off-selinux-security-enhanced.php' title='Turn off selinux (Security-Enhanced Linux)'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114641201304103951</id><published>2006-04-30T23:40:00.000+05:30</published><updated>2006-04-30T23:42:56.510+05:30</updated><title type='text'>Install Linux on Serial ATA (SATA) drives</title><summary type='text'>SATA is a computer bus technology for data transfer from hard disk. Linux does support serial ATA. The complete list of supported driver (status report) is hereWhile installing Linux if you don’t see STAT hard drive then go to your BIOS setup. Change the SATA configuration in the BIOS (i.e. legacy ATA mode) so drives are seen as individually, not in RAID setup. In my personal experience, this </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114641201304103951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114641201304103951' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114641201304103951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114641201304103951'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/04/install-linux-on-serial-ata-sata.php' title='Install Linux on Serial ATA (SATA) drives'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114641282658981598</id><published>2006-04-30T21:28:00.000+05:30</published><updated>2006-04-30T21:30:42.013+05:30</updated><title type='text'>How to Scan new LUNs on Linux with QLogic driver</title><summary type='text'>Q: I am using QLogic driver and I would like to know how do I scan new LUNs on Linux operating system?A: You need to find out driver proc file  /proc/scsi/qlaXXX. For example on my system it is /proc/scsi/qla2300/0Once file is identified you need to type following command (login as the root user):# echo "scsi-qlascan" &gt; /proc/scsi/qla2300/0# cat /proc/scsi/qla2300/0Now use the script </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114641282658981598/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114641282658981598' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114641282658981598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114641282658981598'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/04/how-to-scan-new-luns-on-linux-with.php' title='How to Scan new LUNs on Linux with QLogic driver'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114639889330939358</id><published>2006-04-30T17:34:00.000+05:30</published><updated>2006-04-30T17:55:41.913+05:30</updated><title type='text'>Find out if package is installed in Linux</title><summary type='text'>The command to finding out if package is installed in Linux is depend upon your Linux distribution. Following are commands for different distributions.Jump to your distribution:* Debian Linux* Red Hat / Fedora LinuxDebian LinuxUse dpkg command, which is package manager for Debian. Suppose you want to find out package apache-perl or sudo is installed or not, type command:$ dpkg -s apache-perlOR$ </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114639889330939358/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114639889330939358' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114639889330939358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114639889330939358'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/04/find-out-if-package-is-installed-in.php' title='Find out if package is installed in Linux'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114639400930467360</id><published>2006-04-30T16:14:00.000+05:30</published><updated>2006-04-30T16:16:50.980+05:30</updated><title type='text'>Linux how to find if processor is 64 bit or not</title><summary type='text'>Q. Quick question, how to determine if CPU is 64bit under Linux?A. You need to use uname command which, print system information including kernel version and whether it has 32 bit or 64 bit CPU. You can also use less /proc/cpuinfo linux command determine if it is 64 bit cpu or not.Example$ uname –aOutput:Linux ora100 2.6.5-7.252-smp #1 SMP Tue Feb 14 11:11:04 UTC 2006 x86_64 x86_64 x86_64 GNU/</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114639400930467360/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114639400930467360' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114639400930467360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114639400930467360'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/04/linux-how-to-find-if-processor-is-64.php' title='Linux how to find if processor is 64 bit or not'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114639241067300563</id><published>2006-04-30T15:46:00.000+05:30</published><updated>2006-05-13T10:02:10.536+05:30</updated><title type='text'>Fedora Linux reconfigure X server</title><summary type='text'>Q. I messed up with my X server configuration. Now I would like to reconfigure X server.A. Fedora comes with the X Configuration Tool called redhat-config-xfree86 which provides a graphical interface for creating, modifying or reconfiguring the XFree86 configuration file.At shell prompt type following command to reconfigure X server under Fedora Linux (login as the root user):# </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114639241067300563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114639241067300563' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114639241067300563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114639241067300563'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/04/fedora-linux-reconfigure-x-server.php' title='Fedora Linux reconfigure X server'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114597689000357583</id><published>2006-04-25T20:14:00.000+05:30</published><updated>2006-04-25T20:43:13.300+05:30</updated><title type='text'>Open ftp port 21 on windows XP operating system</title><summary type='text'>MS-Windows XP service pack 2 comes with in build firewall. If Microsoft Windows Firewall is blocking a port that is used by a service or by a program, you can configure the Windows Firewall to create an exception. Windows Firewall may be blocking a program or a service if Programs do not respond to a client's request or you do not get data from server.Open ftp port 21 To open ftp port 21 you need</summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114597689000357583/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114597689000357583' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114597689000357583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114597689000357583'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/04/open-ftp-port-21-on-windows-xp.php' title='Open ftp port 21 on windows XP operating system'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20381453.post-114568156723814892</id><published>2006-04-25T12:02:00.000+05:30</published><updated>2006-04-25T12:03:34.266+05:30</updated><title type='text'>Configure a system to automount a Samba share with /etc/fstab</title><summary type='text'>As explained earlier you can use the mount command to mount a remote windows partition or a windows share under Linux./etc/fstab file contains static information about the filesystems. The  file fstab contains descriptive information about the various file systems.  fstab is only read by programs, and not written;  it  is  the  duty  of  the system administrator to properly create and maintain </summary><link rel='replies' type='application/atom+xml' href='http://myfaqs11.blogspot.com/feeds/114568156723814892/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20381453&amp;postID=114568156723814892' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114568156723814892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20381453/posts/default/114568156723814892'/><link rel='alternate' type='text/html' href='http://myfaqs11.blogspot.com/2006/04/configure-system-to-automount-samba.php' title='Configure a system to automount a Samba share with /etc/fstab'/><author><name>nixcraft</name><uri>http://www.blogger.com/profile/16506137259988865969</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
