Prevent duplicate commands in Terminal history, and clear history

An updated .good_history list:

history -c && cd ~ && sudo cp .good_history .bash_history && exit					# Reset Terminal commands
tput rev;read -p "Action? " in;tput sgr0;apropos $in							# List of commands for action taken
tput rev;read -p "Command? " in;tput sgr0;whatis $in                                                 # Action of a command
tput rev;read -p "Command? " in;tput sgr0;sudo dpkg -S */$in$*					# Show which package a command belongs to
tput rev;read -p "Package? " in;tput sgr0;sudo dpkg -L $in | xargs which				# Show which commands belong to a package
tput rev;read -p "File or Directory? " in;tput sgr0;whereis $in					# Show location of file or directory
compgen -c | sort | uniq										# Show all available commands
journalctl -b											# View Boot Logs
sudo top												# View Processes
sudo df -l												# Show file system stats
sudo cat /proc/meminfo										# View memory stats
echo "System Entropy";cat /proc/sys/kernel/random/entropy_avail					# View System Entropy
sudo systemctl list-unit-files									# List All Services
sudo systemctl list-units --type=service --all							# List All Services
sudo systemctl --type=service									# List All Services
sudo service --status-all										# List All Services
sudo xprop												# Click to get window properties.
sudo systemd-analyze critical-chain									# Boot Chain Analysis
sudo systemd-analyze blame										# Boot Startup Time Analysis
sudo apt list --installed										# Installed Packages
sudo dpkg-query -l											# Installed Packages (verbose)
sudo swapon --show											# Show Swap File Status
sudo arcstat												# ARC Cache Stats
sudo zpool iostat -vl 10										# Drive Read/Write Stats
sudo blkid												# Drives UUID / Partitions PARTUUID
sudo zsysctl save $(date +%Y-%m-%d_%H%M) -s								# Save ZFS Snapshot
sudo zfsflush.sh -s 1 -p bpool;sudo zfsflush.sh -s 1 -p rpool;sudo update-grub			# Clear All ZFS Snapshots
sudo zfs list -t snapshot										# List ZFS Snapshots
sudo zpool status											# Show zpool Status

Specifically, this was added:
tput rev;read -p "Action? " in;tput sgr0; apropos $in # List of commands for action taken

If you're not sure which command to use for a given action, this lets you figure it out... for instance, say you wanted to print... you'd run the command above, it would prompt "Action?", you'd type in "print", and it would give you the list of commands related to that action.

And this:
sudo xprop # Click to get window properties.

That's for tweaking the system look and can also be used for troubleshooting.

And this:
sudo cat /proc/meminfo # View memory stats

And this:
tput rev;read -p "Command? " in;tput sgr0;whatis $in # Action of a command

And this:
tput rev;read -p "File or Directory? " in;tput sgr0;whereis $in # Show location of file or directory