Yup, they works.
But I didn't understand the essence of the question, are you interested in how to write commands or how to turn on the console?