Update zfs-show-my-shares--osx.sh

This commit is contained in:
kneutron 2021-04-08 13:20:20 -05:00 committed by GitHub
parent 230497e767
commit cabf745620
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
#!/bin/bash
#smbclient -N -L localhost
# in linux guest: smbclient -U nerdz -L hostIP
# in linux guest: smbclient -U userid -L hostIP
outfile=/tmp/sharing.txt
@ -13,5 +13,3 @@ sharing -l |grep -A 1 smb |grep -v smb >> $outfile
#less $outfile
grep -v '^--' $outfile