Skip to content

Latest commit

 

History

History
87 lines (46 loc) · 3.5 KB

Chapter4.md

File metadata and controls

87 lines (46 loc) · 3.5 KB

Chapter 4: Expert Commands


  1. termux-api: Allows access to various device APIs from Termux shell scripts.

  2. termux-battery-status: Shows battery information such as level, status, health, etc.

  3. termux-camera-info: Provides information about the device's camera(s).

  4. termux-call-log: Lists call history including incoming, outgoing, and missed calls.

  5. termux-clipboard-get: Retrieves the current contents of the clipboard.

  6. termux-clipboard-set [text]: Sets the clipboard contents to the specified text.

  7. termux-contact-list: Lists all contacts stored on the device.

  8. termux-dialog: Displays a customizable dialog box.

  9. termux-download [URL]: Downloads a file from the specified URL.

  10. termux-info: Displays system information.

  11. termux-infrared-transmit [frequency] [pattern]: Transmits an infrared pattern at the specified frequency.

  12. termux-job-scheduler [options]: Schedules jobs to run in the background.

  13. termux-location: Retrieves the device's current location.

  14. termux-media-scan [path]: Scans the specified path for media files.

  15. termux-media-player: Controls media playback.

  16. termux-notification: Sends a notification to the notification bar.

  17. termux-notification-remove [id]: Removes a notification with the specified ID.

  18. termux-notification-list: Lists all active notifications.

  19. termux-notification-remove-all: Removes all active notifications.

  20. termux-open [file/path]: Opens a file or directory with the default app.

  21. termux-open-url [URL]: Opens the specified URL in the default browser.

  22. termux-share: Shares files or text using the Android share menu.

  23. termux-sms-inbox: Lists received SMS messages.

  24. termux-sms-send -n [number] [message]: Sends an SMS to the specified number with the given message.

  25. termux-sms-view [message_id]: Displays the contents of the specified SMS message.

  26. termux-telephony-cellinfo: Shows information about the current cellular network.

  27. termux-telephony-deviceinfo: Shows device-specific information.

  28. termux-telephony-imei: Shows the IMEI number of the device.

  29. termux-telephony-signalstrength: Shows information about the signal strength of the cellular network.

  30. termux-tts-speak [text]: Converts text to speech and speaks it aloud.

  31. termux-url-opener [URL]: Opens the specified URL in the default app.

  32. termux-volume: Controls volume settings.

  33. termux-wallpaper [file]: Sets the device's wallpaper to the specified image file.

  34. termux-wifi-connect [SSID] [password]: Connects to the specified Wi-Fi network.

  35. termux-wifi-enable [true/false]: Enables or disables Wi-Fi.

  36. termux-wifi-ipinfo: Displays information about the device's IP address.

  37. termux-wifi-scaninfo: Scans for Wi-Fi networks and displays information about them.

  38. termux-wifi-scaninfo: Scans for Wi-Fi networks and displays information about them.

  39. termux-wifi-scaninfo: Scans for Wi-Fi networks and displays information about them.

  40. termux-wifi-scaninfo: Scans for Wi-Fi networks and displays information about them.



These commands provide users with expert-level functionalities, enabling them to perform advanced tasks and interact deeply with the device's hardware and software components, as well as external services.