Solved

Identify common command line commands w/ .bash_history

Posted on 2012-04-07
1
405 Views
Last Modified: 2012-08-13
I'd like to optimize my workflow by creating aliases for common commands. I'm looking for a way to somehow parse my .bash_history file and sort my commands by frequency. Any suggestions?

Thanks,
Zumpoof
0
Comment
Question by:zumpoof
1 Comment
 
LVL 84

Accepted Solution

by:
ozo earned 500 total points
ID: 37820359
sort ~/.bash_history | uniq -c | sort -n
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Guacamole and browser performance 1 83
PHP Apache application gives "Forbidden" message 5 55
VMware Workstation 12 Player 16 72
Can't ping New Linux Servers 40 65
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Recently, an awarded photographer, Selina De Maeyer (http://www.selinademaeyer.com/), completed a photo shoot of a beautiful event (http://www.sintjacobantwerpen.be/verslag-en-fotoreportage-van-de-sacramentsprocessie-door-antwerpen#thumbnails) in An…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question