mirror of
https://github.com/kneutron/ansitest.git
synced 2025-01-16 04:42:55 +08:00
Update zfs-show-my-shares--osx.sh
This commit is contained in:
parent
230497e767
commit
cabf745620
@ -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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user