Tips & Tricks

Update the system : “sudo apt-get update”

Upgrade the system : “sudo apt-get dist-upgrade”
https://www.raspberrypi.org/documentation/raspbian/updating.md

Default username,password: pi, raspberry
Default hostname : raspberrypi

Show content of directory in console : “ls”
Go up one level in directory : “cd ..”
Go to root : “cd\”
Edit a file : “sudo nano filename”
Make a copy of a file (good for making a backup copy) : “cp filename”
Lots more commands:
https://www.raspberrypi.org/documentation/linux/usage/commands.md

Better network connectivity:

Install Samba : sudo apt-get install samba samba-common-bin

Connecting to the Raspberry Pi from a Windows PC:
Edit the smb.conf :

####### Authentication #######

security=user

#======================= Share Definitions =====

read only = no

Create a user for Samba and set a password : sudo smbpasswd -a pi

 

Now you can map a drive from a Windows PC at \\raspberrypi\pi with the username and password set for Samba