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-03 Sat wk31 08:26] – [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: | ||
Line 281: | Line 293: | ||
*'' | *'' | ||
After adjusting bash setting run '' | 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; '' | ||
| |