Geeks Talk

Prepare for your Next Interview




Brief Idea on the UNIX command

This is a discussion on Brief Idea on the UNIX command within the Unix/Linux forums, part of the Operating Systems category; I have heard that there is a command in UNIX called as tr in shell programming of UNIX which translate characters. But how does the translation takes place. Kindly brief ...


Go Back   Geeks Talk > Operating Systems > Unix/Linux

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 09-04-2006
Contributing Member
 
Join Date: Jul 2006
Posts: 58
Thanks: 0
Thanked 1 Time in 1 Post
StephenRaj is on a distinguished road
Brief Idea on the UNIX command

I have heard that there is a command in UNIX called as tr in shell programming of UNIX which translate characters. But how does the translation takes place. Kindly brief me on the output achieved by this command
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-09-2006
Junior Member
 
Join Date: Sep 2006
Posts: 27
Thanks: 0
Thanked 2 Times in 2 Posts
SriramKrishna is on a distinguished road
Re: Brief Idea on the UNIX command

tr command in UNIX as said by you is used for translating characters from standard input.
The general syntax of this command is:
tr character_from character_to

That is in above character_from and character_to can take one or more single characters. The character_from denotes the input character and whatever is found in this character_from is translated to character_to. The final translated character or output is written to standard output which is the terminal

The above is the general syntax of this tr command but I think there are also many options in this command which I am not aware of. Hope that someone would post those in this discussion.
Reply With Quote
Reply

  Geeks Talk > Operating Systems > Unix/Linux


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Options in ps command in UNIX blenda Unix/Linux 7 03-07-2007 12:03 PM
How to focus the idea RyanJames Interviews 2 10-01-2006 05:31 PM
How to focus my idea norman Interviews 1 08-08-2006 03:36 PM
Query with a Command in UNIX operating system RyanJames Unix/Linux 2 07-23-2006 12:39 PM
Trapped with Trap command in UNIX blenda Unix/Linux 0 07-12-2006 04:57 PM


All times are GMT -4. The time now is 12:43 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved