zoukankan      html  css  js  c++  java
  • REDIRECTION

    REDIRECTION
    Generalizations
    Congratulations! You learned how to use the command line to redirect standard input and standard output. What can we generalize so far?

    Redirection reroutes standard input, standard output, and standard error.
    The common redirection commands are:

    redirects standard output of a command to a file, overwriting previous content.

    redirects standard output of a command to a file, appending new content to old content.
    < redirects standard input to a command.
    | redirects standard output of a command to another command.
    A number of other commands are powerful when combined with redirection commands:

    sort: sorts lines of text alphabetically.
    uniq: filters duplicate, adjacent lines of text.
    grep: searches for a text pattern and outputs it.
    sed : searches for a text pattern, modifies it, and outputs it.

  • 相关阅读:
    jsp第三次作业
    软件测试第一次
    jsp第二次作业
    JSP第七次作业
    JSP第六次作业
    JSP第五次作业
    软件测试第二次作业
    JSP第四次作业(二)
    JSP第四次作业(一)
    JSP第三次作业
  • 原文地址:https://www.cnblogs.com/young-ma/p/7892580.html
Copyright © 2011-2022 走看看