Month: September 2010

Open Directory or file starting with a “-” (hyphen)

From linuxers.org How to open a Directory or a file starting with a “-“, hyphen Those of you who have not been in such a situation would never know how it feels when you are stuck opening/deleting a file or directory. The more you have been working on the shell, the more it sucks. When…


Nautilus Terminal

Nautilus Terminal is an integrated terminal for Nautilus What is new in latest version 0.3 * Fixes the bug with “infinity” bash fork (lp:635846) * Improve separation of property between nautilus’ windows * New translations Install Nautilus Terminal in ubuntu Open the terminal and run the following commands sudo add-apt-repository ppa:flozz/flozz sudo apt-get update sudo…


Define memory in linux

From howtogeek.com If you are looking to upgrade the memory in your Linux PC, you are probably wondering how many open slots you have, what type of memory is already installed, and what you need to buy for an upgrade… without having to open your computer. Since you shouldn’t have to open up the computer…


How to scan websites for viruses and malware

How to scan websites for viruses and malware From teknobites.com Viruses and malwares can break into your system from a number of sources and cause serious impact on your computer system. Hence, it is extremely essential to protect your computer such threats. Most of us are aware of the fact that e-mail attachments, torrents, P2P…


The 10 Golden Rules for Troubleshooting Linux

From tech.superhappykittymeow.com 1. Man pages exist and should be used. Seriously, everything’s there, from application docs to syscall docs to syntax and formatting of log files. 2. Don’t reinvent the wheel. 99% of problems you’re experiencing or ever will experience, somebody’s already gone through it and figured it out. Google is your friend. 3. If…


Get email notification of root login

From ezlinuxadmin.com Have root logins emailed to you 1. Login to your server and su to root, unless you logged in as root already. 2. cd /root (unless your default login folder is already root) 3. pico .bashrc (or use your favorite editor) 4. Scroll to the end of the file then add the following:…


setroubleshoot bug

From ezlinuxadmin.com There is a bug with the new option in Centos 5 called setroubleshoot. The bug spins the program over and over causing high memory and sometimes CPU use. Unfortunately there is no permanent fix yet, but if you see something like this high in your daily process log: /usr/bin/python -E /usr/sbin/setroubleshootd To fix…


Track email sent via PHP script – cPanel

From ezlinuxadmin.com Track what PHP script sent an email on your cPanel server There is a patch available from choon.net which forces PHP scripts to store the script name and location in the mail headers when using the mail() function. The below instructions will give you the details needed to add this patch to your…


File system info

Earlier, a client asked a simple question… how many subdirectories can you have in a directory? how may files can you have in a directory? I doing a little research, I came across some basic info to pass along regarding this; The ext3 file system has a limit of about 32000 subdirs per dir. The…


Convert MySQL from MyISAM to InnoDB Using a Script

From technotes.twosmallcoins.com How to Convert MySQL from MyISAM to InnoDB Using a Script Okay. So I need to convert MySQL database using the default MyISAM engine to the InnoDB engine. The command is simple: ALTER TABLE table_name ENGINE = InnoDB; However, this command needs to be done for EVERY table. Yes, it’s a pain in…