Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Accidentally, I typed ls -l " at the prompt and suddenly the prompt changed to >.
I'm using a stripped back version of Ubuntu that only includes a command prompt on an Oracle VirtualBox. Unfortunately, I can't get the specific version since the prompt isn't working properly. Of course, I could restart and it would go back to normal, but I would rather do it without restarting.
You have opened a quote with typing " and the shell is waiting for you to close it, so just type " again and press Enter.
Alternatively just press Ctrl+c to abort the command.
Or you can use exit and login again. It will solve the pb.
This will not work. The exit command will not be executed as long as the quote is not closed (if it is executed at all, in case of the OP it would not be executed even with a closed quote).
As described above, this happens when the shell is waiting for you to finish your command. You'll run into this if you try to execute a command with a lonely quote (single or double), a trailing backslash, or any number of other "incomplete" commands. All you have to do to fix it is close out whatever operation you were running (close the quote, or give the trailing backslash something to delimit, like a space), or just press Ctrl+C to cancel.
This will not work. The exit command will not be executed as long as the quote is not closed (if it is executed at all, in case of the OP it would not be executed even with a closed quote).
Yeah, this was the first thing I tried...didn't work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.