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 the significance of the shebang line in shell scripting?
What is awk script?
How to print pid of the current shell?
What is the use of echo in shell script?
What are the different methods available to run a shell script?
What is the use of "shift" command in passing parameters?
What is shell application?
The information of the two files should be redirect to Third file in such a way that, the third file contain the information like this. 1st line in third file should be from 1st file 2nd line in Third file should be from 2nd file 3rd line in Third file should be from 1st file 4th line in Third file should be from 2nd file - - so on
What are the different types of shell scripting?
how will you find the total disk space used by a specific user?
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
What does $# stand for?