Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

terminal save txt to clipboard

cat file | xclip -selection clipboard
Comment

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
Comment

PREVIOUS NEXT
Code Example
Shell :: how to install pycord 
Shell :: how to get the files using the most storage ubuntu 
Shell :: git log by author 
Shell :: how to un zip a file in linux command line 
Shell :: replace char for new line 
Shell :: git push an existing repository from the command line 
Shell :: install node specific version 
Shell :: github add image to readme.md 
Shell :: how to install mono on ubuntui 
Shell :: reinstall nvidia drivers pop os 
Shell :: check branches git 
Shell :: use local image with minikube 
Shell :: deploy stack cloudformation cli 
Shell :: WslRegisterDistribution failed with error: 0x8000000d 
Shell :: aab to apk 
Shell :: get path of command 
Shell :: linux strip foldder name from path 
Shell :: revert last commit git 
Shell :: vitejs tailwind 
Shell :: install redash ubuntu 20.04 
Shell :: npm install capacitor to existing angular project 
Shell :: gen_random_uuid() does not exist 
Shell :: sed replace number 
Shell :: create folder in terminal 
Shell :: how to start nginx in ubuntu 
Shell :: change time linux 
Shell :: haskell change version 
Shell :: Conditional variables in gitlab-ci.yml 
Shell :: wsl2 settings 
Shell :: supervisord install ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =