socat server

This commit is contained in:
2023-10-04 01:14:27 +05:00
parent e542a91b9d
commit 950ddab4fd
4 changed files with 10 additions and 4 deletions

4
socat-server.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
XDG_OPEN_LISTENER_PORT-6969
socat TCP-LISTEN:$XDG_OPEN_LISTENER_PORT,fork EXEC:"xargs -n 1 xdg-open"