📱 Lesson 6: Developer Commands
Get Clipboard Text
Retrieves the current contents of the clipboard.
termux-clipboard-getSet Clipboard Text
Sets the clipboard contents to the specified text.
termux-clipboard-set 'Hello from Termux!'Share Content
Shares files or text using the Android share menu.
termux-share -a send -c 'Check this out!'System Info
Displays Termux environment debug information.
termux-infoCPU Info
Displays information about the device's CPU.
termux-cpu-infoCamera Photo
Takes a photo using the device's camera.
termux-camera-photo -c 0 photo.jpgGet Location
Retrieves the device's current GPS location.
termux-locationSend Notification
Sends a notification to the Android system tray.
termux-notification -t 'Hi' -c 'This is from Termux'Remove Notification
Removes a previously sent notification.
termux-notification-remove 1Play Media
Plays an audio file using Termux's media player.
termux-media-player play file.mp3Scan Wi-Fi
Scans and displays nearby Wi-Fi networks.
termux-wifi-scaninfoOpen URL
Opens a URL in the device's default browser.
termux-open-url https://example.comSend SMS
Sends an SMS message to a phone number.
termux-sms-send -n 1234567890 'Hello!'Get Call Log
Lists recent call history from the device.
termux-call-logAccess Contact List
Lists all saved contacts.
termux-contact-list