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 a boot block?
What is a file basename?
Can you write a script to portray how set –x works?
how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?
What does it mean to debug a script?
What is the command to find out users on the system?
What does $$ mean in shell script?
What is shell prompt?
how to search for vowels a,e,i,o,u appearing in the same sequence in a file
How to write an Auto scripting for deleting old files using shell script and made a cron job to run on daily basis
Explain about debugging?
What is batch file programming?