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
Where is bash history?
What makes c shell a more preferable option than the bourne shell?
What's the difference between scripting and coding?
How do I edit a .sh file?
What is another name for a bash shell script that you might see?
How will you emulate wc –l using awk?
What is web script?
Explore about environment variables?
What is awk in shell script?
How to open a read-only file in the shell?
What is the way to do multilevel if-else's in shell scripting?
What is the difference between scripting and coding?
Is powershell a bash?
What does $$ mean in shell script?
How to find all the files modified in less than 3 days and save the record in a text file?