Linux - Script makes you look busy, Small Script to make you look busy

Script makes you look busy


This command will make you to look busy in your system.

 
alias busy='my_file=$(find /usr/include -type f | sort -R | head -n 1); 
my_len=$(wc -l $my_file | awk "{print $1}"); 
let "r = $RANDOM % $my_len" 2>/dev/null; 
vim +$r $my_file'

This makes an alias for a command named 'busy'. The 'busy' command opens a random file in /usr/include to a random line with vim.

Drop this in your .bash_aliases and make sure that file is initialized in your .bashrc. so that you will be seen always buys working.

The topic on Linux - Script makes you look busy is posted by - Math

Hope you have enjoyed, Linux - Script makes you look busyThanks for your time

Tech Bluff