日期:
来源:Linux公社收集编辑:聆听世界的鱼
点击上方蓝字 ● 关注Linux公社
Linux 工具 - 必备的 Linux 工具以及如何最好地利用它们。
AdHoc 命令 - 在紧急情况下,AdHoc 命令可以非常有用。
第一部分:Linux 工具
$ rsync -vap --ignore-existing <source_file> <destination_file># Key flags:v = verbrose, r = recursive, p = preserve permissions, g = group, o = owner, a = archive, --progress = progresss bar
screen
$ screen # 启动screen 会话$ screen -ls # 列出正在运行的服务$ screen -r # 附加到会话
$ ldapsearch -x -W -D <username | less# Key Flags-x = simple authentication, -W = prompt for password, -D = Use distinguished binddn name to bind to LDAP directory
如果您经常使用 LDAP 数据库,则必须使用 Ldapsearch 工具。该工具打开到 LDAP 服务器的连接,并允许您搜索、查找和调试数据库中的条目。
linuxmi@linuxmi /home/linuxmi/www.linuxmi.com⚡ wall hi
$ netstat -a #列出所有网络端口$ netstat -tlpn # 列出所有侦听端口# Key Flags-s = Show statistics, -v = verbrose, -r = show routing tables, -i display interface table, -g = show group memeberships
$ nslookup www.93139.com/tags/devops# Key Flags-port = Change port number for connection, -type = Change type of query. -domain = Sets search list to name
如何使用 tcpdump 在 Linux 中捕获网络流量 https://www.linuxmi.com/tcpdump-linux.html
Linux 上使用 tcpdump 的 6 个示例 https://www.linuxmi.com/linux-tcpdump-shili.html
链接:https://www.linuxmi.com/linux-commands-important.html
关注我们 长按或扫描下面二维码关注 Linux公社
关注 Linux公社,添加“ 星标 ”
每天 获取 技术干货,让我们一起成长
合作联系:root@linuxidc.net