---
title: "Discussion on \"How to list most-used commands\" | Hashnode"
description: "Discussion on \"How to list most-used commands\". If you are a developer, you’re mostly working using the command line. You may even want to find out the most used commands.\nfc -l 1 | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] \" \" CMD[a]/count*100 \"% \" a; }' | grep -v \"./\" | column -c..."
url: "https://hashnode.com/posts/how-to-list-most-used-commands/6390cffd120246e215ff9f8e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to list most-used commands](https://www.erdaltaskesen.com/how-to-list-most-used-commands?utm_source=hashnode&utm_medium=feed)

If you are a developer, you’re mostly working using the command line. You may even want to find out the most used commands. fc -l 1 | awk '{CMD\[$2\]++;count++;}END { for (a in CMD)print CMD\[a\] " " CMD\[a\]/count\*100 "% " a; }' | grep -v "./" | column -c...

Apr 19, 2020 · 1 min read · erdaltaskesen.com  
Updated Dec 10, 2022  
Read the article

-   [#bash](https://hashnode.com/tag/bash)
-   [#tips-for-developers](https://hashnode.com/tag/tips-for-developers)
-   [#awk](https://hashnode.com/tag/awk)
-   [#grep](https://hashnode.com/tag/grep)
-   [#sort](https://hashnode.com/tag/sort)

## Written by

[Erdal TAŞKESEN](https://hashnode.com/@erdaltsksn)

@erdaltsksn · Earth

  
[View profile](https://hashnode.com/@erdaltsksn)

Self-Taught Software Engineer, Day Trader, Investor, Entrepreneur, and Teacher

Hey, y’all 🖖🏽 I am a passionate self-taught developer, open-source advocate, and tech enthusiast with a hands-on approach to problem-solving and an unending thirst for knowledge. Anything and everything classified as technology fascinate me.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
