将curl的结果写到文件中

命令:

curl http://localhost:21210/cache | cat > a.txt

原理:

将curl的结果输入到管道中,然后使用cat命令写到文件中

猜你喜欢

转载自blog.csdn.net/m0_46521785/article/details/132051097