Classic and satisfying dish with garlic, lemon, and rosemary. Main: Roasted chicken with roasted potatoes and green beans. Warm and healthy dish with various veggies and herbs. Pbcopy and pbpaste is just a small trick, but very useful in my day-to-day work. A possible 3-course menu for 6 people who dont like nuts or seafood is: Starter: Vegetable soup with gluten-free bread. Or, process the copied content AND copy the new content with pbcopy. Or, process the copied content before saving it. For example, you can save the copied content into a file. You can echo the copied content by pbpaste. Now you can ⌘-V the copied content anywhere. However, this seemingly simple task could be very annoying because scroll-and-highlight isn't so straight-forward sometimes.Ī much simpler way is to pipe the output to pbcopy. One way is to cat /path/to/file, and use your mouse/trackpad to scroll and highlight the content, then press ⌘-C to copy. Imagine that you want to copy the content of a file that has more than 1,000 lines on the terminal. Today I want to introduce you the pbcopy and pbpaste commands, for macOS exclusively. Every of us knows copy & paste by ⌘-C and ⌘-V.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |