Unix & Linux: Remove part of string (2 Solutions!!)

Published --