Now we start with basic commands
Firstly, after installing and everytimes start we to given thes command.
$ apt update
$ apt upgrade
After this we have to give storage permission to Termux by hitting below command :-
$termux-setup-storage
Then again,
$apt update && upgrade
If you want to know list of packages which used in termux normally hit below command,
$ apt list
Information about packages
(note:- We can use also pkg instead of apt)
For going to internal storage:-
$ cd /sdcard
Show the files in directory
$ ls (without hidden files)
$ ls -a (With hidden files)
For version checking:-
For creating files:-
$ touch <files.Extensions>
$ touch BharamGyani.txt
Display data of file:-
$ cat <files.Extensions>
$ cat bharamgyani.txt
For check current directory:-
$ pwd
For creating folders or directory:-
$ mkdir <folder name>
$ mkdir rohan
$ ls
For open folder:-
Go to directory
$ cd rohan
For back to directory:-
$ cd ..
For going to root directory:-
Now you can also copy, cut and past the files on termux, have a look.
For files :-
$ cp rohan.txt sdcard
For folders :-
For home directory
For move:-
For folders :-
$mv -v rohan /sdcard/DCIM
For removing the files and folders
For files :-
$ rm <file name>
$ rm helo.py
(note:- For using ifconfig, firstly install busybox and net-tool simply hit below command :-
$ pkg install busybox net-tools)
For checking Internet working or not:-
For given executive permission to a file:-
$sl













