linux 文本搜索 grep
发表于|更新于|others
实例
1 | php -i|grep php.ini |
前面是命令 后面是要搜索匹配的值
文章作者: developer
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 Dev!
相关推荐
2018-05-09
linux ubuntu 启用 ssh sftp
stfp底层使用ssh协议所以只要启用ssh即可网上一般的教程支离破碎,难以应用于实际工作以下给出正确做法 1234567891. 编辑配置文件vim /etc/ssh/sshd_config2. 具体内容PermitRootLogin truePasswordAuthentication yes 3. 重启sshservice sshd restart 发现有3个错误 123456Could not load host key: /etc/ssh/ssh_host_dsa_keyCould not load host key: /etc/ssh/ssh_host_ecdsa_keyCould not load host key: /etc/ssh/ssh_host_ed25519_key * Restarting OpenBSD Secure Shell server sshd Could not load host key: /...
2022-12-26
kubuntu 卡住 如何重启-
按住ctrl + alt 依次按下 SysRq(PrScrn),R,E,I,S,U,B
2018-11-29
linux 创建软连接
1ln -s /data/wwwroot/default/storage/app/public storage
2018-02-19
linux 复制文件
将文件复制到指定目录 进入指定目录 执行如下命令, *.*表示当前目录 1mv /usr/xu/* .
2020-06-04
linux 用户
12groupadd www-datauseradd -g www-data www-data
2018-05-05
linux 常用 命令
df检查文件系统的磁盘空间占用情况 wget下载文件 tar123解压:tar -zxvf /usr/local/test.tar.gz压缩:tar zcvf FileName.tar.gz DirName ps查看进程 12ps -ax ps -ax | less find查找文件 1find / -iname "*a.txt*"
公告
This is my Blog