Handy Commands and Links

Terminal Commands

SSH connection to your Pi (mac using terminal):
ssh pi@RPiIPAddress

Reboot:
sudo reboot

Shutdown:
sudo shutdown -h now

Make a file:
sudo nano YourFileName.xxx

Get the temperature:
/opt/vc/bin/vcgencmd measure_temp

Find connected storage devices:
sudo fdisk -l

Mount an FAT device:
sudo mount -t vfat -o uid=pi,gid=pi /dev/sda1 /mnt/usb

Mount an NTFS device:
First instal the file sytem dependencies
sudo apt-get install ntfs-3g

then mount the drive to the folder usb
sudo mount -t ntfs -o uid=pi,gid=pi /dev/sda1 /mnt/usb

Unmount a storage device
sudo umount /dev/sdaX

 
 

Useful Links

Official Raspberry Pi community

Embedded Linux WiKi

Embedded Linux WiKi - Raspberry Pi

The MagPi - A free RPi magazine

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s