Skip to content

Instantly share code, notes, and snippets.

@baydakovss
Created May 21, 2023 07:37
Show Gist options
  • Save baydakovss/ca90448cfb4ea81bcdf3c86cf609a0fb to your computer and use it in GitHub Desktop.
Save baydakovss/ca90448cfb4ea81bcdf3c86cf609a0fb to your computer and use it in GitHub Desktop.
Tereminal 1:
socat TCP-L:12345,fork,reuseaddr EXEC:'sqlite3 /home/user/sources/test.db',pty
Terminal 2:
telnet localhost 12345
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
SQLite version 3.31.1 2020-01-27 19:55:54
Enter ".help" for usage hints.
sqlite> .tables
.tables
tesdt
sqlite>
P.S.
Absolute path have to be used!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment