Termux Basic Commands | Termux Guider
Basic Termux Commands Every Termux Hacker Should Know!
Termux is a powerful terminal emulator for Android devices that allows users to run Linux commands to perform various tasks. It is gaining popularity among hackers and cyber security enthusiasts due to its ability to turn mobile devices into versatile hacking tools. In this article, we will cover some important Termux commands that every Termux hacker should know.
2. pkg: The command "pkg" is short for "apt-get" and can be used interchangeably. Provides a simplified way to manage packages with Termux. For example, you can install a package with "pkg install name>".
3. ls: The "ls" command is used to list files and folders in the current location. Useful for navigating through the file system. To display detailed information about files and directories, use the "-l" option, e.g. "ls -l".
4. cd: You can change directories with "cd" command. For example, type "<cd Name>" to go to the specified folder. "cd .." moves up one level in the directory structure.
5. pwd: The "pwd" command displays the current working directory. Displays the current directory path.
6. cp: The "cp" command is used to copy files or folders. It can be used to specify the source file/directory and the destination file/directory. For example, "cp file.txt" /sdcard copies "file.txt" to the /sdcard directory.
7. mv: The "mv" command is used to move files or folders. It can also be used to rename files and folders. For example, "mv file.txt newfile.txt" will rename the file "file.txt" to "newfile.txt".
8. rm: The "rm" command is used to delete files or folders. Use this command with caution because it permanently deletes the specified file or directory. The "-r" option allows you to recursively delete directories and their contents.
9. mkdir: The "mkdir" command creates a new directory. For example, "mkdir new_directory" creates a directory named "new_directory" in the current location.
10. tap: The "tap" command is used to create a new empty file or update the timestamp of an existing file. For example, typing "touch new_file.txt" will create a new empty file called "new_file.txt".
11. cat: The "cat" command is used to display the contents of a file. It can also be used to link multiple files. For example, "cat file.txt" will display the contents of "file.txt" in the terminal.
12. chmod: The "chmod" command is used to change the permissions of files and folders. This allows you to control who can read, write or execute files. For example, "chmod +x script.sh" gives permission for the script.sh file.
13. ps: The "ps" command shows the processes running on the system. Information such as process ID, CPU usage, and memory usage are provided.
14. grep: The "grep" command is used to search for specific patterns or text in files. A powerful tool for quickly finding information. For example, "grep keyword" <"file.txt"> searches for the word "keyword" in the file "file.txt".
15. wget: You can use the "wget" command to download files from the Internet. This is useful for retrieving files or scripts directly from remote servers. For example, <"wget http://example.com/file.txt"> downloads <"file.txt"> from the specified URL.
16 find: The "find" command is used to search files and folders based on various criteria such as name, size, modification time, etc. This is a versatile command that can be customized to meet your specific search needs.
17. tar: The "tar" command is used to create, view and extract files from "TAR" archives. Wet archives are often used to compress and package multiple files or folders into a single file.
18. gzip: The "gzip" command is used to compress files to reduce their size. A compressed file is created with the extension .gz. To zip the file, use the <"gzip file.txt"> command.
19 gunzip: The "gunzip"command is used to open gzip compressed files. Find the original compressed file. For example, "gunzip file.txt.gz" will unzip the file "file.txt.gz".
20. Ping: The "ping" command is used to test the network connection between the Termux device and the specified IP address or domain name. Send an ICMP Echo Request packet to the destination and measure the travel time.
21. ifconfig: The "ifconfig" command displays the network configuration of the Termux device. Provides information about network interfaces. B. IP address, MAC address and network settings.
22. netstat: The "netstat"command displays active network connections and listening ports on Termux devices. Provides information about available connections, listening services, and network statistics.
23 ssh: The "ssh" command is used to establish a secure remote connection to another device over a network. It is widely used by hackers for remote control and secure access to remote systems.
24. wget: In addition to downloading files, the "wget" command can be used to perform recursive downloads, mirror websites, and set download quotas. It offers various ways to customize the download process.
25.curl: The "curl" command is used to transfer data to and from the server using various protocols such as HTTP, FTP and SCP. It supports various options and is often used to interact with web services or APIs.
26. whois: The "whois" command is used to find information about domain names, IP addresses and network registrations. This includes information about the owner, registration date and contact information of the respective domain or its IP address.
27 nc: The "nc (netcat)" command is a network tool for reading and writing network connections. It can be used to restore connections, transfer files, and perform port scans.
28. nmap: The "nmap" command is a powerful network scanning tool to discover hosts, open ports, and services running on your network. It provides a comprehensive overview of network security and is often used to assess vulnerabilities.
29. man: The "man" command is used to display instructions for various commands and tools. Contains detailed information on command usage, options, and examples.
Comments
Post a Comment