When I was recently working on my Mac Terminal with some usual commands on zsh shell, suddenly after running the command I ended up in a dquote> prompt, this seems weird at first, but soon I realised what I had done,
% echo "Hello there! how are you? dquote>
As you can see when you execute the above echo statement in the macOS/Linux Terminal, the zsh/bash prompt is not returned instead you see dquote.
What does dquote> means?
If you have a double-quote in your command and you do not close it and execute the command, you end up in dquote, what it means is that shell is waiting for a closing double-quote. So you can write what ever you want and add as many line breaks, once you add a double-quote and press enter the command will get executed and prompt is returned.Example:
% echo "Hello, dquote> how are dquote> you dquote> doing dquote> today!" Hello, how are you doing today! %
How to come out of dquote?
dquote implies the shell (zsh/bash etc) is waiting for a closing double-quote, so just add a double-quote and press enter!
- Add Bookmark macOS Safari
- Where is .zshrc file located in macOS
- This operation couldnt be completed. Unable to locate a Java Runtime. [macOS]
- Shutdown Mac Terminal Command
- [fix] macOS Ventura xcrun: error: invalid active developer path missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
- How to display directory tree in Mac Terminal
- How to set Out Of Office (OOO) on Outlook for Mac
- Zsh Shell: Custom alias that you may find useful
- How to install Node using Brew on Mac
- Display full website URL/address in Safari macOS Browser
- Install Native Java JDK JRE on Apple Silicon M1 Mac
- Enable macOS Stage Manager
- How to set an emoji as Zsh terminal prompt in macOS
- Fix Error - Another active Homebrew update process is already in progress
- 30+ Zoom video communications application shortcuts for macOS
- How to clear Mac Terminal screen
- Check macOS free disk space using Terminal command
- How to Right Click on Mac Desktop?
- How to know installed version of Homebrew
- bash: command not found error [macOS Terminal Linux, Unix or Windows]
- MacBook - Time Limit - You have reached your time limit, Ignore Limit
- How to check zsh installed version using terminal
- How to uninstall GarageBand from Mac
- Best Free Gif screen capture app now available for M1 Chip Mac - LICECap
- Find Duplicate Files using Mac Terminal Command
- macOS Big Sur java.lang.UnsatisfiedLinkError CoreFoundation - Android Studio - Android-Studio
- Quick steps to install Nginx on Ubuntu Linux - Ubuntu
- You're not on Teams yet, but you can set it up for your organization. [Microsoft Teams Login Error] - Microsoft
- Transfer files between Android and Mac OS X using usb cable - Mac-OS-X
- How to recover SharePoint FARM if the SQL Server IP changes - SharePoint
- How to comment code in Python - Python
- Its almost time - Apple Event September 10 10 am PDT ⚡️ - Apple
- [Docker] Install Python3 on Alpine Linux - Docker