accept keyboard input, log command to console