git-bash - 如何在 git bash 中打印文本文件的内容?
问题描述
如何在 git bash 中打印文本文件的内容?
我通过 git bash 使用 echo "Hello World!" 添加到文本文件中。> my_text.txt 现在我只想在 git bash 中查看。
解决方案
cat <your file>
例如
推荐阅读
- python - 使用多个顶级域时烧瓶 host_matching 和静态文件
- android - 停止在 @Inject 注释之间添加换行符
- python - 输出 numpy.linspace 与 numpy.array
- python - 如何在 Kmeans 中获得中心点
- python - 在 Python 中从浮点数转换为日期时间
- c++ - 如何在纸牌游戏中实现花色?
- python - 如何使用 BeautifulSoup 抓取带有动态脚本的网页?
- algorithm - 如何计算运行时 t 中算法 O(2log(n)) 的最大输入 n 大小?
- angular - 是否可以改变角度的视图技术?
- java - 如何从文件中获取 JSON 对象并使用 Apache Camel 路由将其映射到 Java 类?