TERMUX COMMANDS

TERMUX COMMANDS
 🍁🍁TERMUX COMMANDS🍁🍁


1.Update all the packages and dependencies installed on the system: apt update && apt upgrade

2.Grant storage permission:termux-setup-storage

3.Know Which directory you are in:pwd

{pwd means present working directory, and directory means folder}

4.List all the files and directories: ls

5.Move forward in directories: cd storage

6.Move backward in directories: cd ..

7.Clear Screen: clear

8.Create a folder or a directory: mkdir folderName

{mkdir stands for make directory}

9.Delete a folder or a directory: rmdir folderName

{Rmdir stands for Remove directory}

10.Delete Non-Empty directory or folder in termux:rm -rf folderName

11.Copy a file from one directory to another directory: cp files-name file-path

12.Search for the specific package in termux:pkg search package-name

13.List and view all the available packages in termux: pkg list-all

14.Install a Package: pkg install packageName

15.Uninstall a Package: pkg uninstall packageName

16.Install Python in termux: pkg install python

17.Install Git in termux: pkg install git

18.Download projects from GitHub repository :git clone <Link-of-the-project>

19.Check all the running processes in termux: top

20.See what's inside a text file: cat file-name

21.Delete a file in termux: rm file-name

22.List all the installed Packages in termux: dpkg --list

23.To display text in different style:

apt install figlet

figlet anyword

24.See Matrix background animation on Termux:

apt install cmatrix

cmatrix + ENTER

25.Find factors of a number:

pkg install coreutils

factor 1337

26.friendly interactive shell, fish

apt install fish

27. text in colorful style

apt install toilet

toilet -f mono12 -F green BugBounty

29.Check whether termux is properly installed:pkg install sl

sl

30.To open any site in termux

apt install w3m

w3m google.com

31.To prints informative message:cp -v

32.To copy any directory: cp -r 

33.update-move when source is newer than destination:mv -u 

34.To move any directory:mv -v 

35.To display UID and GID directory:ls -n 

36.To check the version of ls command:ls --version 

37.To show last working directory from where we moved:cd -- 

38.show file action :ls -l 

39.show display how to use "ls" command:ls help 

40.No file overwrite:cp -n 

41.Move to users home directory:cd ~ 

42.Move or rename two file at a time:mv [file1 name] [new file2 name] 

43.Move one directory back from current location:cd -

44.Move any file and folder:mv [file name] 

45.list directory:ls 

46.list all files including hidden files:ls -a 

47.Shows your current working directory:pwd 

48.Interactive prompt before overwrit:mv -i 

49.Install tool , apt install wget:wget [url] 

50.Install any tools with git clone, apt install git:git clone [url] 

51.Formatted listing with hidden files:ls -al 

52.Force move by overwriting destination files without prompt:mv -f 

53.Display number of file or directory:ls -i 

54.Copy any file:cp 

55.Change to root directory:cd / 

56.Change directory:cd 

57.Change current directory to parent directory:cd .. 

58.apt install curl:curl -O [url] 

59.remove or delete files:rm 

60.remove any text files:rm [filename] 

61.remove any directory:rmdir [dir name] 

62.force remove a directory or a folder:rm -rf 

63.delete a directory called name:rm -r [name] 

64.uninstall / remove a package:apt remove [package name] 

65.create new file:touch [file name] 

66.create a directory or folder:mkdir [name] 

67.output the contents of file:more [file name] 

68.output the first 10 line of file:head [file name] 

69.output the contents of file as it grows:tail -f [file name] 

70.install zip file tool:apt install zip 

71.compress file using this commands:zip name.zip [file] 

72.to unzip file:unzip [zip file] 

73.launch ftp client from terminal:ftp 

74.use passive mode:-p 

75.terminate current ftp session, exit:bye 

76.set file transfer to ascii protocols:ascii 

77.bell sound after each command:bell 

78.shows current status about ftp server:status 

79.open a connection to remote host:open host 

80.request help from ftp server:remotehelp [cmdname]

81.supply a password required by remote:account [password] 

82.used to find the architecture of your device:uname -m 

83.display directory space usage:du 

84.display disk usages:df 

85.show display calendar:cal 

86.show display who is currently online:w 

87.show memory related information:cat /proc/meminfo 

88.show cpu information:cat /proc/cpuinfo 

89.shows your login name:whoami 

90.shows information about user:fingure username

91.show the current date and time:date

92.show the system current uptime:uptime 

93.show manual a command:man command 

94.display memory and swap usage:free 

95.send signal to process:kill 

96.list all of the signal that are possible to send with kill:kill- l 

97.show PCI devices:lspci 

98.show usb devices:lsusb 

99.find a package:pkg search [qurey] apt search [qurey]

100.find all files with filename:locate [file] 

101.find all path names contains a pharse:locate [query] 

102.find location binary /source/man file for a command:whereis [command] 

103.find of an executable:which [command] 

104.searching for pattern in files:grep pattern [files] 

105.searching for certain pattern in files:grep -r pattern files 

106.search for pattern in the output of command:command | grep pattern 

107.to find all the files, which are accessed 40 days back:find / -atime40 

108.find change files in last 1 hour:find / -cmin -60 

109.find all directories whose name is mll in directory:find / -type d -name mll 

110.find all tghe files, whose permission are 777:find . -type f -perm 0777 -print

111.shows all configuration a network interface:ifconfig 

112.view the network setting on the interface eth0:ifconfig eth0 

113.view the network setting on wlan:ifconfig wlan0 

114.to ping host ip and show results:ping [host] 

115.check network card & show ip adress:arp 

116.display specific server:host 

117.review network connection:netstat 

118.find out DNS related query:nslookup 

119.display number of hops & respone time to get to a remote system and website:tracerout ipadress 

120.get whois information of domain:whois domain 

121.telnet connection:telnet [ip address [post] 

122.get DNS information of domain:dig domain 

123.copies file, over a source:scp 

124.used to display kernal information:uname -a 

125.shows possible location for an app:whereis app 

126.display and edit text files:nano [file name] 

127.view package information:apt show 

128.Append a local file to one on the remote:append [local-file] remote file

129.Execute a macro:$

Post a Comment

0 Comments