linux系统_3

查找命令:

  1. grep 搜索字符串(支持正则表达式)
  2. find 搜索文件
    name 根据名字搜索 例: find / name ''*.html'' 搜索后缀名为.html的所有文件
    size 根据大小搜索 -10M / +10M 搜索文件小于10M/大于10M的文件
    type 根据类型搜索 d / f / l / s 文件类型是 c 的文件。
    d: 目录
    c: 字型装置文件
    b: 区块装置文件
    p: 具名贮列
    f: 一般文件
    l: 符号连结
    atime 最后访问时间
    mtime 最后修改时间 例:find . mtime 0
    ctime 创建时间

网络相关命令:
1.ssh 安全远程连接 例如: ssh [email protected]
2.scp 安全文件拷贝 例如: scp -r/root/code [email protected]:/root/code2
3.sftp 安全文件传输(file transfer protocol) 例如:sftp [email protected]

  • put 上传
  • get 下载
  • bye 退出
  • help 查看帮助
  • ping 检查网络可达性
  • ICMP (Internet Control Management Protocol) 网络层
  • ttl time to live
  • PING TO DEATH - DDos - Distributed Deny of Servive 分布式拒绝服务攻击

你可能感兴趣的:(linux系统_3)