Linux - The "Luit" command

December 2016




Intro


Under Linux (any version) we can use a terminal to establish communication between a client and a server when we connect through SSH.

Issue


There is a concern that often arises in this kind of communication, this is when the client encoding and server is not the same.

For example, if the client encoding is UTF-8 encoding and the server is ISO-8891-1, it will generate an incorrect display at your terminal.

Solution


The "Luit" command allows us to avoid such worries When connects linux /linux via SSH, as it converts the characters of both sides (client and server) and therefore the display will be correct.
  • For more details on the Linux command, type in your terminal:
    • Man Luit + Enter key and you have all the arguments of this command.
  • Example of the command "Luit"
    • Linux-Linux Connection Via SSH
      • Luit -encoding iso-8859-l ssh user@server

Learn more about the luit command


Link1
Link 2

Related :

This document entitled « Linux - The "Luit" command » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.