摘要:
地址:https://www.linuxcool.com 线上查询及帮助命令 man:全拼manual,用来查看系统中自带的各种参考手册。 help:用于显示shell内部命令的帮助信息。 文件和目录操作命令 ls:全拼list,列出目录的内容及其内容属性信息。 cd:全拼change direct 阅读全文
posted @ 2025-01-14 10:51
hanease
阅读(184)
评论(0)
推荐(0)
摘要:
Grep命令主要用于从文件中查找指定的字符串。首先建一个demo_file: 复制代码 代码如下: $ cat demo_fileTHIS LINE IS THE 1ST UPPER CASE LINE IN THIS FILE.this line is the 1st lower case lin 阅读全文
posted @ 2025-01-14 10:50
hanease
阅读(671)
评论(0)
推荐(0)
摘要:
1、git init:初始化一个Git仓库;2、git clone:从远程仓库克隆代码到本地;直接使用网址 git clone <url>or用a代替网址 git remote add a <url> git clone a3、git add:添加文件到暂存区;文件名 git add <filena 阅读全文
posted @ 2025-01-14 10:46
hanease
阅读(178)
评论(0)
推荐(0)
摘要:
1、常用基础 防火墙systemctl status firewalldsystemctl stop firewalldsystemctl start firewalld find / -size +100M -lsnetstat -tunlp iptables -nLnetstat -tulnca 阅读全文
posted @ 2025-01-14 10:29
hanease
阅读(79)
评论(0)
推荐(0)
摘要:
1,关机命令 1 shutdown -h now/0 2 halt 3 init 0 4 poweroff 5 举例: 6 shutdown -h 3 3分钟后关机(可用shutdown -c来取消3分钟关机的操作) 2,重启命令 1 shutdown -r now/0 2 init 6 3 reb 阅读全文
posted @ 2025-01-14 10:06
hanease
阅读(185)
评论(0)
推荐(0)
摘要:
#1.常规命令 #查看僵尸进程 ps -al | gawk '{print $2,$4}' | grep Z # 匹配电子邮件的地址 cat index.html | egrep -o "[A-Za-z0-9._]+@[A-Za-z0-9.]+\.[a-zA-Z]{2,4}" > ans.txt # 阅读全文
posted @ 2025-01-14 09:51
hanease
阅读(97)
评论(0)
推荐(0)

浙公网安备 33010602011771号