Bash Pitfalls

From mywiki.wooledge.org This page shows common errors that Bash programmers make. The following examples are all flawed in some way: ???Contents for i in `ls *.mp3` cp $file $target Filenames with leading dashes [ $foo = “bar” ] cd `dirname “$f”` [ “$foo” = bar && “$bar” = foo ] [[ $foo > 7 ]]…


Filezilla MLSD connection error: Solved

From theserverpages.com So you installed a firewall, but it seems to have crippled passive ftp connections. Your clients are complaining of timeouts and lagging performance of the FTP server. All these are signs that you did not configure your firewall and FTP server properly for passive FTP connections. This how-to will try to explain everything…


linux-books.us

Highest quality Linux books all of which are available for free download. Please remember that all titles are copyright © the author or the publisher. The author / publisher has generously allowed them to be available for free online. Please respect the terms and conditions of the copyright. We are constantly adding new titles so…


Canonical Advantage Service

From eweek.com Canonical Delivers Ubuntu Advantage Service Offering for Linux Desktop and Server Users Canonical is preparing to introduce a new service option for Ubuntu Linux users, known as Ubuntu Advantage. Slated for official release on June 7, Ubuntu Advantage is a comprehensive service that combines systems management tools, technical support, access to online resources,…


hard and symbolic links

From IBM.com Core dumps are often used to diagnose or debug errors in Linux or UNIX programs. Core dumps can serve as useful debugging aids for sys admins to find out why Application like Lighttpd, Apache, PHP-CGI or any other program crashed. Many vendors and open source project author requests a core file to troubleshoot…


Top 5 Bash Resources

From lcorg.blogspot.com Over the course of writing The Linux Command Line and this blog, I’ve had frequent need of good reference resources for command line programs including the shell itself, bash. Here is my list of the ones that stand out: 1. The Bash Man Page Yeah, I know. I spent nearly half a page…


drop/free cache

Writing to this will cause the kernel to drop clean caches, dentries and inodes from memory, causing that memory to become free. To free pagecache: echo 1 > /proc/sys/vm/drop_caches To free dentries and inodes: echo 2 > /proc/sys/vm/drop_caches To free pagecache, dentries and inodes: echo 3 > /proc/sys/vm/drop_caches As this is a non-destructive operation, and…


CPanel password could not be changed because

From fossu.com Attempting to change the account password in CPanel or WHM for an user results in the following error message: The password for ‘user’ could not be changed because: No “because” explanation is given. You may also see the following error in /usr/local/cpanel/logs/error_log: Can’t locate Crypt/PasswdMD5/XS.pm in @INC () at /scripts/cPScript/CheckPass/UNIX.pm line 6. BEGIN…


Optimize All MySQL Tables on a Server

From ben90.com MySQL I would like to point out here quickly that I assume that you have root access in this article. One of my regular tasks is to optimize MySQL installations (primarily on shared cPanel servers). I use a number of utilities in order to identify areas in which I could optimize the MySQL…


Installing GlobalSign SSL Certificate on cPanel Server

From ben90.com Every time I have to install a GlobalSign SSL Certificate, I always find myself referring to notes that I wrote when I first had to install one. I thought that it may be a good idea to post the process here for mine and anyone else’s reference. The aim of this post is…