sometimes u may need to switch from text mode to graphics mode OR from grphics mode to text mode. So to do that use commands like
From text mode to X : startx or init 5
From X to Text mode: CTRL+ALT+F1
There are normally 6 terminals available in X also, F7 through F12. The first X session will be on F7 (if on a local terminal), the second on F8, and so forth. If an X session is started from F1 and you also have an active session on F2, you can type Ctrl-Alt-F2 to go from the X session to the virtual console on F2. Also to get back to your X session, you can type Ctrl-Alt-F7 or Alt+F7.