What Is Write Command in Linux?
Contents

write command in Linux is used to send a message to another user. The write utility allows a user to communicate with other users, by copying lines from one user’s terminal to others.

What is purpose of write command in Unix?

In Unix and Unix-like operating systems, write is a utility used to send messages to another user by writing a message directly to another user’s TTY.

How do I write on Linux?

How to Create/Write a Simple/Sample Linux Shell/Bash Script

  1. Step 1: Choose Text Editor. Shell scripts are written using text editors. …
  2. Step 2: Type in Commands and Echo Statements. …
  3. Step 3: Make File Executable. …
  4. Step 4: Run the Shell Script. …
  5. Step 5: Longer Shell Script. …
  6. 2 Comments.
Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest