cd command is used to go to a particular directory you can use cd with relative or absolute paths like below
echo command is used to print data, be it variable or string or any other data type
Last but not the least, to change your password using the command line, use passwd command