Hello Termuxian ;)
I hope you are loving my posts so in this post i will share some most used basic commands in termux , before we start please make sure you have latest termux application from fdroid official.
so lets go...
# List the files and directories in the current directory
ls
# Prints the current working directory
pwd
# Changes the current working directory to /sdcard
cd /sdcard
# Creates a new directory called "myfolder"
mkdir myfolder
# Creates a new file called "myfile.txt"
touch myfile.txt
# Displays the contents of a file called "myfile.txt"
cat myfile.txt
# Copies the file "myfile.txt" to "myfile_copy.txt"
cp myfile.txt myfile_copy.txt
# Renames the file "myfile.txt" to "myfile_new.txt"
mv myfile.txt myfile_new.txt
# Deletes the file "myfile.txt"
rm myfile.txt
# Update package list
apt update
# Installs cowsay package
apt install cowsay
# Clears the terminal screen
clear
# Exits the Termux terminal
exit
Please note that commands are case-sensitive. Also, please make sure that you're running the commands in the correct directory.thanks for reading !