Linux Common Command In Ubuntu

open a folder (with GUI) from terminal

$ nautilus /home/john/Downloads

port forwarding

$ socat tcp-l:5050,fork,reuseaddr tcp:127.0.0.1:2020  
OR  
$ ncat -l localhost 8080 --sh-exec "ncat example.org 80"

Reference

how-to-open-a-folder-with-gui-from-terminal

using-netcat-for-port-forwarding

Related Article