Skip to content

Latest commit

 

History

History
56 lines (54 loc) · 3.81 KB

Chapter7.md

File metadata and controls

56 lines (54 loc) · 3.81 KB

Chapter 7: Developer Commands


  1. termux-api: Allows access to various device APIs from Termux shell scripts.
  2. termux-clipboard-get: Retrieves the current contents of the clipboard.
  3. termux-clipboard-set [text]: Sets the clipboard contents to the specified text.
  4. termux-cpu-info: Displays information about the device's CPU.
  5. termux-cpu-top: Displays CPU usage by processes.
  6. termux-debug-info: Displays debugging information about the Termux environment.
  7. termux-download [URL]: Downloads a file from the specified URL.
  8. termux-fix-shebang [file]: Fixes the shebang of a script file to make it executable.
  9. termux-info: Displays system information.
  10. termux-job-scheduler [options]: Schedules jobs to run in the background.
  11. termux-location: Retrieves the device's current location.
  12. termux-media-scan [path]: Scans the specified path for media files.
  13. termux-media-player: Controls media playback.
  14. termux-notification: Sends a notification to the notification bar.
  15. termux-notification-remove [id]: Removes a notification with the specified ID.
  16. termux-notification-list: Lists all active notifications.
  17. termux-notification-remove-all: Removes all active notifications.
  18. termux-open [file/path]: Opens a file or directory with the default app.
  19. termux-open-url [URL]: Opens the specified URL in the default browser.
  20. termux-share: Shares files or text using the Android share menu.
  21. termux-storage-get [path]: Retrieves information about the specified storage path.
  22. termux-storage-list: Lists all available storage volumes.
  23. termux-sys-info: Displays system information.
  24. termux-tar: Archives files using tar.
  25. termux-telephony-cellinfo: Shows information about the current cellular network.
  26. termux-telephony-deviceinfo: Shows device-specific information.
  27. **term

ux-telephony-imei**: Shows the IMEI number of the device. 28. termux-telephony-signalstrength: Shows information about the signal strength of the cellular network. 29. termux-torch [true/false]: Turns the device's flashlight on or off. 30. termux-tts-engines: Lists available text-to-speech engines. 31. termux-tts-speak [text]: Converts text to speech and speaks it aloud. 32. termux-upload [source_file] [destination_directory]: Uploads a file to the specified directory. 33. termux-url-opener [URL]: Opens the specified URL in the default app. 34. termux-volume: Controls volume settings. 35. termux-wallpaper [file]: Sets the device's wallpaper to the specified image file. 36. termux-wifi-connect [SSID] [password]: Connects to the specified Wi-Fi network. 37. termux-wifi-enable [true/false]: Enables or disables Wi-Fi. 38. termux-wifi-ipinfo: Displays information about the device's IP address. 39. termux-wifi-scaninfo: Scans for Wi-Fi networks and displays information about them. 40. termux-wifi-tether: Tethers the device's Wi-Fi connection. 41. termux-xdg-open [file/path]: Opens a file or URL using the XDG standard. 42. termux-contact-list: Lists all contacts stored on the device. 43. termux-contact-get [contact_name]: Retrieves information about the specified contact. 44. termux-call-log: Lists call history including incoming, outgoing, and missed calls. 45. termux-sms-list: Lists all SMS messages. 46. termux-sms-inbox: Lists received SMS messages. 47. termux-sms-send -n [number] [message]: Sends an SMS to the specified number with the given message. 48. termux-sms-view [message_id]: Displays the contents of the specified SMS message. 49. termux-camera-info: Provides information about the device's camera(s). 50. termux-camera-photo [output_file]: Takes a photo using the device's camera and saves it to the specified file.