select_cli

来自「Pegasus is an open-source implementation」· 代码 · 共 21 行

TXT
21
字号
#!/bin/bash# # The following set of commands tests the new Classes configured through the# sample provider interface.# # $1 = CIM Operation abbreviation accepted by the CLI command.# if [ ! -n "$1" ]then	echo "Requires cim operation as a command arg."	exitelse	rm -f $1-auth.log	CLI $1 -n root/SampleProvider CIMOMSample 2>&1 | tee $1-auth.log	CLI $1 -n root/SampleProvider CIMOMSample -u guest -p nothing 2>&1 | tee -a $1-auth.log	CLI $1 -n root/SampleProvider CIMOMSample -u guest -p guest 2>&1 | tee -a $1-auth.log	CLI $1 -n root/SampleProvider CIMOMSample -u subodh -p soni 2>&1 | tee -a $1-auth.logfi

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?