sysctl -a | grep swap
$ sudo pkill -HUP -u _windowserver
ii samba 2:4.10.9+karoshi-1~linuxschools1+bionic1 amd64 SMB/CIFS file, print and login server for Unix | |
ii samba-common 2:4.10.9+karoshi-1~linuxschools1+bionic1 all common files used by both the Samba server and client | |
ii samba-common-bin 2:4.10.9+karoshi-1~linuxschools1+bionic1 amd64 Samba common files used by both the server and the client | |
ii samba-dbg 2:4.10.9+karoshi-1~linuxschools1+bionic1 amd64 Samba debugging symbols | |
ii samba-dsdb-modules 2:4.10.9+karoshi-1~linuxschools1+bionic1 amd64 Samba Directory Services Database | |
ii samba-libs:amd64 2:4.10.9+karoshi-1~linuxschools1+bionic1 amd64 Samba core libraries | |
ii samba-vfs-modules 2:4.10.9+karoshi-1~linuxschools1+bionic1 amd64 Samba Virtual FileSystem plugins |
#!/bin/bash | |
SMGUID=0 | |
SMBGID=0 | |
while getopts 'd:s:u:p:U:G:' flag; do | |
case "${flag}" in | |
d) DIRECTORY="${OPTARG}" ;; | |
s) SHARE="${OPTARG}" ;; | |
u) USERNAME="${OPTARG}" ;; |