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 |
Where is bash history?
What does $# stand for?
Where are cowrie shells found?
What is path variable bash?
madhar chod unix ke 10 commands dhang se likh nahi sakta hai
How do we create command aliases in a shell?
How shell works?
How do I run a .sh file?
How do I run a shell script on a mac?
What is Linux language details
How can you get the value of pi till a 100 decimal places?
how to search for vowels a,e,i,o,u appearing in the same sequence in a file