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
Answer / manuswami
cat test.txt | tr '[a-z A-Z]' '[f-za-e F-ZA-E]'
Is This Answer Correct ? | 41 Yes | 6 No |
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 |
What is @echo off?
What is the fastest scripting language?
How to print all the arguments provided to the script?
Why is shell scripting important?
How can the contents of a file inside jar be read without extracting in a shell script?
What is "test"? How it is used in shell scripting?
What is an inode block?
How do I set bash as default shell mac?
What are the different types of variables used in shell script?
What is the use of echo in shell script?
What are the advantages of shell script?
Hi Friends, I am currently Undergoing Course On Testing.I am Planning To Keep Fake Resume.Can any One tell me the ways to Prepare i.e, Real Time experience For Manual Testing. With Regards, Vikram