tr - Transform, Replace and Remove specific characters from strings | #10 Practical Bash
Vložit
- čas přidán 21. 05. 2024
- For the longest time I thought "tr" stands for "trim", but it actually means "translate". And this video shows that name makes a lot of sense. You can use tr to transform characters (e.g. lower to upper). Additionally you can remove specific characters (e.g. trim spaces) or you could even filter anything that doesn't match a specific matcher, such as alpha-numeric characters.
Learn how to use the tr command in this latest terminal tutorial! Enjoy! - Věda a technologie
Hey man, I’m stunned with clearness and simplicity of your explanations/examples... I was riding high on the “I wanna be a hacker” wave but realized I suck in basics like grub, bash, regex ing (while at the same time I am in love with my zsh+tmux vimlike workflow)... downloaded masses of books and courses yet this is the best pure/virgin Linux essence I have witnessed in a long time. Please don’t stop. Please...
Hi! I hope you continue this series, I really like your style of teaching. Great videos man!
Very clear and easy to understand. Thanks !
loves your vidwo and simple explanation about TLS.
Tr seems to be an underrated command. Much simpler in syntax than sed in certain situations.
do agree!
Well explained
This is great thank you, but how would you amend/delete text from an existing file?
ty. useful stuff.
hi, i would like to ask, how do I get only unique characters in a string? example: "hello world", output will get helo wrd
Hi , cool&perfect 🙏🙏
Hi, that's great. Now, how I could do the sale but at an specific range of lines and columns? Would you help me?
thank you
Can you make some more videos on terraform, terragrunt ,terratest. I found your videos are extremely knowledgeable
how did you switch to vim for editing commands?
Hmm.
is being ignored when I run this command. Seems to be reading everything as a raw string despite being included in the man page. Same happens with \t, etc. too.
How are you redirecting the command from terminal to vim and then back to stdout again? please explain
Hey, pls make more videos on terminal commands, will be more helpful..
❤️
please countinue the series
Great! "Tr" can also help to decode or encode. Thanks
Can you give an example? I've never heard of encrypting with tr. You can replace character sequences like in an encoding, but I'm not sure I'd call that encryption, since it basically only obfuscation.
Substitution ciphers are types of encryption, such as vigenere and the caesar ciphers, and would be easily accomplished using this translate command. They are incredibly basic and easy to decrypt though.
Can you tell me the name of your terminal theme?
How to store this in variable
how u edit comand in vim
And there was no example for capitalization...
❤️