⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sh2.sh

📁 几个linux试验的脚本编程
💻 SH
字号:
#!/bin/bashecho -e "type in the user name: \c"read userifgrep $user /etc/passwd>>/tmp/nullthenecho ""elseecho "$user do not exist in the system."exitfiifwho | grep $user>>/tmp/nullthenwrite $user<<reyhello!reyecho "USERNAME  PID  COMMAND"ps -aux | grep $user | awk '{print $1,"      ",$2,"      ",$11}' | moreelsemail $user<<oohello!oofi

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -