例如:
tar xvf test.tar.gz ; rm test.tar.gz
有没有更快的方法在第二次执行时引用文件名?
我在想这样的事情(这是无效的):
tar xvf test.tar.gz ; rm $1
有什么可能吗?
我完全了解通配符。
bash
bash ×1