Linux common commands, linux system, what operating system linux belongs to, linux system installation, how to read linux, the difference between linux and windows, linux configuration ip address, linux system is generally used, online query tool

  • Common commands of linux  vi editor
  • linux  view ip
  • linux  find -name to find the file name
  • linux shell
  • Linux  view port occupancy
  • Linux  delete file command
  • linux  cp command to copy files to another directory
  • linux  operating system
  • Linux view native ip command
  • Linux  decompression zip package command

linux online command query

 The following are common Linux commands

COMMAND DESCRIPTION
ab Performance testing tool for Apache server
accept Instructs the printing system to accept print jobs to the specified destination printer
ack A better text search tool than grep
alias Define or display an alias.
apachectl Apache server front-end control tool
apk Package management tool for Alpine Linux
apropos Find a string in the whatis database
apt-get APT Package Management Tool in Debian Linux Distributions
apt-key Manage Package Keys in Debian Linux Systems
apt-sortpkgs A tool for sorting package index files under Debian Linux
aptitude Software package management tool in Debian Linux system
ar Create or modify a backup file, or extract a file from a backup file
arch Display the hardware architecture type of the current host
arj Used to create and manage .arj archives
arp The arp command is used to display and modify the IP to MAC translation table
arpd Collect gratuitous ARP information
arping Test the network by sending ARP protocol packets
arptables Manage ARP packet filtering rule table
arpwatch Listen to ARP records on the network
as assembly language compiler
at Execute a task at a specified time
atop Tools for Monitoring Linux System Resources and Processes
but List the current user's at task list
atrm Delete the specified task in the pending task queue
awk A programming language for text and data manipulation
axel Multi-threaded download tool
badblocks Find corrupted blocks on disk
base64 base64 encode/decode file or standard input and output
basename Print the base name of a directory or file
batch Execute scheduled tasks when the system is not busy
break End a for, while or until loop.
bzcat Decompress the specified .bz2 file
cal Display the current calendar or a calendar for a specified date
cancel Cancel an existing print job
cat Concatenate multiple files and print to standard output.
change Modify the validity period of account number and password
chattr Used to change file attributes
chpasswd Tool to batch update user passwords
clear Clear any information on the current screen terminal
command Call and execute the specified command
convertquote Convert old quota files to new format
crontab Submit and manage user tasks that need to be performed periodically
cupsdisable stop the specified printer
cupsenable Start the specified printer
date Display or set system time and date
declare Declare variables, set or display their values ​​and properties.
dhcrelay Relay DHCP and BOOTP requests can be provided using the dhcrelay command
diffstat A histogram showing the output of the diff command
dirname Strip non-directory parts from filenames
dnsdomainname Defines the domain name of the FQDN name in the DNS system
domainname Display and set the system's NIS domain name
dpkg-statoverride Override File Ownership and Mode in Debian Linux
dstat General system resource statistics tool
e2label Set the volume label for the second extended file system
edquota Used to edit the specified user or workgroup disk quota
emacs Powerful full-screen text editor
enable 启动或禁用shell内建命令
expand 将文件的制表符转换为空白字符
false 返回状态为失败。
firewall-cmd Linux上新用的防火墙软件,跟iptables差不多的工具
gpasswd Linux下工作组文件的管理工具
groupadd 用于创建一个新的工作组
halt 关闭正在运行的Linux操作系统
hdparm 显示与设定硬盘的参数
head 显示文件的开头部分。
hostname 显示和设置系统的主机名
hostnamectl 查询或更改系统主机名
htpasswd apache服务器创建密码认证文件
ifstat 统计网络接口流量状态
inotifywait 异步文件系统监控机制
install 安装或升级软件或备份数据
iostat 监视系统输入输出设备和CPU的使用情况
ip6tables-restore 还原ip6tables表
ip6tables-save 保存ip6tables表配置
ip6tables linux中防火墙软件
ipcalc 简单的IP地址计算器
iptables-restore 还原iptables表的配置
iptables-save 备份iptables的表配置
iptables Linux上常用的防火墙软件
iptraf 实时地监视网卡流量
iptstate 显示iptables的工作状态
journalctl 检索 systemd 日志,是 CentOS 7 才有的工具。
killall 使用进程的名称来杀死一组进程
last 列出目前与过去登入系统的用户相关信息
lastb 列出登入系统失败的用户相关信息
lastlog 显示系统中所有用户最近一次登录信息
lha 压缩或解压缩lzh格式文件
lnstat 显示Linux系统的网路状态
local 在函数内定义局部变量。
locate 比 find 好用的文件查找工具
logname 打印当前终端登录用户的名称。
logrotate 系统日志进行轮转、压缩和删除
logsave 将命令的输出信息保存到指定的日志文件
logwatch 可定制和可插入式的日志监视系统
lpadmin 配置CUPS套件中的打印机和类
lpstat 显示CUPS中打印机的状态信息
lsattr 查看文件的第二扩展文件系统属性
lsb_release 显示发行版本信息
ltrace 用来跟踪进程调用库函数的情况
lvcreate 用于创建LVM的逻辑卷
lvdisplay 显示逻辑卷属性
lvscan 扫描逻辑卷
mail 命令行下发送和接收电子邮件
mailq 显示待发送的邮件队列
mailstat 显示到达的邮件状态
make GNU的工程化编译工具
man 查看Linux中的指令帮助
mapfile 从标准输入读取行并赋值到数组。
mkswap 建立和设置SWAP交换分区
mpstat 显示各个可用CPU的状态
mysqladmin MySQL服务器管理客户端
named-checkzone 使用named-checkzone命令可以进行区域文件有效性检查和转换,必须指定区域名称和区域文件名称
nano 字符终端文本编辑器
netstat 查看Linux中网络系统状态信息
nfsstat 列出NFS客户端和服务器的工作状态
nisdomainname 显示主机NIS的域名
nmap 网络探测和安全审核
ntpdate 使用网络计时协议(NTP)设置日期和时间
parted 磁盘分区和分区大小调整工具
partprobe 不重启的情况下重读分区
passwd 用于让用户可以更改自己的密码
paste 将多个文件按列队列合并
patch 为开放源代码软件安装补丁程序
pathchk 检查文件中不可移植的部分
pidstat 监控进程的系统资源占用情况
pmap 报告进程的内存映射关系
pstack 显示每个进程的栈跟踪
pvchange 修改物理卷属性
pvcreate 将物理硬盘分区初始化为物理卷
pvdisplay 显示物理卷的属性
pvscan 扫描系统中所有硬盘的物理卷列表
quota 显示磁盘已使用的空间与限制
quotacheck 检查磁盘的使用空间与限制
quotaoff 关闭Linux内核中指定文件系统的磁盘配额功能
quotaon 激活Linux内核中指定文件系统的磁盘配额功能
read 从键盘读取变量值
readelf 用于显示elf格式文件的信息
readonly 标记shell变量或函数为只读
rename 用字符串替换的方式批量改变文件名
repquota 报表的格式输出磁盘空间限制的状态
sar 系统运行状态统计工具
scriptreplay 重新播放终端会话的所有操作
semanage 默认目录的安全上下文查询与修改
sendmail 著名电子邮件服务器
sesearch 查询SELinux策略的规则详情
setfacl 设置文件访问控制列表
slabtop 实时显示内核slab内存缓存信息
slocate 命令查找文件或目录
smbpasswd samba用户和密码管理工具
ssh-add 把专用密钥添加到ssh-agent的高速缓存中
ssh-agent ssh密钥管理器
ssh-keyscan 收集主机公钥的使用工具
startx 用来启动X Window
stat 用于显示文件的状态信息
strace 跟踪系统调用和信号
swapoff 关闭指定的交换空间
swapon 激活Linux系统中交换空间
tac 连接多个文件并以行为单位反向打印到标准输出。
tail 在屏幕上显示指定文件的末尾若干行
tailf 在屏幕上显示指定文件的末尾若干行内容,通常用于日志文件的跟踪输出
talk 让用户和其他用户聊天
tar 将许多文件一起保存至一个单独的磁带或磁盘归档,并能从归档中单独还原所需文件。
tcpreplay 将PCAP包重新发送,用于性能或者功能测试
timedatectl 用于在 Linux 中设置或查询系统时间、日期和时区等配置。
tload 显示系统负载状况
tracepath 追踪目的主机经过的路由信息
traceroute 显示数据包到主机间的路径
trap 捕捉信号和其他事件并执行命令。
umask 显示或设置创建文件的权限掩码。
unalias 删除由alias设置的别名
uname 打印系统信息。
unarj 解压缩由arj命令创建的压缩包
unexpand 将文件的空白字符转换为制表符
unrar 解压rar文件命令,从 rar 压缩包中提取文件
updatedb 创建或更新slocate命令所必需的数据库文件
useradd 创建的新的系统用户
vgchange Modify volume group properties
vgcreate Used to create LVM volume groups
vgdisplay Display information about LVM volume groups
vgrename Use the vgrename command to rename the name of the volume group
vgscan Scan and display volume groups in the system
vmstat show virtual memory status
wavename Display the volume name of the specified device in ISO-9660 format
wait Return after waiting for the process to complete
wall Output information to all currently open terminals of the system
watch The output of the command can be output to the standard output device, which is mostly used for periodic execution of commands/timing execution of commands
whatis Query what function a command performs
whoami Print the name corresponding to the currently valid user ID
xargs A filter that passes arguments to other commands
xauth Display and edit credentials used to connect to the X server
xlsatoms List all atomic components defined inside the X server
ypdomainname Display the host's NIS domain name
zcat Display the contents of the files in the archive

Guess you like

Origin blog.csdn.net/a913222/article/details/130435853