Package: netcat Version: 1.10-32 Severity: normal For outbound connections, netcat -c is treated as netcat -e.
On the local side: $ nc -vc cd localhost 6666 localhost [127.0.0.1] 6666 (?) open $ On the remote side: $ nc -vlp 6666 listening on [any] 6666 ... connect to [127.0.0.1] from localhost [127.0.0.1] 60411 exec cd failed : No such file or directory $ -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing') Architecture: i386 (x86_64) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.16 Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) Versions of packages netcat depends on: ii libc6 2.3.6-7 GNU C Library: Shared libraries netcat recommends no packages. -- no debconf information

