Created
          March 29, 2024 23:55 
        
      - 
      
- 
        Save arashatt/5ceb25b4972351440ab54fd87da57961 to your computer and use it in GitHub Desktop. 
    how to copy a file into clipboard in linux without selecting text with mouse
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | xclip -selection c < file_name.extension | |
| sometimes the content of the file get too big and it's not easy to select the text you want to copy with mouse. this command | |
| is a handy way to do that. | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment