tty1 に x というユーザーがあり、tty2 に y というユーザーがあります。今、xはyにメッセージを書こうとし、その逆の場合も同じです。ここでwrite y tty2
表示されるtty1端末を入力します。
書き込み:書き込み:書き込み権限をオフにします。
書き込み:y無効なメッセージ
yがxにメッセージを送信すると、最後の行の「x」の代わりに同じ内容が表示されます。どうすればいいですか?
ベストアンサー1
y
メッセージが閉じたようです。
y
ターミナルで、次のように入力します。
$ mesg
is n
y
他人が書けない端末を意味しますy
。その後、次のことを試してください。
$ mesg y
ノート
このオプションワイy
上記のコマンドは、お客様のユーザーごとに異なります。
からman mesg
:
NAME
mesg - control write access to your terminal
SYNOPSIS
mesg [y|n]
DESCRIPTION
Mesg controls the access to your terminal by others. It's typically used to allow or disallow other users to write to your terminal
(see write(1)).
OPTIONS
y Allow write access to your terminal.
n Disallow write access to your terminal.
If no option is given, mesg prints out the current access state of your terminal.