I don't know how to edit /etc/inittab. anyone can help me?
Open /etc/inittab with your favorite editor and change the line:
where x is your current runlevel (probably 5). Replace it with the CLI runlevel (usually 3). You can read /etc/inittab to see what are the runlevels for your distro.