0% found this document useful (0 votes)
89 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)
89 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

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=[Link]
export https_proxy=[Link]
export ftp_proxy=[Link]

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 [Link].d
Sudo nano [Link]
Acquire::http::proxy [Link]
Acquire::https::proxy [Link]
Acquire::ftp::proxy [Link]

9. How to make exe file


make -f Makefile

[Link] to run exe file


./filename

[Link] to set the time by using ntp server


[Link]

[Link] to set the time


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

[Link] to delete file


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

[Link] to copy file from one folder to other


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

[Link] to remote desktop your pi


[Link]

[Link] to check pi board


[Link]
version/

[Link] -xvf [Link]


18.bzip2 -dk filename.bz2
[Link] bypass proxy in git clone
git config --global --add [Link] "[Link]
[Link] bypass curl
export https_proxy=[Link]
export https_proxy=$http_proxy
curl
[Link] which packages are installed on python
$ python
>> help("modules")

You might also like