How To Copy The Current Directory’s Path To The Clipboard In A Single Terminal Command In Unix

When working from the terminal, we might need from time to time to copy the current path to the clipboard, for example to paste it in a text file. In this post we’ll show how to copy the current directory’s path to the clipboard in a single terminal command in a Unix system. Specifically, we’ll see the necessary commands when working either with: Git Bash for Windows MacOS The quickest way to get the current […]