摘要: 通过在/etc/profile里面加入以下代码就可以实现 # Added BY Seven 20200403PS1="`whoami`@`hostname`:"'[$PWD]'historyUSER_IP=`who -u am i 2>/dev/null| awk '{print $NF}'|sed 阅读全文
posted @ 2024-07-23 16:35 大漠孤烟~ 阅读(2) 评论(0) 推荐(0) 编辑