๐Ÿงฐ Intermediate Termux Commands

Audio Info

Displays information about the audio system.

termux-audio-info

Play Audio

Plays the specified audio file.

termux-audio-play [file]

Record Audio

Records audio and saves it to the specified file.

termux-audio-record [output_file]

Record Mic

Records audio using the device's microphone.

termux-microphone-record [output_file]

Show Call Log

Lists the call log.

termux-call-log

Call Log by Type

Lists entries by type (incoming, outgoing, missed).

termux-call-log -t [type]

Limit Call Log

Limits the number of call log entries shown.

termux-call-log -l [limit]

Camera Info

Displays camera info.

termux-camera-info

Take Photo

Takes a photo and saves it.

termux-camera-photo [output_file]

Record Video

Records a video and saves it.

termux-camera-record [output_file]

Snapshot

Takes a camera snapshot.

termux-camera-snapshot [output_file]

Camera Preview

Opens a live camera preview.

termux-camera-view

Get Clipboard

Retrieves clipboard contents.

termux-clipboard-get

Set Clipboard

Sets clipboard to specified text.

termux-clipboard-set [text]

Get Contact

Retrieves a contactโ€™s info.

termux-contact-get [contact_name]

List Contacts

Lists all contacts.

termux-contact-list

Download File

Downloads a file from URL.

termux-download [URL]

Open File Editor

Opens a file in text editor.

termux-file-editor [file]

Open Editable File

Opens file in editable editor.

termux-file-editor-editable [file]

Fix Shebang

Fixes shebang to make script executable.

termux-fix-shebang [file]

Connect Wi-Fi

Connects to a Wi-Fi network.

termux-wifi-connect [SSID] [password]

Toggle Wi-Fi

Enables or disables Wi-Fi.

termux-wifi-enable [true/false]

Wi-Fi IP Info

Displays IP address info.

termux-wifi-ipinfo

Wi-Fi Scan

Scans nearby networks.

termux-wifi-scaninfo

Cell Info

Shows cellular network info.

termux-telephony-cellinfo

Device Info

Shows telephony device info.

termux-telephony-deviceinfo

IMEI

Displays device IMEI.

termux-telephony-imei

Signal Strength

Shows signal strength.

termux-telephony-signalstrength

List SMS

Lists all SMS messages.

termux-sms-list

SMS Inbox

Shows received messages.

termux-sms-inbox

Send SMS

Sends SMS to number.

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

View SMS

Displays specific message.

termux-sms-view [message_id]

Send Notification

Sends a notification.

termux-notification

List TTS Engines

Lists TTS engines.

termux-tts-engines

Speak Text

Speaks text aloud.

termux-tts-speak [text]

Broadcast Intent

Sends a broadcast intent.

termux-am broadcast -a [action]

System Info

Displays system info.

termux-info

IR Frequencies

Lists infrared frequencies.

termux-infrared-frequencies

IR Transmit

Transmits IR pattern.

termux-infrared-transmit [frequency] [pattern]

Keyring

Manages secrets.

termux-keyring [options]

Scan Media

Scans path for media.

termux-media-scan [path]

Open File

Opens file or dir.

termux-open [file/path]

Open URL

Opens link in browser.

termux-open-url [URL]

Share Content

Shares via Android menu.

termux-share

Show Dialog

Displays a dialog box.

termux-dialog

Flashlight

Turns flashlight on/off.

termux-torch [true/false]

Upload File

Uploads file to destination.

termux-upload [source_file] [destination_directory]

Open with App

Opens link with default app.

termux-url-opener [URL]

Volume Control

Controls system volume.

termux-volume

Set Wallpaper

Changes device wallpaper.

termux-wallpaper [file]