Write a shell script in Linux to shift all characters in a
file forward by five characters. (Thus “a”
becomes “f’”).

Answer Posted / manuswami

cat test.txt | tr '[a-z A-Z]' '[f-za-e F-ZA-E]'

Is This Answer Correct ?    41 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?

3591


What is the use of "$?" Sign in shell script?

619


What is awk script?

550


Explain about non-login shell files?

698


Print a given number, in reverse order using a shell script such that the input is provided using command line argument only.

705






What is a scripting language simple definition?

565


How do you create a shortcut in linux?

599


Write the syntax for "if" conditionals in linux?

601


How to print the first array element?

559


Devise a script that takes file name as arguement(which must present in the current directory)and locates from your home directory tree all thpath names of its links.Then mail the list to self.

1711


Explain about the exit command?

570


What is wc in shell script?

559


What is path variable bash?

575


How to get the first line from a file using just the terminal?

599


What are filters explain sort with all the options available?

939