Your top 10 most used console commands

What are your top 10 most used terminal commands? Script to retrieve could be this: history | awk '{CMD[$2]++;} END {for (a in CMD) print CMD[a], a;}' | sort -nr | head. My top 10 are these:

  • 163 cd
  • 137 ls
  • 125 sudo
  • 100 exit
  • 87 ocrmypdf
  • 47 python3
  • 46 apt
  • 37 locate
  • 33 man
  • 23 snap
5 Likes

I don't
think I have ever used ten terminal commands.
update
upgrade
autoremove
autoclean
dpkg --configure -a
usermod -a -G sudo
sudo passwd <user_name>

That is about it, and I need a cheat sheet beyond the first 4 terminal commands I listed.

3 Likes

I am pretty much the same ! Only those first four I know by heart - other commands I need to recall where I've saved them or find them online haha

2 Likes

181 cd
146 ls
107 el
69 sudo
48 clear
45 cdh
26 mp
26 me
26 findm
26 cdv

Except for cd, ls and sudo, all of these commands are aliases (I use the terminal a lot!)

4 Likes
186 ssh
126 exit
100 clear;
69 vi
60 cd
56 ll
39 python3
39 cat
33 sudo
22 ls
4 Likes

136 man
135 sudo
101 python3
57 ls
47 cat
35 mc
27 ps
25 mate-panel-test-applets
23 lsof
23 grep

3 Likes

This is a fun exercise, @Juandev :slight_smile: Here's my output:

$ history | awk '{CMD[$2]++;} END {for (a in CMD) print CMD[a], a;}' | sort -nr | head
177 ls
159 git
158 cd
100 sudo
39 df
39 cat
33 for
27 man
20 top
15 find
3 Likes

Yeah, I was wondering what is el?

3 Likes

el is an alias I created that calls eza (third-party file lister, like an advanced ls) with display options. This is my alias:

alias el='eza --long --header'

4 Likes

It's good to see so many here that work/worked as professional IT people or programers as it shows Ubuntu Mate is a great OS and a serious OS for getting work done. It means a lot of knowledge in the forum too.

Yet it is also good there are casual users like us here too. It shows you don't have to be what is often described as a 'computer geek' to love and use Ubuntu Mate or most other Linux OS's either.
Regardless of your skill level or needs Ubuntu Mate beats Windows.

5 Likes

198 find
47 ls
26 man
23 zenity
21 yad
19 playerctld
18 playerctl
14 mpv
10 inxi
8 cal

4 Likes

Is anyone using the Warp terminal? It is an AI interactive terminal. Ask a question or tell it what you would like to do and it will give you a solution, including any commands.

1 Like

Indeed! That just shows that Linux is all around OS and not something that is too complex to use by an average user that doesn't have a B.A. in informatics.

People often think that just because some forum topics use extensive programing language that its something they will have to deal with if they decide to use Ubuntu MATE or any other Linux distribution.

Passion about Ubuntu MATE isn't just about getting the best out of technology its also in being free to choose what you want your device to do and be informed about processes that are happening "under the hood" if you wish to be.
Thing is, Windows just does as it pleases and you are like a child that needs to play along. On the other hand Linux treats you as an adult that is capable of making sound decisions and knows what one wants for oneself and if I want my menu bar to be in top left corner it will be there - if I want another panel on the bottom of the screen - I can get one etc etc. And you really don't need to be a tech wizard to setup your desktop preferences :blush:

2 Likes

Yeah, I thought I used the terminal a decent amount, but not compared to most of you who posted here. For example, one of you use playerctl a lot but even though I listen to music all the time via MATE, I just use the GUI.

And while I use MATE all day, I primarily use the GUIs provided with each program and not the terminal.

3 Likes

Only to solve a bug for someone else, I personally have no further use for it :smile:

(Zenity and Yad because I needed a checklist (tickbox) generator so I tested which of the two did a better job: Yad won :slight_smile: )

3 Likes

Always learning something in this Forum. I have been trying to learn bash scripting and have created a few test scripts, and now I find out about Yad. Perfect timing!

2 Likes