一个简单的问题:
我有这个:
hostname > test.txt fdesetup status >> test.txt
我如何让它实际将.txt文件命名为计算机的主机名?
.txt
例子:
computer1234 是主机名,因此 txt 文件将被创建为 computer1234.txt
computer1234
computer1234.txt
shell
shell ×1