Register for our webinar

How to Nail your next Technical Interview

1 hour
Loading...
1
Enter details
2
Select webinar slot
*Invalid First Name
*Invalid Last Name
*Invalid Phone Number
By sharing your contact details, you agree to our privacy policy.
Select your webinar time
Step 1
Step 2
Congratulations!
You have registered for our webinar
Oops! Something went wrong while submitting the form.
1
Enter details
2
Select webinar slot
Step 1
Step 2
Confirmed
You are scheduled with Interview Kickstart.
Redirecting...
Oops! Something went wrong while submitting the form.
Iks white logo

You may be missing out on a 66.5% salary hike*

Nick Camilleri

Head of Career Skills Development & Coaching
*Based on past data of successful IK students
Iks white logo
Help us know you better!

How many years of coding experience do you have?

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Our June 2021 cohorts are filling up quickly. Join our free webinar to Uplevel your career
close
closeAbout usWhy usInstructorsReviewsCostFAQContactBlogRegister for Webinar

Attend our Free Webinar on How to Nail Your Next Technical Interview

WEBINAR +LIVE Q&A

How To Nail Your Next Tech Interview

Hosted By
Ryan Valles
Founder, Interview Kickstart
Our tried & tested strategy for cracking interviews
How FAANG hiring process works
The 4 areas you must prepare for
How you can accelerate your learnings

TR command in Unix/Linux with Examples

Attend our Free Webinar on How to Nail Your Next Technical Interview

WEBINAR +LIVE Q&A

How To Nail Your Next Tech Interview

Hosted By
Ryan Valles
Founder, Interview Kickstart
Our tried & tested strategy for cracking interviews
How FAANG hiring process works
The 4 areas you must prepare for
How you can accelerate your learnings

TR command in Unix/Linux with Examples

# Introduction to the TR Command in Unix/Linux The TR (translate or transliterate) command is an essential tool in Unix/Linux for manipulating strings. It is used to replace or delete specific characters from a string or to replace one set of characters with another. It is most commonly used when working with text files, as it allows for precise control over the output. This article will explore the TR command and its various uses, before providing a few examples to demonstrate how it works.

Worried About Failing Tech Interviews?

Attend our webinar on
"How to nail your next tech interview" and learn

Hosted By
Ryan Valles
Founder, Interview Kickstart
Our tried & tested strategy for cracking interviews
How FAANG hiring process works
The 4 areas you must prepare for
How you can accelerate your learnings
Register for Webinar
**TR Command** The tr command (short for translate) is a Unix/Linux utility that performs a character-by-character translation of a given input text. It is used for manipulating the text in a variety of ways, such as deleting characters, substituting characters, or changing case. **Example 1** To delete all occurrences of the character 'X' from the input text: ``` tr -d 'X' ``` **Example 2** To substitute all occurrences of the character 'X' with the character 'Y' in the input text: ``` tr 'X' 'Y' ``` **Example 3** To change all characters to uppercase in the input text: ``` tr '[:lower:]' '[:upper:]' ```