Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Linux newbie. Help. Stuck on some mode. [closed]

Tags:

linux

terminal

Hi I am a new unix user and I have been stuck in the terminal in this mode: '>' I accidentally pressed ls` instead of ls and suddenly it went to '>' this mode. I just would like to ask how to exit from that mode? Thanks!

like image 422
user2161358 Avatar asked May 13 '13 16:05

user2161358


People also ask

How do you unfreeze a terminal in Linux?

If you can type commands, but nothing happens when you press RETURN, try pressing LINE FEED or typing CTRL-J. If this works, your terminal needs to be reset to fix the RETURN key. Some systems have a reset command that you can run by typing CTRL-J reset CTRL-J.

How to deal with a frozen Linux system?

Here are various ways to deal with a frozen Linux system. 1. Kill an unresponsive program with xkill 2. Revive a frozen Linux system with virtual consoles (TTY) 3. When everything else fails, talk with the Kernel using SysReq

How to kill an unresponsive program in Linux?

Table of Contents 1 Kill an unresponsive program with xkill#N#If you are using a Linux desktop, your first step should be an attempt to use... 2 Revive a frozen Linux system with virtual consoles (TTY)#N#Sometimes, you will not be so lucky, the system may seem... 3 When everything else fails, talk with the Kernel using SysReq More ...

How do I stop a command that is not finished?

As the others have pointed out, any command you type that is considered "unfinished" by the shell, such as unpaired quotes or keyword blocks (if..fi, for..done, etc.), results in a new line being provided for you to continue on. Either complete the command as it expects or crtl+c to terminate it.

How do I get rid of a closed window in Linux?

If you are using a Linux desktop, your first step should be an attempt to use your window manager’s execute command (alt+f2 in Ubuntu) feature. If you are lucky, it will popup sooner then later. Then you can execute xkill and point the cursor at the defunct window and click it away.


2 Answers

You escape by doing this - ctrl + C.

Or, if you are using a Mac, then - control + C.

If the above did not work close the tick ` then hit enter.

like image 164
meda Avatar answered Nov 13 '22 02:11

meda


You can try this shortcut CRTL+Z or CRTL+Q

like image 27
JBerta93 Avatar answered Nov 13 '22 02:11

JBerta93