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
What is shell environment?
c program to display the information of given file similar to givan by the unix or linux command ls -l
How to get script name inside a script?
Explain about the slow execution speed of shells?
What is a shell script in windows?
When should shell programming/scripting not be used?
How do I start a shell script?
What is the syntax of while loop in shell scripting?
What is scripting autism?
What does it mean by #!/Bin/sh or #!/Bin/bash at the beginning of every script?
Write a shell script to get current date, time, user name and current working directory.
What are the types of script?
How to get the 3rd element/column from each line from a file?
How do you find out What is your shell?
What is k shell?