Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Write a shell script in Linux to shift all characters in a
file forward by five characters. (Thus “a”
becomes “f’”).

Answer Posted / dibya jyoti singha

cat abc.txt | tr '[a-z A-Z]' '[f-za-e F-ZA-E]' > xyz.txt

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where is bash history?

861


What makes c shell a more preferable option than the bourne shell?

919


What's the difference between scripting and coding?

1093


How do I edit a .sh file?

1077


What is another name for a bash shell script that you might see?

1419


How will you emulate wc –l using awk?

1466


What is web script?

1033


Explore about environment variables?

986


What is awk in shell script?

1174


How to open a read-only file in the shell?

1075


What is the way to do multilevel if-else's in shell scripting?

1241


What is the difference between scripting and coding?

971


Is powershell a bash?

1018


What does $$ mean in shell script?

994


How to find all the files modified in less than 3 days and save the record in a text file?

1010