Sep 26, 2024
termux-setup-storage
apt list
: Lists available packages.apt update
: Updates package list.apt list --upgradable
: Lists upgradable packages.apt upgrade
: Upgrades installed packages (enter Y to confirm).command1 && command2 && command3
to run several commands sequentially.history
to view command history.exit
to kill the current session easily.pwd
: Prints the current directory.cd ..
: Go up one directory.cd directory_name
: Enter a subdirectory.cd
: Return to the home directory.ls
: Lists files and directories.mkdir new_directory
: Creates a new directory.rmdir empty_directory
: Removes an empty directory.rm -r directory_name
: Removes a non-empty directory.touch filename.txt
: Creates a new file.cat filename.txt
: Displays contents of a file.nano filename
to edit files with the nano text editor.rm filename
: Deletes a file.mv source destination
: Moves files or directories.cp -r source destination
: Copies files or directories (use -r for directories).apt install zip unzip
: Install zip and unzip packages.zip -r zipfile.zip directory
: Zips a non-empty directory.unzip zipfile.zip
: Unzips a file.termux-battery-status
: Get battery information.termux-camera-photo
: Take photos using the camera.termux-telephony-call
: Make calls directly from terminal.