Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

get my most used command from history

history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl |  head -n10
Comment

PREVIOUS NEXT
Code Example
Shell :: bash multipart tar 
Shell :: get bash name wget down loaded file 
Shell :: ${1:?} bash 
Shell :: You must specify at least one graphical backend feature: "metal", "vulkan", "empty" 
Shell :: how to rollback to 20h2 
Shell :: ssh nethack ip 
Shell :: github actions failing sudo: /etc/init.d/mysql: command not found 
Shell :: ubuntu ssh connect to server 
Shell :: how to find the version of apache server in pentest 
Shell :: run c64 in docker 
Shell :: Openstack on ubuntu 18.04 
Shell :: setting and changing a project 
Shell :: Configuring the RDS and REDIS 
Shell :: heroku multiple remotes 
Shell :: untracked by gitlab 
Shell :: run cpp code 
Shell :: linux less command color 
Shell :: ubuntu switch window 
Shell :: debian user create encypt a passwd 
Shell :: how to add new path to sudoers 
Shell :: chmod rwx for all users 
Shell :: to run index.html using parcel server 
Shell :: start cpu scheduler on ubuntu terminal 
Shell :: frida macOS 
Shell :: how to install app from android phone programmatically 
Shell :: mac osx find local mail attachments 
Shell :: change dns server for vpn connection 
Shell :: sum of files size in linux 
Shell :: full stack roadmap github 
Shell :: count output linux 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =