zoukankan      html  css  js  c++  java
  • Used Linux Command

    ftp 浏览器用户登录

    ftp://username:password@host:port

    获取有效IP(Ubuntu)

    ip route get 1 | awk '{print $NF;exit}'

    截取文件名

    basename "/tmp/path/filename.md"    //filename.md
    
    basename "/tmp/path/filename.md" .md    //filename

    grep sed awk

    xargs 给其他命令传递参数的一个过滤器。用作替换工具,读取输入数据重新格式化后输出

    build and execute commands from standard input. It converts input from standard input into arguments to a command

    https://linux.die.net/man/1/xargs

    http://man.linuxde.net/xargs

    打印module依赖树
    ./gradlew moudleName:dependencies

    版本回退到指定commit
    https://git-scm.com/docs/git-reset
    git reset --soft commit_id

  • 相关阅读:
    JavaScript
    css-装饰
    html 标签
    remote connect openshift mysql
    MySQL
    how to run a continuous background task on OpenShift
    openshifit 安装 redis
    Python之路,Day6
    选择排序
    C语言实现链表
  • 原文地址:https://www.cnblogs.com/cnsec/p/13547561.html
Copyright © 2011-2022 走看看