What is Termux?
Termux is basically an emulator which gives us the feel fo Linux. It can be used to do things from our Smartphone which are normally done on computers.
Here, this guide will h
Benefits of Using Termux
It is a modern world of technology where people give more value to small or portable things. Every time you are in public, it's not comfortable to use your laptop.elp you start with the termux.
If it comes to hacking, the more portable devices you got, the more you can work secretly. As we can now carry computers in our pocket i.e mobile phones, why don't we use them for hacking?
With termux, you can turn your mobile phone into a hacking machine and unlock more possibilities of using a smartphone.
Installing Termux on an Android Smartphone
Open the play store app and search for the term 'Termux' and install the application. Now open it up and let it install all the necessary packages it needs to run error-free.
Now update the sources with the command-
1. CD commands
CD command is used to change the current directory on the terminal.
1. cd [To change the directory. For ex: cd Desktop, cd /root/Documents]
2. cd - [To get back to one directory. For ex: $root/Documents=> cd - => $root]
3. cd ~ [To get back to the starting place from any directory.]
4. cd .. [To return to the to parent directory]
5. cd -- [To display the last directory from where the user moved]
6. cd / [To enter the root directory]
2. ls commands
ls is used to list all current folders and directories.
1. ls [To list folders or current directory]
2. ls -l [To display all details about the file]
3. ls -a [To list all files including hidden files]
4. ls -lh [To display the size of the listed content]
5. ls -r [To display the listed files and directories in reverse order]
6. ls -ltr [To display the latest modified directory and date]
7. ls -n [To display UID and GID directories]
8. ls -i [To display the number of files]
9. ls -R [To display recursively list of all sub directories]
10. ls -al [Formatted listing with hidden files]
11. ls --version [To check the version of the selected file]
3. cp commands
cp command is used to copy files or folders.
1. cp [To copy any file or folder]
2. cp -f [To force copy by overwriting the destination]
3. cp -v [To print informative message]
4. cp -u [To copy when source is newer than the destination]
5. cp -R [To copy a directory including hidden files]
6. cp -n [No file overwrite]
4. mv commands
mv is used to move files and folders.
1. mv [filename] [To move file or folder]
2. mv -f [To force move by overwriting the destination file]
3. mv -v [To move any directory]
4. mv -u [Update -move when source is newer than the destination]
5. mv -i [Interactive prompt before overwrite]
6. mv [File 1] [New file] [To move or rename file 1 with new file]
5. rm commands
rm is used to remove or delete files
1. rm [To remove or delete files]
2. rmdir [Dir name] [To remove a directory]
3. rm -rf [To force remove a directory]
4. rm -r[Name] [To remove a directory with a specific name]
5. apt remove [Package name] [To remove a package]
6. Package installation commands
1. apt update [To update the list of packages]
2. apt upgrade [To upgrade a list of packages]
3. apt install <package name> or pkg install <package name> [To install a package]
7. File permission control commands
1. chmod +x [File name] [To grant root permission]
2. chmod +x* [To set the file permission to all files]
3. chmod 771 [File name] [To set file permission]
4. chmod 777 [File name] [To give executable permission to a file or package]
5. chmod 777* [To give executable permission to all files]
8. Commands to clone or download packages
1. git clone [URL] [To download packages from Github]
2. wget [URL] [To download packages from other sources]
9. Basic Network command
ifconfig [To show the configuration of the Network interface including local IP address, MAC address, etc.]
Conclusion
These are the basic commands you must remember to continue the journey to the advanced level.
At the start, it may look hard to remember but don't worry you don't have to remember them, it's all about practice. Use them and you will start remembering them automatically.
We will guide you to reach the top. Stay tuned with us.
What's your opinion about this guide? Was this helpful? Leave feedback in the comment box so that we can improve our quality.
0 Comments