美文网首页
发现了一些好玩的东西

发现了一些好玩的东西

作者: __Jo | 来源:发表于2018-12-19 20:46 被阅读0次

Github raylee/tldr -- 专注于给出例子的manual手册

#tldr script
script

Make a typescript file of a terminal session.

- Start recording in file named "typescript":
  script

- Stop recording:
  exit

- Start recording in a given file:
  script logfile.log

- Append to an existing file:
  script -a logfile.log

- Execute quietly without start and done messages:
  script -q logfile.log


#tldr pv
pv

Monitor the progress of data through a pipe.

- Print the contents of the file and display a progress bar:
  pv file

- Measure the speed and amount of data flow between pipes (`-s` is optional):
  command1 | pv -s expected_amount_of_data_for_eta | command2

- Filter a file, see both progress and amount of output data:
  pv -cN in big_text_file | grep pattern | pv -cN out > filtered_file

- Attach to an already running process and see its file reading progress:
  pv -d PID

- Read an erroneous file, skip errors as `dd conv=sync,noerror` would:
  pv -EE path/to/faulty_media > image.img

- Stop reading after reading specified amount of data, rate limit to 1K/s:
  pv -L 1K -S maximum_file_size_to_be_read

script 命令 -- terminal 录频,在 特殊场景下结合一些编解码和管道控制手段,会有非常实用的功能 😯

相关文章

  • 发现了一些好玩的东西

    Github raylee/tldr -- 专注于给出例子的manual手册 script 命令 -- termi...

  • 我发现了好玩的东西

    谁说我在生产岗位上只能做体力活呢? 我找到了我要学习的东西 就是生产和品质管理 关于超净间,我需要关注的东西是什么...

  • 2018-07-11

    我发现了好玩的东西,却忘了你已不在

  • 是双胞胎吗

    最近发现了个好玩的东西,不说了直接上图

  • CSS | Dark Mode | 暗黑模式

    CSS | Dark Mode 闲来无事,在网上闲逛,发现了一些好玩的东西。黑暗主题对于网站而言,有些网站会提供不...

  • 这是一篇让人脸红的python数据分析 !

    “情趣内衣哪家强?” 摘要:爬取亚马逊页面情趣内衣销售数据发现了一些好玩的东西 关键词:Python 爬虫 数据分...

  • 我的MarkDown笔记

    重新开始写博客记录一些开发中的Demo,从CSDN转到简书,发现了MarkDown,这是一个神奇又好玩的东西。花了...

  • 这是一篇让人脸红的python数据分析

    摘要:爬取亚马逊页面情趣内衣销售数据发现了一些好玩的东西关键词:Python 爬虫 数据分析 电商 流量文末分享本...

  • flex布局下一些有趣的东西

    今天在玩flex布局的过程中发现了一些非常好玩的东西,现在分享给大家。 flex布局与与图像尺寸 首先看如下htm...

  • 6/70  今日偶得

    早起去市场,挑了一些喜欢的雨花石后,继续在市场逛。看有没有好玩的东西。在一堆杂七杂八假古董的东西里发现了一个鸵鸟蛋...

网友评论

      本文标题:发现了一些好玩的东西

      本文链接:https://www.haomeiwen.com/subject/dvsskqtx.html