check ftp connection in linux code example Example: ftp in linux ftp domain.com ftp 192.168.0.1 ftp [email protected]