mobail num se fhone hake
Ji ha dosto sirf mobail num se fhone hak kar sakte to
Aapko karna kuch nhi he sirf apne mobail me 1 aap install karna he jiska name termux he jo play stor pe mil jayega to jake use install kro
ab aapko termux opan karke usme nich di gai command peast karke turmux me dal deni he
Update all the packages and dependencies installed on the system:
1. apt update && apt upgradeIf any update is available it will ask you on the terminal if you want to upgrade or not, press Y if you want the update.
Grant storage permission:
2. termux-setup-storagenow you can access your Storage and all the folder in it using termux.
Know Which directory you are in:
3. pwdThis command will tell you, your present working directory
List all the files and directories:
4. lsthis command will show you the folder and files in your current working directory.
List all the files and directories including Hidden Files:
5.ls -als command with -a will show you all the hidden files as well.
Move forward in directories:
6. cd storagecd command allows you to move in a folder just type cd and the folder name you wanna move here I am moving in storage.
Move backward in directories:
7. cd ..by typing cd ..(between cd and .. we have to put space) you will go back in the directory you were in.
Clear Screen:
8. clearby typing clear in the termux you can clear all the previous resultt
Install a Package:
9. pkg install packageNameyou can install any package from the list, just type pkg install package-name.
Uninstall a Package:
10. pkg uninstall packageNameyou can uninstall any package from the list, just type pkg uninstall package-name.it will ask you where if you wanna delete the package or not press y and the package will be uninstalled.
Install Python in termux:
11. pkg install pythonJust type this command and it will be installed in your termux press y if it asks for confirmation.after installing python you can write code and also run your own python scripts. Type python to check if python is installed correctly or not.
Install Git in termux:
12. pkg install git
Git will allow you to download any project from GitHub.
12. pkg install gitGit will allow you to download any project from GitHub.
Download projects from GitHub repository :
13. git clone Link-of-the-projectIf you want to download any project from the git hub you can just use the above just change the Link-of-the-project with your link
e.g: git clone https://github.com/khansaad1275/Termux-YTD
Check all the running processes in Termux:
14. topThis command will show you all the tasks running on your termux. To quit the top command on termux just press CTRL+C on your keyboard.
Make any bash file Executable :
15.chmod +x filename
If you are trying to run any bash file and you are getting a permission denied error then you can use the above command to make it executable
Create a text file in termux:
- first, you have to download a package namenano. Type on termux pkg install nano press y when asking for confirmation.
- type nano on the terminal.
- type anything you want I am typing hello world.
- Press CTRL+X and press Y to save the file.
- Give the file name anyname.txt and press enter.
- Type ls command
Fhone os haked
e.g: cat data.txt
e.g: rm data.txt
See what's inside a text file:
16. cat file-nameRun this command and everything in the text file will be printed on the terminal.
e.g: cat data.txt
Delete a file in termux:
17. rm file-nameTo delete any file within the directory in, just type the rm name of your file and press enter and it will be deleted.
e.g: rm data.txt
List all the installed Packages in termux:
18. dpkg --listBy Using this command You will be able to see all the installed packages in your termux app.
List all commands that You have used in termux:
19.historyThis command will give you a list of all the recent commands that you have used in termux.
Comments
Post a Comment