My terminal shows only a blank screen--How can it?

Solution 1:

No Problem , you can restore it easily.

Just press CTRL+ALT+F1 & login there

then paste as

cp /etc/skel/.bashrc ~/
source .bashrc

Then type CTRL+ALT+F7 to reverse to GUI desktop.

Solution 2:

rajagenupula's answer would do the job... If you could get to a terminal. The problem is your default shell is bash (even in a TTY) so you're going to struggle to run those commands.

To get a working console, I'd press Alt+F2 and run:

xterm -e sh

That should drop you into a nasty super-basic shell. And from there you can fix/rescue/etc your .bashrc using nano (to edit) or rajagenupula's suggested commands, which should also work (you could skip the source and just go back to your traditional terminal.


If you don't have graphical access, you could drop into recovery mode (using Grub at boot), run mount -o remount,rw / and then fix/replace the file.