Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
home_server:home_server_setup:other_services:misc [2024-08-02 Fri wk31 19:03] – [pbcopy pbpaste] baumkp | home_server:home_server_setup:other_services:misc [2024-09-28 Sat wk39 20:53] (current) – [Grep finds strings] baumkp | ||
---|---|---|---|
Line 195: | Line 195: | ||
Once you're comfortable with using grep to find simple strings as seen above, it can do far more complex tasks. These include but are not limited to: case-insensitive use, more complex patterns (including full regular expressions), | Once you're comfortable with using grep to find simple strings as seen above, it can do far more complex tasks. These include but are not limited to: case-insensitive use, more complex patterns (including full regular expressions), | ||
+ | ====netstat==== | ||
+ | *'' | ||
+ | *'' | ||
+ | *'' | ||
+ | *'' | ||
+ | *'' | ||
+ | *'' | ||
+ | *'' | ||
+ | *'' | ||
+ | *'' | ||
=====Sed replaces strings===== | =====Sed replaces strings===== | ||
Line 271: | Line 281: | ||
=====pbcopy pbpaste===== | =====pbcopy pbpaste===== | ||
+ | Also see [[https:// | ||
+ | |||
Linux requires the package xsel, '' | Linux requires the package xsel, '' | ||
Some raw xsel examples: | Some raw xsel examples: | ||
- | *''' | + | *'' |
+ | *'' | ||
+ | |||
+ | To create the command short cuts: | ||
+ | *'' | ||
+ | *'' | ||
+ | *'' | ||
+ | After adjusting bash setting run '' | ||
+ | |||
+ | To function on remote server: | ||
+ | -Check the above setup on the remote sever | ||
+ | -Check X11 forwarding is activated: | ||
+ | - '' | ||
+ | -If not, edit the file to make so, and then run '' | ||
+ | -Lastly, when ssh into system use the -X flag to use X11 forwarding; '' | ||
+ | |||
+ | |||