ls -ld

chmod -R 0777 ./             #gives 0777 to all files and directories starting from the current path

md5sum           #checksum

scp pi@192.168.1.1:/folder/file /folder/to                       #lan copy

sudo apt-get install transmission-gtk -y

sudo apt-get install vlc

vcgencmd otp_dump | grep 17           #checks for usb bootable, 102000a is not done.  One time programable memeory

#change the confige file /boot/config.txt to change the usb boot.  You want to erase the line after it's done
program_usb_boot_mode=1

systemctl restart vncserver.service

service apache2 restart

#to disable BT wifi
dtoverlay=pi3-disable-wifi
dtoverlay=pi3-disable-bt

sudo apt-get install samba samba-common.bin -y
smbpasswd -a pi
sudo service smb restart

[tordrive]
        comment = tordrive
        path = /home/pi/Downloads
        browseable = yes
        create mask = 0775
        directory mask = 0775
        valid users = pi
        writeable = yes
max connections = 8

[dvr2pi]
        comment = Dvr2Pi Share
        path = /home/dietpi
        browseable = yes
        create mask = 0775
        directory mask = 0775
        valid users = dietpi
        writeable = yes
max connections = 8

[tinkerdvr]
        comment = tinkerdvr Share
        path = /mnt/SSD500/tvshows
        browseable = yes
        create mask = 0775
        directory mask = 0775
        valid users = dietpi
        writeable = yes
max connections = 8

[www]
        comment = www
        path = /var/www
        browseable = yes
        create mask = 0775
        directory mask = 0775
        valid users = dietpi
        writeable = yes
max connections = 8




dietpi-services restart