You would like to check the storage engine in a MySQL database.
Use the following query after logging in to the server:
WHERE TABLE_SCHEMA = 'your_db_name';
Taken from here
You want to remove a certain line from your server’s bash history, if for example you pasted a password in the wrong place.
Use the two steps:
1. history -d to remove from memory
2. history -w to write in-memory history to the history file ~/.bash_history
as described here
You would like to change the default editor for crontab from vi to vim.
Add the following to the ~/.selected_editor: