sh Windows命令行工具

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh Windows命令行工具相关的知识,希望对你有一定的参考价值。

## https://evdokimovm.github.io/windows/zsh/shell/syntax/highlighting/ohmyzsh/hyper/terminal/2017/02/24/how-to-install-zsh-and-oh-my-zsh-on-windows-10.html

#################################
## Print folder tree structure ##
#################################
tree /F /A
# Save to file
tree /F /A > tree.txt


########################
## Create dummy files ##
########################

#http://www.windows-commandline.com/how-to-create-large-dummy-file/
fsutil file createnew filename length

# For example, to create a dummy file test.txt, with size as 20MB :
fsutil file createnew test.txt 20971520

# Create real data file
# 8 MB  : (1,1,17), 16 MB : (1,1,18) etc (last number doubles size)
echo "This is just a sample line appended to create a big file.. " > test.txt
for /L %i in (1,1,18) do type test.txt >> test.txt

以上是关于sh Windows命令行工具的主要内容,如果未能解决你的问题,请参考以下文章

Scoop Windows 的命令行安装程序管理工具

ide phpStorm使用git的命令行工具

ZooKeeper命令行工具zkCli.sh

sh 使用Windows上的Git Bash通过命令行打开WebStorm文件。

sh 使用gs命令行工具压缩pdf文件

Clojure 1.9命令行工具 - 找不到命令clj.sh