参考:图解Linux命令之--mesg命令

Linux mesg命令

在看一个脚本~/.profile 的时候发现了mesg命令以及一个奇怪用法

~/.profile 

# ~/.profile: executed by Bourne-compatible login shells.

if [ "$BASH" ]; then
  if [ -f ~/.bashrc ]; then
    . ~/.bashrc
  fi
fi

mesg n || true
View Code

相关文章:

  • 2021-07-04
  • 2021-12-19
  • 2021-04-19
  • 2022-01-02
  • 2022-02-12
  • 2021-05-26
  • 2021-10-17
猜你喜欢
  • 2022-12-23
  • 2021-05-25
  • 2022-12-23
  • 2022-12-23
  • 2021-12-23
  • 2021-12-23
  • 2021-09-19
相关资源
相似解决方案