Raspberry Pi, Robotics

Raspberry Pi Notes


Today, I am going to share some of my frequently used things with Raspberry pi.

Change password:


For safety purposes , it is important to change the default password.

Just type the following command, it will bring the change password option.

sudo raspi-config

You are asked to type the new password twice.


Update and upgrade Raspberry pi:

sudo apt-get update

sudo apt-get upgrade

sudo apt-get update && sudo apt-get install rpi-update

The first two commands will update the  software packages.

The  last command will update the firmware.

Look into the below link for more details.



Save some disk space:

To see the disk space hit the command

df -h

Now to clean some archived files use the following command, that will free up some space

sudo apt-get autoclean


Safely shutdown Raspberry pi:

The following command will safely shutdown your pi

sudo shutdown -h now


Clone your sdcard:


Once downloading and upgrading your preferred settings, it is best to save these settings permanently. For this purpose, we use Win32DiskImager.

Start Win32DiskImager, and in the image file option, give the folder path  in your computer where you want to save settings as .img file. insert the sd card and select the win32diskimager.

Now  just press “read” tab. That’s it, you cloned your sdcard.

Next time, if your sd-card get corrupted, or you wanna restore your previous settings, just insert your sd-card, and chose this cloned .img file in win32diskimager.

setup VNC player:

I run my Raspberry pi headless, so it is very handy for me to see the desktop of pi with vnc player. The following command will install tightvnc server on pi.

sudo apt-get install tightvncserver

First time you require to set-up the password. So hit the following command


On windows computer, I install tightvnc viewer and xming to see the Pi’s desktop.

For more detailed steps, see the excellent tutorial in the following guide









One thought on “Raspberry Pi Notes

  1. Pingback: Raspberry Pi Robot Construction | scientistnobee

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s