User to user communication using write In Linux In Hindi

Linux mein write command ka istemal user-to-user communication ke liye hota hai. write command ki madad se aap ek user se doosre user ko direct message bhej sakte hain, jaise ki terminal mein chat karna. Isse aap real-time text-based communication kar sakte hain jab dono users online hote hain.

user to user communication using write In Linux In Hindi

Yahan write command ka basic syntax hota hai:

write [user] [terminal]
  • [user] mein aapko message send karne wale user ka username specify karna hota hai.
  • [terminal] mein aapko user ka terminal name (tty) specify karna hota hai.

write command ko use karne ke liye, dono users ko terminal par message exchange karne ke liye online hona chahiye.

Example:

write user2 pts/1

Is example mein, user1 user2 ko pts/1 terminal par message bhej raha hai. Jab user2 message receive karega, to usko message display hoga. Communication complete hone par, dono users Ctrl+D daba kar chat ko band kar sakte hain.

Yad rahe ki write command ko use karne ke liye aapko appropriate permissions chahiye aur dono users ko online hona chahiye.

Leave a Comment