上一页 1 ··· 60 61 62 63 64 65 66 67 68 ··· 72 下一页
摘要: macOS 下使用 Homebrew 安装 gnuplot 在 terminal 中输入 进入模式之后,提示_Terminal type set to unknown_,不能 plot。 解决方法: 重新在 terminal 中输入 发现:_Terminal type set to 'x11'_,问 阅读全文
posted @ 2017-06-04 14:41 2021年的顺遂平安君 阅读(1321) 评论(0) 推荐(0)
摘要: 但是在 terminal 里面输入: 提示 。解决方法是安装 x11: 阅读全文
posted @ 2017-06-04 14:39 2021年的顺遂平安君 阅读(4071) 评论(0) 推荐(0)
摘要: 上面这条命令的实际效果是: 1. 获得 的 output 2. 将上述 output 进行 sort (排序),并去掉 重复项 (uniq) 3. 将经过以上处理的 output 作为 命令的 input,输出在屏幕上 相反地,如果想 输出重复项 ,使用以下命令: 阅读全文
posted @ 2017-06-04 14:38 2021年的顺遂平安君 阅读(2981) 评论(0) 推荐(0)
摘要: pipelines: 例如, ,将输出结果作为 less 命令的输入结果,在standard output 中显示出来。 管道命令 "|" 和重定向命令 " " 的区别 the redirection operator connects a command with a file while the 阅读全文
posted @ 2017-06-04 14:37 2021年的顺遂平安君 阅读(162) 评论(0) 推荐(0)
摘要: The cat command reads one or more files and copies them to standard output 也就是说,cat命令读取文件, 并显示在 standard output 中。正常情况下,也就是显示在屏幕上。 cat 的另一个功能是 concate 阅读全文
posted @ 2017-06-04 14:36 2021年的顺遂平安君 阅读(505) 评论(0) 推荐(0)
摘要: `ls l /usr/bin ls output.txt` 将输出结果重定向到 ls output.txt 文件。注意:再次使用 会默认覆盖源文件。如果要追加输出信息到文件末尾,使用: 。 在shell中,standard input, output 和 error 分别对应于file descri 阅读全文
posted @ 2017-06-04 13:54 2021年的顺遂平安君 阅读(1201) 评论(0) 推荐(0)
摘要: `cp a`:连同属性和权限也一起复制 :如果不带该参数, 默认覆盖同名文件 而 不会提醒 。 :只拷贝符合以下条件的文件到目标目录:目标目录中 不存在 的文件或目标目录中 文件版本较旧 的文件。 以上参数也适用于移动/重命名命令 。 阅读全文
posted @ 2017-06-04 13:53 2021年的顺遂平安君 阅读(266) 评论(0) 推荐(0)
摘要: Hard link Hard link不能指向 不在同一磁盘 的文件 Hard link不能指向 目录 Hard link与源文件 几乎没有区别 。只能通过 看出link关系。另外,删除源文件后,Hard link文件 仍然存在 , 保留了源文件的内容 。 Symbol link 可以指向文件夹和不 阅读全文
posted @ 2017-06-04 13:53 2021年的顺遂平安君 阅读(800) 评论(0) 推荐(0)
摘要: `less` _filename_:可以方便地查看文本文件 当一条命令的输出结果较长的时候,可以通过管道传给less命令便于浏览,比如 。 阅读全文
posted @ 2017-06-04 13:52 2021年的顺遂平安君 阅读(217) 评论(0) 推荐(0)
摘要: :_the current working directory_ : return to the previous working directory _Filenames that begin with a period character are hidden._ 使用 不会显示 这些文件,必须 阅读全文
posted @ 2017-06-04 13:50 2021年的顺遂平安君 阅读(232) 评论(0) 推荐(0)
上一页 1 ··· 60 61 62 63 64 65 66 67 68 ··· 72 下一页