-
-
Save ApoTheOne/c13a3c56db677450b7c3773667e19608 to your computer and use it in GitHub Desktop.
Useful Bash Commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Using Clip: | |
``` | |
git branch | clip | |
dir | clip | |
``` | |
# Copy thing.txt to clipboard | |
```cat ~/.bashrc > /dev/clipboard``` | |
# Put contents of clipboard into file.txt | |
```cat /dev/clipboard > file.txt``` | |
[Reference](https://stackoverflow.com/questions/18880062/piping-output-from-git-bash-to-clipboard) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment