User Tools

Site Tools


42_most_useful_raspberry_pi_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
42_most_useful_raspberry_pi_commands [2016/08/08 22:46] walkeradmin42_most_useful_raspberry_pi_commands [2016/08/08 22:48] walkeradmin
Line 53: Line 53:
 \\  \\ 
     Networking/Internet Commands     Networking/Internet Commands
-    ◦ifconfig: To check the status of the wireless connection you are using  (to see if wlan0 has acquired an IP address).+     
 +    ◦ifconfig: To check the status of the wireless connection you are using  (to see if wlan0 has  
 +    acquired an IP address). 
 +    
     ◦iwconfig: To check which network the wireless adapter is using.     ◦iwconfig: To check which network the wireless adapter is using.
     ◦iwlist wlan0 scan: Prints a list of the currently available wireless networks.     ◦iwlist wlan0 scan: Prints a list of the currently available wireless networks.
-    ◦iwlist wlan0 scan | grep ESSID: Use grep along with the name of a field to list only the fields you need (for example to just list the ESSIDs). +    ◦iwlist wlan0 scan | grep ESSID: Use grep along with the name of a field to list only the  
-    ◦nmap: Scans your network and lists connected devices, port number, protocol, state (open or closed) operating system, MAC addresses, and other information. +    fields you need (for example to just list the ESSIDs). 
-    ◦ping: Tests connectivity between two devices connected on a network. For example, ping 10.0.0.32 will send a packet to the device at IP 10.0.0.32 and wait for a response. It also works with website addresses. +     
-    ◦wget http://www.website.com/example.txt: Downloads the file example.txt from the web and saves it to the current directory.+    ◦nmap: Scans your network and lists connected devices, port number, protocol, state  
 +    (open or closed) operating system, MAC addresses, and other information. 
 +     
 +    ◦ping: Tests connectivity between two devices connected on a network. For example,  
 +    ping 10.0.0.32 will send a packet to the device at IP 10.0.0.32 and wait for a response. 
 +    It also works with website addresses. 
 +     
 +    ◦wget http://www.website.com/example.txt: Downloads the file example.txt from the web and  
 +    saves it to the current directory.
 \\  \\ 
 \\  \\ 
     System Information Commands     System Information Commands
 +    
     ◦cat /proc/meminfo: Shows details about your memory.     ◦cat /proc/meminfo: Shows details about your memory.
     ◦cat /proc/partitions: Shows the size and number of partitions on your SD card or hard drive.     ◦cat /proc/partitions: Shows the size and number of partitions on your SD card or hard drive.
Line 73: Line 85:
     ◦hostname -I: Shows the IP address of your Raspberry Pi.     ◦hostname -I: Shows the IP address of your Raspberry Pi.
     ◦lsusb: Lists USB hardware connected to your Raspberry Pi.     ◦lsusb: Lists USB hardware connected to your Raspberry Pi.
-    ◦UP key: Pressing the UP key will enter the last command entered into the command prompt. This is a quick way to correct commands that were made in error.+    ◦UP key: Pressing the UP key will enter the last command entered into the command prompt.  
 +        This is a quick way to correct commands that were made in error.
     ◦vcgencmd measure_temp: Shows the temperature of the CPU.     ◦vcgencmd measure_temp: Shows the temperature of the CPU.
     ◦vcgencmd get_mem arm && vcgencmd get_mem gpu: Shows the memory split between the CPU and GPU.     ◦vcgencmd get_mem arm && vcgencmd get_mem gpu: Shows the memory split between the CPU and GPU.
 \\  \\ 
 \\  \\ 
42_most_useful_raspberry_pi_commands.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1