Is there a Bash environment variable (say $CLIPBOARD
or similar) that contains the current contents of the clipboard?
The specific example is to see the top 20 lines of a file whose path I have just copied into the clipboard.
- Copy path with
Ctrl-C
- Switch to terminal
- Type
more
,Ctrl-V
UPDATE: I'm running on CentOS 4