Skip to content

Instantly share code, notes, and snippets.

@demagu-sr
Last active August 29, 2015 14:19
Show Gist options
  • Save demagu-sr/4b96b5712a5f47888690 to your computer and use it in GitHub Desktop.
Save demagu-sr/4b96b5712a5f47888690 to your computer and use it in GitHub Desktop.
Linux Command line Hacks
1) $ xclip -> copy output of a content to clipboard
$ xclip -o -> pastes clipboard contents
Example: $ pwd | xclip -> (copies output of pwd to clipboard)
$ xclip -o -> (pastes clipboard contents)
2) $ xkill -> kill the selected window
3) $ rfkill -> lists the details of firmware like wifi, bluetooth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment