The strangely named “here documents” let you use input/out redirection inside Bash scripts on Linux. They’re a great way to automate commands you need to run on a remote computer. Here Documents Many commands in Linux have two or three letter names. This is partly what gives rise to the notion that Linux is hard to learn and full of arcane commands. But one of the weirdest names in Linux isn’t one of the cryptically short ones. “Here documents” aren’t documents, and it isn’t really clear what the “here” refers to, either. They are a relatively obscure construct, but they are useful. Of course, this is Linux, so there’s more than one way to skin a cat. Some of the functionality provided by here documents can be reproduced in other ways. Those alternate methods are usually more complicated. In programming and scripting, “more complicated” also means “more prone to bugs,” and that your code is harder to maintain. Where here documents really excel is in the automation of … [Read more...] about How to Use “Here Documents” in Bash on Linux
Burnt 5 letters
If you’ve ever wanted to try and find the number of characters in a line of text, you can use Microsoft Excel to do so, thanks to the LEN function. Here’s how to use it. What Is the LEN Function? The LEN function is a simple calculation function that counts all the characters in a given text string, including numbers, letters, special characters, and spaces. The function name (LEN) is shorthand for length, as the function output provides the total length of a text string as a number. To give you an example, let’s assume that an Excel workbook contains a cell with the following text: This is an example text string containing 56 characters! The text string contains spaces, text, numbers, and a special character, and has a length of 56 characters. Should you wish to confirm this calculation, you could use LEN to do so. How to Use the LEN Function in Microsoft Excel Unlike other Excel functions , the LEN function is extremely simple to use. It contains only one … [Read more...] about How to Use the LEN Function in Microsoft Excel
If you’ve opened your phone today, there’s a good chance that you’ve already seen a post with the acronym BTW in it. Here’s what it means and how to use it. “By the Way” BTW stands for “by the way.” It’s used to insert a new idea into a conversation or to bring something up (like a reminder). It can also be used to change the subject of a discussion quickly. Even compared to other slang terms, BTW is one of the most popular acronyms on the internet. Alongside being used in millions of personal messages and social media posts every day, it can also be seen in website articles, advertisements, and even professional emails. It’s even spoken out loud in real life and has its own special pronunciation. BTW can be written in both uppercase and lowercase form. However, the lowercase “btw” is much more common, especially with the rise of mobile messaging. In the early 2000s, it was common to see it written as “B.T.W.” with periods in between the letters, but that version is no … [Read more...] about What Does “BTW” Mean, and How Do You Use It?