OPTIONS are added after INPUT by separating with. Options are used to provide parameters and details about INPUT types. For example if we want to use a system command as type we need to specify SYSTEM as INPUT_TYPE. Type refer to the file, command, stream or network. OPTIONS specifies some configuration about INPUT or OUTPUT.OUTPUT_TYPE specifies file, stream or network socket we will write.INPUT_TYPE specifies the file, stream or network socket we will read.socat INPUT_TYPE(OPTIONS) OUTPUT_TYPE(OPTIONS) We need to just provide the input and output with related options. We can install for Fedora, CentOS and RHEL like below. $ sudo apt install socat -y Install For Debian, Ubuntu, Mint and Kali Install For Fedora, CentOS, RHEL Socat can be install dpkg based distributions like below by using apt command. Install For Debian, Ubuntu, Mint and Kali `socat` is very interesting command which provides us the ability to redirect input and outputs from different type of system resources like network, file, command, socket etc. Linux provides different philosophy and use cases from system point of view.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |