有什么办法可以重定向smbclient的输出吗?
答
你尝试过这样的:
$ smbclient -U USER%PASSWORD //IPTOSHARE/DIRECTORY/ -c 'cd ANOTHERDIR; dir' > sampletext.txt