added sambashare convenience alias, updated README.md with usage documentation section

This commit is contained in:
2021-07-18 18:41:56 +02:00
parent 6b2dded19a
commit a8eaab7e81
2 changed files with 7 additions and 0 deletions

View File

@@ -2,3 +2,5 @@ alias pubkey='cat ~/.ssh/id_rsa.pub'
alias hosts='sudo nano /etc/hosts'
alias historygrep='history | grep'
alias newrepo='bash <(curl -s https://get.bjphoster.com/new-git-repo.sh)'
alias sambaserver='docker run -it --rm --network host -p 137:137 -p 138:138 -p 139:139 -p 445:445 -v `pwd`:/share dperson/samba -n -p -s "sambashare;/share;yes;no;no;shareuser" -w "WORKGROUP"'