I was recently watching a video that was walking beginners through terminal commands and they listed over 50 commands that you should use. 50!? Who...
              
        
    
  For further actions, you may consider blocking this person and/or reporting abuse
    
vim- to edit anythingsed- to filter and updateawk- to manage table dataalias- to create own command acronymsgit- to version controllfind- to search filesmake- to run tasksxmllint,xsltproc,xqilla,xmlstarlet- to working with XMLjq- to working with JSONphp,python3,gcc,clisp,bc,octave... compilers and interpretersvim,alias, &gitare ones I use often as well. Can't say the same for the other two (awk&sed)They are very useful for working with huge files.
history | grep "search text"Ive been making a lot of use out of these commands lately: (I'll admit they might not be a frequent use type of command but helpful to know)
The first to check if prcoesses im expecting to run are running. Sometimes combined with a grep to search for a specific part of a command. And then top to see what kinda usage those processes are producing.
👏 Don't use these often, but they do come in handy.
Great article, my favorite
grep -ril 'search_string' ./folderOne of my favorite commands
lsof -nP -i4TCP | grep LISTENto see what open connections I have.no love for
find? it's so powerful!I have honestly rarely/never used it 😂
In order from most- to least-used, the top 20 on one of my machines are ...
mutt,ps,ls,cd,ssh,vi,ping,find,host,grep,which,rm,cat,nslookup,man,history,whois,tree,touch,mount, ...... and that's ignoring everything that's used from within any of my own scripts, and only counting the first command on a line, it ignores anything that might follow in a pipeline such as
awk,sed,sort,uniq,tac,head,tail,cut, ...... and that also ignores anything used in development (which I generally do on a different machine) such as
git,cc,make,perl,python,go, ...Yeah if I introduce development commands then
gitwould be the number 1 command that I use.history 0 | grep "..."
Greate summary !
You could also use fasd to replace
cdand usetail -f <some_file>when the file is too long forcat.Interesting command, thanks for the share!
it's very few bro but again it's good that u have shared.
cd, clear, touch, ls, rm they are the most used