Question

I tried the following code unsuccessfully

cat pbcopy >> newFile

How can you save your clipboard to the file newFile without opening a text-editor?

Was it helpful?

Solution

Try: pbpaste >newFile

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top