0% found this document useful (0 votes)
73 views3 pages

Sudo Shutdown - H Now. Also You Can Write Shutdown: Ftp://proxy - Hs-Owl - De:20

This document provides instructions for various tasks on the Raspberry Pi including how to: shut down or restart the Pi using keyboard commands; enter the terminal; check the IP address; set proxy and environment variables; change to DHCP; set the time; copy, delete, and extract files; access the desktop remotely; and check the board version. It also provides tips for bypassing a proxy for git and curl commands and checking installed Python packages.

Uploaded by

Waqas Ali Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
73 views3 pages

Sudo Shutdown - H Now. Also You Can Write Shutdown: Ftp://proxy - Hs-Owl - De:20

This document provides instructions for various tasks on the Raspberry Pi including how to: shut down or restart the Pi using keyboard commands; enter the terminal; check the IP address; set proxy and environment variables; change to DHCP; set the time; copy, delete, and extract files; access the desktop remotely; and check the board version. It also provides tips for bypassing a proxy for git and curl commands and checking installed Python packages.

Uploaded by

Waqas Ali Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

1. How to Shut down Raspberry Pi only using the keyboard?

Press Ctrl-alt-F1 it enters into the terminal


Then write sudo shutdown -h now.
Also you can write shutdown

2. How to enter into terminal by using keyboard


Press Ctrl-alt-T or F10

3. How to know the ip address of the raspberry pi


Sudo ifconfig

4. Restart the pi
Reboot

5. How to enter the envoirnment variable for accessing the internet


Open the terminal and Go to root by following steps
Sudo su
Cd ..
Cd ..
Cd /etc
Sudo nano profile
export http_proxy=http://proxy.hs-owl.de:80
export https_proxy=https://proxy.hs-owl.de:443
export ftp_proxy=ftp://proxy.hs-owl.de:20

6. How to come out from root


Exit

7. How to change to dhcp

Edit interfaces using a simple editor called nano. Enter:


sudo nano /etc/network/interfaces

Edit the last word of line that starts with iface eth0 inet.
To use DHCP services, change the line to:
iface eth0 inet dhcp

8. How to set proxy to apt

Cd /etc
Cd apt
Cd apt.conf.d
Sudo nano apt.conf
Acquire::http::proxy http://proxy.hs-owl.de:80/;
Acquire::https::proxy https://proxy.hs-owl.de:443/;
Acquire::ftp::proxy ftp://proxy.hs-owl.de:20/;

9. How to make exe file


make -f Makefile

10.How to run exe file


./filename

11.How to set the time by using ntp server


http://raspberrypi.tomasgreno.cz/ntp-client-and-server.html

12.How to set the time


Cd /etc
Sudo rm f localtime
ln -s ../usr/share/zoneinfo/Europe/Berlin localtime

13.How to delete file


Go on that folder and write rm filename
Rm r directory name

14.How to copy file from one folder to other


Go to that folder where file is place then write
Cp filename destination location

15.How to remote desktop your pi


http://www.circuitbasics.com/access-raspberry-pi-desktop-remote-connection/

16.How to check pi board


http://www.raspberrypi-spy.co.uk/2012/09/checking-your-raspberry-pi-board-
version/

17.tar -xvf yourfile.tar


18.bzip2 -dk filename.bz2
19.to bypass proxy in git clone
git config --global --add http.proxy "http://proxy.hs-owl.de:80"
20.to bypass curl
export https_proxy=https://proxy.hs-owl.de:443
export https_proxy=$http_proxy
curl
21.Check which packages are installed on python
$ python
>> help("modules")

You might also like