Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

terminal copy clipboard to file

cat > /path/to/file.txt

after this the terminal waits user input, so you can paste from your clipboard:
Ctrl + Shift + v
Then press Enter
And exit cat with Ctrl + c
 
PREVIOUS NEXT
Tagged: #terminal #copy #clipboard #file
ADD COMMENT
Topic
Name
2+7 =