📅  最后修改于: 2020-12-09 06:14:21             🧑  作者: Mango
系统管理员管理计算机操作的配置,维护和可靠操作。 Sysadmin处理服务器,必须管理系统性能和安全性,而又不超出预算来满足用户需求。
系统管理员仅处理终端界面,因此,学习并掌握从终端操作的命令非常重要。
系统管理员的一些重要命令
Command | Function |
---|---|
man | Display information about all commands |
uptime | Show how long system is running |
users | Show username who are currently logged in |
service | Call and execute script |
pkill | Kill a process |
pmap | Memory map of a process |
wget | Download file from network |
ftp or sftp | Connect remote ftp host |
free | Show memory status |
top | Display processor activity of system |
last | Display user’s activity in the system |
ps | Display about processes running on the system |
Shutdown commands | Shutdown and reboot system |
info | Display information about given command |
env | Display environment variable for currently logged-in user |
netstat | Display network status |
arp | Check ethernet connectivity and IP address |
df | Display filesystem information |
du | Display usage |
init | Allow to change server bootup |
nano | A command line editor |
nslookup | Check domain name and IP information |
shred | Delete a file by over writing its content |
cat | Display, copy or combine text files |
pwd> | Print path of current working directory |
locate | Finding files by name on system |
chown | Change ownership of a file |
>alias | To short a command |
echo | Display text |
cmp | Compare two files byte by byte |
mount | Mount a filesystem |
ifconfig | Display configuration |
traceroute> | Trace existing network |
sudo | Run a command as a root user |
route | List routing table for your server |
ping | Check connection by sending packet test packet |
find | Find location of files/directories |
users | Show current logged in user |
who | Same as w but doesn’t show current process |
ls | List all the files |
tar | Compress directories |
grep | Search for a string in a file |
su | Switch from one to another user |
awk | Search lines for a given pattern |