using `!#$’ to referance backward-word

Here is something that I found on the commandlinefu cp /work/host/phone/ui/main.cpp !#$:s/host/target Ah well…its very interesting and very useful. Some…

Continue Reading →

Linux command to repeat a string n times – Super User

I was working on something and needed to output the string n times. I have required this even to print…

Continue Reading →