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
Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.
What is the difference between break and continue commands?
What lives in a shell?
What does echo $0 do?
Explain how you Automate your application using Shell scripting.
What is eval in shell script?
determine the output of the following command: echo ${new:-variable}
How do I open the shell prompt?
What is echo in shell?
How do I read a .sh file?
I have to write Shells (Linux + Unix)for publishing packages and reports. Is it possible ? What are the differents executable programs ineed to call ?
How will you emulate wc –l using awk?
Please give me example of " at command , contrab command " how to use
c program the catches the ctrl-c(SIGINT) Signal for the first time and prints a output rather and exit on pressing Ctrl-C again
How can I send a mail with a compressed file as an attachment?