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
How do you debug a script?
What are "c" and "b" permission fields of a file?
How can any user find out all information about a specific user like his default shell, real-life name, default directory, when and how long he has been using the system?
write a shell script to emulate the Id command of PRIMOS which lists files and directories. It list files first with a header FILES and then directories with a header DIRECTORIES. This command has several options. The main ones are. -file select files only -dir select directories only -reverse sort in reverse order -no_header put no header on the output -brief output the header only -size display the size of each file -help display Id´s syntax and options.
What is the default shell of solaris?
What is gui scripting?
What is awk in shell script?
What is bash used for?
How do you create a shortcut in linux?
Is shell a part of kernel?
What is the default ubuntu terminal?
What are the default permissions of a file when it is created?
I have 2 files and I want to print the records which are common to both.
What are the advantages of shell script?
What are filters explain sort with all the options available?