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 does echo $0 do?
What are "c" and "b" permission fields of a file?
How does path variable work?
c program to check whether all the directories in the path exists has read and write permission
I want to upload a file to remote server through ftp daily.Can anyone suggest how to make a shell script for that.I hv credentials for that ftp
madhar chod unix ke 10 commands dhang se likh nahi sakta hai
Why is it called a shell?
Is shell scripting a language?
How many fields are present in a crontab file and what does each field specify?
Create a bash shell script that removes all files whose names end with a "~" from your home directory and subdirectories. Name this script "cleanup.sh"
What are different types of shell?
how is the oppurtunities for unix in the software