Essential MySQL Command Parameters
1. Common mysql Command Options
1. --auto-rehash (tab completion for table names and fields)
# mysql -u root --auto-rehash
# vim my.cnf
[mysql]
auto-rehash
2. -B (disable history file, non-interactive mode)
# mysql -uroot -D test -e "show tables;" -B
3. -E (vertical output for query results)
# mysql -uroot -D test -e "sho ...
Posted on Wed, 03 Jun 2026 16:33:41 +0000 by Vinze
Administering Linux Systems: Software, Logging, and Hardware Essentials
Managing Software Packages with YUM
Linux applications are frequently installed under the /usr/local hierarchy. Configuring a reliable mirror significantly improves download speeds and stability.
To replace the default repository with Alibaba Cloud's CentOS mirror, execute:
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/rep ...
Posted on Fri, 15 May 2026 02:15:15 +0000 by kristian_gl