Academy and Foundation unixmens | Your skills, Your future
2.3K subscribers
6.68K photos
1.39K videos
1.24K files
6.17K links
@unixmens_support
@yashar_esm
[email protected]
یک کانال علمی تکنولوژی
فلسفه متن باز-گنو/لینوکس-امنیت - اقتصاد
دیجیتال
Technology-driven -بیزینس های مبتنی بر تکنولوژی
Enterprise open source
ارایه دهنده راهکارهای ارتقای سازمانی - فردی - تیمی
Download Telegram
از دستور wall برای ارسال یک پیام به کلیه کاربران که در سیستم وارد شده اند استفاده می شود. این پیام بر روی ترمینال نمایش داده خواهد شد. متن این پیام نیز می تواند از یک فایل خوانده شود
# wall [-n] [-t timeout] [file]

بعنوان مثال با اجرای دستور زیر، محتویات فایل text بر روی ترمینال کلیه کاربرانی که بر روی سیستم شما لاگین کرده اند نمایش داده خواهد شد.
# wall /home/tst

OPTIONS
-n, —nobanner
Suppress the banner.

-t, —timeout timeout
Abandon the write attempt to the terminals after timeout seconds. This timeout must be a positive integer.
The default value is 300 seconds, which is a legacy from the time when people ran terminals over modem
lines.

-g, —group group
Limit printing message to members of group defined as a group argument. The argument can be group name or
GID.

-V, —version
Display version information and exit.

-h, —help
Display help text and exit.

NOTES
Some sessions, such as wdm, that have in the beginning of utmp(5) ut_type data a ':' character will not get the
message from wall. This is done to avoid write errors.


#wall #command #sysadmin #devops @unixmens