DEV Community

Discussion on: Transitioning from Ubuntu/Windows+WSL to Mac?

Collapse
 
mcgrew profile image
mcgrew

One thing I like to do on Linux is interact with the clipboard from the command line. "some_command | xsel -b" or the like is something I use reasonably often.

If you too use this, the Mac equivalent is pbcopy/pbpaste.

Collapse
 
jacoby profile image
Dave Jacoby

I have xsel aliased to c and p, IIRC. Thanks.

Collapse
 
jacoby profile image
Dave Jacoby
# copying and pasting via command line
    alias c="xsel -i -b "
    alias p="xsel -p -b "

Yup. Will be sure to look at that.