socat : Some useful commands】的更多相关文章

http://technostuff.blogspot.com/2008/10/some-useful-socat-commands.html MONDAY, OCTOBER 6, 2008 Some useful socat commands   To link serial port ttyS0 to another serial port: socat /dev/ttyS0,raw,echo=0,crnl /dev/ttyS1,raw,echo=0,crnl To get time fro…
前言 尝试虚拟机使用socat建立服务器端接口转发时,发现对虚拟机接入网络原理不是非常了解,于是乎上网查找资料想搞明白是怎么回事,于是乎有了这篇总结博文.socat可以在服务器端口间建立全双工通信通道,可以用于端口数据转发,据说是Linux/Unix系统三大神器之一. 虚拟机虚拟网卡连接模式 1.桥接模式 直接将虚拟网卡桥接在物理网卡上,虚拟机与主机地位对等,相当于局域网新增加了一台机器,虚拟机分配的IP是局域网真实的IP地址,主机与虚拟机以及局域网其它主机与虚拟机可以互相访问 2.仅主机(ho…
Unix套接字命令(Unix Socket commands) socat是一个多功能的网络工具,名字来由是“Socket CAT”,可以看作是netcat的N倍加强版,socat的官方网站:http://www.dest-unreach.org/socat/ . socat是一个两个独立数据通道之间的双向数据传输的继电器.这些数据通道包含文件.管道.设备(终端或调制解调器等).插座(Unix,IP4,IP6 - raw,UDP,TCP).SSL.SOCKS4客户端或代理CONNECT. soc…
Get pod ip and their coordinating NODE $ kubectl get pods -o wide If you want to get detailed information about pod, nodes, then you should set output as yaml: $ kubectl get pods -o json Show labels about pods under all namespace: $ kubectl get pods…
You may want to add my wechat public account or add my technical blog's RSS feed This list is meant to record some useful docker commands, it can help docker beginners to solve the problems they met. I'll try to keep this list current and up to date.…
This article includes some useful Ansible commands. I will try to write blogs by English. You may want to add my wechat public account or add my technical blogs's rss feed How ansible works Ansible works by connecting to your nodes and pushing out sm…
Linux的命令总结 1. man:在线请求系统帮助 例:man mkdir NAME:这个命令的完整全名 mk(make directories) SYNOPSIS:这个命令的基本语法 mkdir [OPTION]... DIRECTORY... OPTION:参数 DERECTORY:目录或者行为 DESCRIPTION:具体描述命令的使用方法 -m, --mode=MODE set file mode (as in chmod), not a=rwx – umask 左边的-m为短参数,右…
The commands of Disk fdisk( the disk size is less 2TB) fdisk - partition table manipulator for Linux. options: -l :show all disk infotmation. start disk deal. parted(the size of disk is not limit) mkfs mkfs - buld a Iinux file System. For example: mk…
Network Basic Commands Summary set or modify hostname a)     temporary ways hostname NEW_HOSTNAME, but if you reboot your system, it will disabled. b)    permanent ways: edit "/etc/sysconfig/network" HOSTNAME, then restart system, it will effect…
abrt-cli --since ;查看abrt捕捉的异常 alias ;别名,alias rm='rm -i':使用“ \rm ” 使用原命令 alsamixer ;图形音量调节,q 增加左声道, w 同时增加,e 增加右声道,上下键同时增加减小音量, s 选择声卡 amixer ; amixer set Master % 调节音量:alsamixer是Linux 音频架构ALSA中的Alsa工具的其中一个,用于配置音频的各个参数, amixer 是他的文本模式 apachectl ; apa…