Categories
Linux

BashGuide – Greg’s Wiki

Comprehensive guide to Bash scripting.

Source: BashGuide – Greg’s Wiki

Categories
Linux

Red Hat Enterprise Linux 6 – How to Disable Ctrl-Alt-Delete Key on RHEL 6 Console

On RHEL6, /etc/inittab file still exists, but disabling Control-Alt-Delete cannot be done in the file.To disable this behaviour, open /etc/init/control-alt-delete.conf and then find the following 2 lines and add a hash mark at beginning of the line.

# start on control-alt-delete

# exec /sbin/shutdown -r now Control-Alt-Delete pressed

We do not need to restart the OS or any daemon, because the init daemon will automatically reload this change.

Source: Red Hat Enterprise Linux 6 – How to Disable Ctrl-Alt-Delete Key on RHEL 6 Console | HP® Support

Categories
Linux

How can I convert an MDB (Access) file to MySQL (or plain SQL file)? – Stack Overflow

If you have access to a linux box with mdbtools installed, you can use this Bash shell script (save as mdbconvert.sh):

Categories
Tech

Import CSV File Into MySQL Table

This tutorial shows you how to use LOAD DATA INFILE statement to import CSV file into MySQL table.

Source: Import CSV File Into MySQL Table