Linux Terminal : Termux (Android Terminal Client) - muhammed-ajmal/Install-Config GitHub Wiki

Termux :Linux Terminal For Android

home directory of termux

https://android.stackexchange.com/q/166538

/data/data/com.termux/files/home

Linux Terminal Commands

> commands which are usable in termux also

to get current path

the command usable in termux also

pwd

cd <foldername> //change the directory

cd .. //go back to previous directory

mkdir <foldername> //to make a new directory

touch <filename.extension> //make file

nano <filename.extension> //to edit a file

for exiting from nano press ctrl+o (changes will be saved) then ctrl+x(exit from nano)

to copy a file file from one directory to another

cp /directory/file /directory_to_copy

eg :

cp /data/data/com.termux/files/home/storage/pictures/Screenshots/Screenshot_20180918-092743.png /data/data/com.termux/files/home/pythontut/

to compress a file with a password

zip -er filename.zip filename

https://askubuntu.com/questions/342900/compressing-folders-with-password-via-command-line?answertab=active#tab-top

commands which are works only in terminal

⚠️ **GitHub.com Fallback** ⚠️