Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



Write a shell script in Linux to shift all characters in a file forward by five characters. (Thus ..

Answer / manuswami

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

Is This Answer Correct ?    41 Yes 6 No

Write a shell script in Linux to shift all characters in a file forward by five characters. (Thus ..

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

Post New Answer

More Shell Script Interview Questions

What does echo $0 do?

0 Answers  


What are "c" and "b" permission fields of a file?

0 Answers  


How does path variable work?

0 Answers  


c program to check whether all the directories in the path exists has read and write permission

1 Answers  


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

1 Answers  


madhar chod unix ke 10 commands dhang se likh nahi sakta hai

0 Answers   Cap Gemini,


Why is it called a shell?

0 Answers  


Is shell scripting a language?

0 Answers  


How many fields are present in a crontab file and what does each field specify?

0 Answers  


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"

6 Answers  


What are different types of shell?

0 Answers  


how is the oppurtunities for unix in the software

1 Answers  


Categories