常用命令和系统常量查询-win,linux,macos

一,查询

windows CMD常量

windows powershell常量

linux命令

MacOS命令

https://ss64.com/

 

使用记录

windows CMD常量:https://ss64.com/nt/errorlevel.html

1.输出脚本退出的状态码

echo %errorlevel%

 2.打印当前环境变量

set

 

 
posted @ 2022-06-14 15:51  小柴i  阅读(181)  评论(0)    收藏  举报