你在什么情况下需要写 shell ?

Views :
Update time : 2025-06-21 10:55:18

日常管理文件类的脚本我尽量用powershell而不用Python,因为powershell更方便,写个带参数的自定义函数,powershell要方便得多,Powershell中的-WhatIf参数极为好用,让我可以安全的预览一下脚本将会进行什么操作。

还自带补全功能,我用Python写命令行工具我不知道咋带上WhatIf参数,而且即使写出带参数的命令行工具也不带自动补全功能。

你在什么情况下需要写 shell ?
Related News
Read More >>
Blog Post With Youtube Video 你为什么从腾讯离职?
2025-06-20 09:40:17
你为什么从腾讯离职?...
Blog Post With Youtube Video Rust 使用 Result 的错误处理方式与 Golang 使用 error 的方式有什么本质区别?
2025-06-20 11:00:19
Rust 使用 Result 的错误处理方式与 Golang 使用 error 的方式有什么本质区别?...
Blog Post With Youtube Video 鸿蒙电脑会在国内逐渐取代windows电脑吗?
2025-06-20 11:30:20
鸿蒙电脑会在国内逐渐取代windows电脑吗?...
Blog Post With Youtube Video 你们都什么时候对男女之事开窍的?
2025-06-20 09:50:16
你们都什么时候对男女之事开窍的?...

Leave Your Message