Is it possible to view passwords through Terminal? Does anyone know how to view passwords in Terminal? Maybe by accessing the Keychain data or something? I want to be able to view passwords in Terminal with just a series of commands.
Check out the security command.  You can get detailed information about its use by reading its man entry man security

An in-depth article on the securitycommand is here.