🧠 Expert Termux Commands

Access APIs

Allows access to various device APIs from Termux shell scripts.

termux-api

System Info

Displays system information.

termux-info

Job Scheduler

Schedules jobs to run in the background.

termux-job-scheduler [options]

Battery Status

Shows battery information such as level, status, health, etc.

termux-battery-status

Volume Control

Controls volume settings.

termux-volume

Camera Info

Provides information about the device's camera(s).

termux-camera-info

Media Player

Controls media playback.

termux-media-player

Media Scan

Scans the specified path for media files.

termux-media-scan [path]

Clipboard Get

Retrieves the current contents of the clipboard.

termux-clipboard-get

Clipboard Set

Sets the clipboard contents to the specified text.

termux-clipboard-set [text]

Contact List

Lists all contacts stored on the device.

termux-contact-list

Location

Retrieves the device's current location.

termux-location

Infrared Transmit

Transmits an infrared pattern at the specified frequency.

termux-infrared-transmit [frequency] [pattern]

Send Notification

Sends a notification to the notification bar.

termux-notification

Remove Notification

Removes a notification with the specified ID.

termux-notification-remove [id]

List Notifications

Lists all active notifications.

termux-notification-list

Remove All Notifications

Removes all active notifications.

termux-notification-remove-all

View SMS Inbox

Lists received SMS messages.

termux-sms-inbox

Send SMS

Sends an SMS to the specified number with the given message.

termux-sms-send -n [number] [message]

View SMS

Displays the contents of the specified SMS message.

termux-sms-view [message_id]

Connect to Wi-Fi

Connects to the specified Wi-Fi network.

termux-wifi-connect [SSID] [password]

Enable/Disable Wi-Fi

Enables or disables Wi-Fi.

termux-wifi-enable [true/false]

Wi-Fi IP Info

Displays information about the device's IP address.

termux-wifi-ipinfo

Wi-Fi Scan Info

Scans for Wi-Fi networks and displays information about them.

termux-wifi-scaninfo

Cell Info

Shows information about the current cellular network.

termux-telephony-cellinfo

Device Info

Shows device-specific information.

termux-telephony-deviceinfo

IMEI

Shows the IMEI number of the device.

termux-telephony-imei

Signal Strength

Shows signal strength information.

termux-telephony-signalstrength

Download File

Downloads a file from the specified URL.

termux-download [URL]

Open URL

Opens the specified URL in the default app.

termux-url-opener [URL]

Open in Browser

Opens the specified URL in the default browser.

termux-open-url [URL]

Open File/Path

Opens a file or directory with the default app.

termux-open [file/path]

Share Content

Shares files or text using the Android share menu.

termux-share

Text to Speech

Converts text to speech and speaks it aloud.

termux-tts-speak [text]

Dialog Box

Displays a customizable dialog box.

termux-dialog

Set Wallpaper

Sets the device's wallpaper to the specified image file.

termux-wallpaper [file]