In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how to use the talk command in Linux. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Linux common commands the talk command is the client tool of the talk server, and the talk command allows users to chat with other users. The use of the talk command parameter program in linux is very simple, as long as you know the address of the person you are talking to, you can invite the other person to talk.
Talk allows users to chat with other users
Syntax talk (parameter) parameter user: specify the user to chat
Terminal: the terminal of the specified user.
For example, if the user jdx logged in on the host rs6000.cic.test.com wants to talk to the user wangxz logged on to the host tirc.cs.test.com, you can enter the following command:
The related program (Talk Daemon) on talk wangxz@tirc.cs.test.comInternet will send a message inviting wangxz to talk, and the following message will appear on the screen of the user wangxz and the bell will ring:
Message from Talk_Daemon@tirc.cs.test.com at 21:44... Talk: connection requested by jdx@rs6000.cic.test.com talk: respond with: talk jdx@rs6000.cic.test.com at this time, what the user wangxz should do is to follow the information prompt above, that is, enter the talk command in linux:
After talk jdx@rs6000.cic.test.com, the connection is established and the two users can talk. At this time, the terminal screens of both sides will display information [Connection established] and ring, at the same time, the screen is divided into upper and lower parts by a horizontal line by the talk command program in linux, the upper part is used to display the content entered by the user, and the lower part is used to display the content entered by the other side. Two users can type at the same time, and what they enter will be immediately displayed on both screens.
When the user enters, you can press BACKSPACE to correct the previous character, press CTRL+w to delete a complete word, or use CTRL+U to delete a whole line. In addition, the user can refresh the screen by pressing CTRL+L. If you want to end the conversation, either party can press CTRL+C to disconnect, but it is best to say "good-bye" before ending the conversation and wait for the other party to respond. When the talk command program in linux ends, a message will be displayed on the screen:
[Connection closing. Exiting] not every time the other party is asked to talk successfully, sometimes the other party is not logged in, then the talk command program prompt message in linux:
[Your party is not logged on] and exit; if the other person is logged in but does not respond for some reason (such as not using the machine), the talk command program in linux will send him an invitation message every 10 seconds and display it on his own screen:
[Ringing your party again] if the user does not want to wait, he can press CTRL+C to terminate the talk command program in linux. Sometimes the system may have the following message:
[Checking for invitation on caller's machine] this shows that the talk command programs in the linux of both sides are not compatible, so you can try the ntalk and ytalk commands. If not, you have to go to the system administrator.
If the user does some urgent work, such as editing mail, and does not want to be disturbed by the invitation of the talk command in linux, he can use the command:
Mesg n temporarily refuses to talk. At this time, if a user invites him to talk, he can only get a prompt:
[Your party is refusing messages] it is important to note, however, that once the urgent work is completed. It is best to turn on the message receiving switch immediately (use the command mesg y), otherwise you will lose a lot of opportunities for information exchange.
Thank you for reading! This is the end of the article on "how to use talk commands in Linux". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.