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

What is path variable bash?

1034


How to get the first line from a file using just the terminal?

1119


What is bourne shell scripting?

968


Explain about stdin, stdout and stderr?

1166


Is shell a scripting language?

1007


I want to create a directory such that anyone in the group can create a file and access any person's file in it but none should be able to delete a file other than the one created by himself.

1027


What is difference between bash and shell?

1090


How will you copy a file from one machine to other?

997


How to find duplicate record in file using shell script?

1388


How do you debug a script?

1063


What are the advantages of shell script?

1019


What are the different types of variables used in shell script?

1050


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

1291


How to check if a directory exists?

1184


How do scripts work?

1032