Tag Archives: commands

rsync error: protocol incompatibility

ERROR: rsync error: protocol incompatibility (code 2) at compat.c(171) [sender=3.0.6] I use rsync with ssh and authorized key files for auto login to mirror a remote system to the local one.The only change I made was on my .bashrc on … Continue reading

Posted in COMMANDS, LINUX, rhel | Tagged , | Leave a comment

Enable Administrator Account in Windows

Open the command prompt with elevated privileges. To do this click the Start Orb then All Programs, click on Accessories, then right-click on Command Prompt and then select Run as administrator. In the Command Prompt, type net user administrator /active:yes … Continue reading

Posted in COMMANDS, WINDOWS | Tagged , | Leave a comment

Windows Commands

ASSOC assoccmd2 15 CMD Commands Every Windows User Should Know Most files in Windows are associated with a specific program that is assigned to open the file by default. At times, remembering these associations can become confusing. You can remind … Continue reading

Posted in COMMANDS, WINDOWS | Tagged , | Leave a comment

 Convert a text file to all lower case or all upper case

To convert a file (input.txt) to all lower case (output.txt), choose any ONE of the following: dd $ dd if=input.txt of=output.txt conv=lcase awk $ awk ‘{ print tolower($0) }’ input.txt > output.txt perl $ perl -pe ‘$_= lc($_)’ input.txt > … Continue reading

Posted in LINUX | Tagged , | Leave a comment