Srini's Point of View

My thoughts on technology, food and other fancies…

Mac Book Pro terminal prompt keeps changing

It got really annoying for me to see how my terminal prompt kept changing when I connected my Macbook from work. I know I can easily fix this by setting my prompt in my .profile file, but I wanted to find out why this was happening.

It turns out the …

Argument list too long

Ever tried to copy or move a bunch of files on unix/linux from one location to another and see this error message spit out back at you??

$ cp /var/www/* /var/tmp  
-bash: /bin/cp: Argument list too long

UNIX find to the rescue…

$ find /var/www -type f …