![]() ![]() nmap: Scans your network and lists connected devices, port number, protocol, state (open or closed) operating system, MAC addresses, and other information.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: Prints a list of the currently available wireless networks.iwconfig: To check which network the wireless adapter is using.ifconfig: To check the status of the wireless connection you are using (to see if wlan0 has acquired an IP address).touch example.txt: Creates a new, empty file named example.txt in the current directory.is the username and local IP address of the PC, and /some/path/file.txt is the path and file name of the file on the PC. Can be used to download a file from a PC to the Raspberry Pi. rmdir example_directory: Deletes the directory example_directory (only if it is empty).rm example.txt: Deletes the file example.txt.For example, mv examplefile.txt newfile.txt renames examplefile.txt to newfile.txt, and keeps it in the same directory. This command can also be used to rename files (but only within the same directory). ![]() cp /home/pi/documents/examplefile.txt /home/pi/office/ moves the file from the documents directory to the office directory). If the file is not in the current directory, add the path of the file’s location (i.e. For example, mv examplefile.txt /home/pi/office/ moves examplefile.txt in the current directory to the /home/pi/office directory. mv XXX: Moves the file or directory named XXX to a specified location.mkdir example_directory: Creates a new directory named example_directory inside the current directory.ls -l: Lists files in the current directory, along with file size, date modified, and permissions.cp /home/pi/documents/examplefile.txt /home/pi/office/ copies the file from the documents directory to the office directory). cp examplefile.txt /home/pi/office/ copies examplefile.txt in the current directory and pastes it into the /home/pi/ directory. cp XXX: Copies the file or directory XXX and pastes it to a specified location i.e.cd /abc/xyz: Changes the current directory to the /abc/xyz directory.cat example.txt: Displays the contents of the file example.txt.startx: Opens the GUI (Graphical User Interface).shutdown -h 01:22: To shutdown at 1:22 AM.shutdown -h now: To shutdown immediately.raspi-config: Opens the configuration settings menu. ![]() nano example.txt: Opens the file example.txt in the Linux text editor Nano. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |