Skip to content

Termuxcommandsgithub/termux-basic-commands-for-beginners

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Termux Basic Commands List with Examples

Termux is an Android app where you can type commands to do things on your phone — like creating files, making folders, and more. It looks scary at first but it is actually very simple.

What is a command?

A command is just a word you type and press Enter. That's it. For example, if you type ls and press Enter, Termux shows you all your files. Easy right?

https://termux.achik.us/termux-basic-commands-list-with-examples/

Basic Commands List

Command What it does Example
pwd Shows which folder you are in pwd
ls Shows all files and folders ls
ls -a Shows hidden files too ls -a
cd Opens a folder cd foldername
cd .. Goes back one folder cd ..
cd ~ Goes to home folder cd ~
mkdir Makes a new folder mkdir myfolder
rmdir Deletes an empty folder rmdir myfolder
touch Makes a new empty file touch file.txt
cp Copies a file cp file.txt copy.txt
mv Moves or renames a file mv old.txt new.txt
rm Deletes a file rm file.txt
rm -r Deletes a whole folder rm -r foldername
clear Clears the screen clear
exit Closes Termux exit

Original post: Termux Basic Commands List with Examples

Quick Examples

Make a folder and go inside it:

mkdir test
cd test

Make a file:

touch hello.txt

Check your files:

ls

Delete a file:

rm hello.txt

If you forget what a command does, use --help:

ls --help

A simple tip

Just open Termux and try these commands one by one. You will understand them in 10 minutes. Reading alone won't help — you have to actually type them.

These basic commands are enough to get started. Once you get comfortable with these, learning the advanced stuff becomes much easier.

About

Termux Basic Commands for beginners — covers the most important commands like ls, cd, mkdir, rm and more, with simple examples to help you get started quickly.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors