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 […]

More productive with Git easily: create Aliases and Functions

When using the command line, we programmers end up typing certain commands very frequently. That’s where aliases come in handy. Today we’ll see how to easily become more productive with Git by creating custom aliases and functions. The following examples are made in Git Bash for Windows, but with small changes they apply to Unix systems as well. Keep it short and quick with aliases Probably the most common command when working with Git is […]