This sheet goes along with this SSH YouTube tutorial
$ ssh [email protected]
$ mkdir test
$ cd test
cmake_minimum_required(VERSION 3.4...3.18) | |
project(pybindtest) | |
add_subdirectory(pybind11) | |
pybind11_add_module(module_name main.cpp) |
# deb cdrom:[Ubuntu 19.10 _Eoan Ermine_ - Release amd64 (20191017)]/ eoan main restricted | |
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | |
# newer versions of the distribution. | |
deb http://id.archive.ubuntu.com/ubuntu/ eoan main restricted | |
# deb-src http://id.archive.ubuntu.com/ubuntu/ eoan main restricted | |
## Major bug fix updates produced after the final release of the | |
## distribution. | |
deb http://id.archive.ubuntu.com/ubuntu/ eoan-updates main restricted |
$ ssh [email protected]
$ mkdir test
$ cd test
Displays contents of /proc/net files. It works with the Linux Network Subsystem, it will tell you what the status of ports are ie. open, closed, waiting, masquerade connections. It will also display various other things. It has many different options. Netstat (Network Statistic) command display connection info, routing table information etc. To displays routing table information use option as -r.
Sample output:
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 0 127.0.0.1.62132 127.0.0.1.http ESTABLISHED