Termux Advanced Utility Commands

After learning basic Termux commands, the next step is to use advanced commands that make your work easier and faster. These commands are used for searching, sorting, and managing data directly from the terminal.

Advanced Utility Commands List

CommandUseExample
echoPrint textecho Hello
grepSearch text in filegrep "hello" file.txt
sortSort linessort file.txt
uniqRemove duplicate linesuniq file.txt
wcCount lines/wordswc file.txt
cutExtract text columnscut -d " " -f1 file.txt
trReplace characterstr a-z A-Z < file.txt
historyShow command historyhistory
aliasCreate shortcutalias ll='ls -la'
whichShow command pathwhich python
whereisLocate command fileswhereis python
manShow manualman ls
yesAuto input repeatyes

These commands help you work faster and smarter in Termux. They are very useful for automation, searching, and handling data in terminal.

Quick Examples

Search text inside file:

grep "error" log.txt

Count lines in file:

wc -l file.txt

Sort file:

sort names.txt

Create shortcut command:

alias ll='ls -la'
SHARE THIS POST: