PRO TERMUX COMMANDS

PRO TERMUX COMMANDS

PRO TERMUX COMMANDS

Termux is an Android terminal emulator and Linux environment app that works directly with no rooting or setup required.

COMMANDSUSAGE
cp -vused to prints informative massage
cp -rused to copy any directory
mv -uupdate-move when source is newer than destination
mv -vto move any directory
ls -nto display UID and GID directory
ls –versionto check the version of ls command
cd —show last working directory from where we moved
ls -lshow file action like – modified, date and time, owner of file, permissions Etc.
ls helpshow display how to use “ls” command
cp -nno file overwrite
cd ~move to users home directory from anywhere
mv [file1 name] [new file2 name]move or rename two file at a time
cd –move one directory back from current location
mv [file name]move any file and folder
lslist directory
ls -alist all files including hidden files
pwdit show your current working directory
mv -iinteractive prompt before overwrit
wget [url]install tool , apt install wget
git clone [url]install any tools with git clone, apt install git
ls -alformatted listing with hidden files
mv -fforce move by overwriting destination files without prompt
ls -iDisplay number of file or directory
cpcopy any file
cd /change to root directory
cdchange directory
cd ..change current directory to parent directory
curl -O [url]apt install curl
rmremove or delete files
rm [filename]remove any text files
rmdir [dir name]remove any directory
rm -rfforce remove a directory or a folder
rm -r [name]delete a directory called name
apt remove [package name]uninstall / remove a package
touch [file name]create new file
mkdir [name]create a directory or folder
more [file name]output the contents of file
head [file name]output the first 10 line of file
tail -f [file name]output the contents of file as it grows
apt install zipinstall zip file tool
zip name.zip [file]compress file using this commands
unzip [zip file]to unzip file
ftplaunch ftp client from terminal
-puse passive mode
byeterminate current ftp session, exit
asciiset file transfer to ascii protocols
bellbell sound after each command
statusshows current status about ftp server
open hostopen a connection to remote host
remotehelp [cmdname]request help from ftp server
account [password]supply a password required by remote
uname -mused to find the architecture of your device
dudisplay directory space usage
dfdisplay disk usages
calshow display calendar
wshow display who is currently online
cat /proc/meminfoshow memory related information
cat /proc/cpuinfoshow cpu information
whoamishow your login name
fingure usernameshows information about user
dateshow the current date and time
uptimeshow the system current uptime
man commandshow manual a command
freedisplay memory and swap usage
killsend signal to process
kill- llist all of the signal that are possible to send with kill
lspcishow PCI devices
lsusbshow usb devices
apt search [qurey]
pkg search [qurey]
find a package
locate [file]find all files with filename
locate [query]find all path names contains a pharse
whereis [command]find location binary /source/man file for a command
which [command]find of an executable
grep pattern [files]searching for pattern in files
grep -r pattern filessearching for certain pattern in files
command | grep patternsearch for pattern in the output of command
find / -atime40to find all the files, which are accessed 40 days back
find / -cmin -60find change files in last 1 hour
find / -type d -name mllfind all directories whose name is mll in directory
find . -type f -perm 0777 -printfind all tghe files, whose permission are 777
ifconfigshows all configuration a network interface like ip, mac
ifconfig eth0used view the network setting on the interface eth0
ifconfig wlan0view the network setting on wlan0
ping [host]to ping host ip and show results
arpcheck network card & show ip adress
hostdisplay specific server
netstatreview network connection
nslookupfind out DNS related query
tracerout ipadressdisplay number of hops & respone time to get to a remote system and website
whois domainget whois information of domain
telnet [ip address [post]telnet connection
dig domainget DNS information of domain
scpcopies file, over a source
uname -aused to display kernal information
whereis appshows possible location for an app
nano [file name]display and edit text files
apt showview package information
append [local-file] remote fileappend a local file to one on the remote
$execute a macro

CHECK ALSO: – Learn Cyber Security With Python

3 thoughts on “PRO TERMUX COMMANDS”

Leave a Comment