How to fix chroot return "Exec format error"
A chroot Exec format error in Red Hat/CentOS rescue mode usually means the running environment and target commands use different architectures.
389 notes on Linux, tools and troubleshooting
A chroot Exec format error in Red Hat/CentOS rescue mode usually means the running environment and target commands use different architectures.
Shell techniques for counting blank and nonblank lines in a file, useful in scripts and troubleshooting.
MYSQLDUMP exports data from MySQL databases. It is commonly used to export all data from a table or database, but it can also export selected data…
pcap files from tcpdump or network devices are binary and cannot be read in ordinary text editors. tcpdump can read them directly from the Linux console.
Oracle has released a MySQL Yum repository to make installing and updating MySQL server easier. Initially it supports Red Hat/Oracle Enterprise Linux/CentOS 6 and Fedora 18 and 19…
MySQL 5.6 has a bug to watch for: running GRANT privileges in PhpMyAdmin may cause a slave to stop replicating (bug report: http://bugs.mysql.com/bug.php?id=68892). After using MySQL 5…
How to redirect standard output and standard error to a log file. Correct syntax: command > /path/to/log 2>&1. This redirects stdout to the log and stderr to stdout.
mysqldump exports MySQL data in SQL format and is commonly used for backups. Normally these backups are not compressed.
To list the stored procedures in MySQL and display their procedure code, follow these steps. Listing MySQL stored procedures: list the procedures in the system. mysql> SHO…