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’”).

Answers were Sorted based on User's Feedback



Write a shell script in Linux to shift all characters in a file forward by five characters. (Thus ..

Answer / manuswami

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

Is This Answer Correct ?    41 Yes 6 No

Write a shell script in Linux to shift all characters in a file forward by five characters. (Thus ..

Answer / 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

More Shell Script Interview Questions

What is use of "cut" command?

3 Answers  


How do you debug a script?

0 Answers  


What is bourne shell scripting?

0 Answers  


What is the use of a shebang line?

0 Answers  


What is the syntax of while loop in shell scripting?

0 Answers  


How to enable the shell to know what program should be run to interpret the script?

3 Answers  


Is shell a part of kernel?

0 Answers  


What is in a script?

0 Answers  


What are the different kinds of loops available in shell script?

3 Answers  


What are the 3 standard streams in linux?

0 Answers  


How do we create command aliases in a shell?

0 Answers  


How do I start a shell script?

0 Answers  


Categories