How to add block comment in shell script

The shell script is a set of instructions which are written using a programming language called bash. It is used for running commands, managing files and directories on your computer. Shell scripts often contain many lines of code and sometimes it becomes difficult to find the exact line that needs to be edited or added. In such cases, block comments can help you out by putting a comment in front of each section of code you want to edit so that you can easily find those lines later on without having to scroll through all other lines first.

How do I insert a comment in a bash script?

  • The hash symbol: #
  • The pound symbol: $
  • The double-dash symbol: —
  • The semicolon: ;
  • The single-dash symbol: –

How do I comment in bash shell?

You can use # at the beginning of a line to create a comment. This will tell the shell to ignore everything that follows on that line.

You can also use it at the end of a line, which will comment out everything from there until the end of the file.

Finally, if you want to have some sort of commentary near your code but not in its entirety, use # at the beginning of each relevant section and then ; at the end (or vice versa).

How do you comment in a batch script?

The REM command is used to add comments to batch scripts.

A simple example would be:

REM This is a comment line

The comment line can be any length, but it must start with an equal sign (=), followed by one or more characters, and then end with a carriage return (CR).

How do you comment multiple lines?

As mentioned, the syntax for a shell comment is as follows:

# comment 1

You can also use C-style comments in your shell scripts. To do so, simply enclose the text you want to remain untouched by the script with two forward slashes (//):

// This line will be ignored by the script and all of these will be ignored as well.

There are many options for commenting out multiple lines of code, including using shell scripts themselves. You can use #!/bin/sh at the top of your file and put all your code in there. Then put another #!/bin/sh at the bottom of your file and then you don’t have to worry about compiling anything because it already runs from that first line!

Conclusion

In this article, we will be discussing the various ways in which you can add comments in your shell script. We will also discuss how to format these comments and some of the best practices for adding them into your scripts. If you wants to read blogs on ” Block comments in Java”  click here.

The Best Alternatives For Hoverboards

Hoverboards are a really impressive piece of technology made for fun and practical uses in life. There are certainly many advantages to riding a hoverboard and most children nowadays prefer riding hoverboards as compared to skateboards, skates, bicycles, and other riding stuff. Hoverboards are self-operated and you do not need to put much effort to drive and balance the hoverboard and this is why this time and the energy-efficient device is very common with people.

However, not everyone wants to have hoverboards and some people do not want to buy hoverboards just because they are very costly and they have some drawbacks which can be harmful to the riders. If you are scared to buy a hoverboard just because they are riskier while riding then you must always get a comfortable and certified hoverboard which may cost a little high but it will ensure your safety. 

If you are not aware of the best companies then you can consider buying a swagtron hoverboard which is a completely safe and a trusted company for many years, but if you still need some alternative to the hoverboard then here are some very cool alternatives for you and your kids. 

Self-Balancing Electric Unicycles 

The self-balancing electric unicycles are unimaginably peculiar machines, however manual unicycles have been a vehicle staple for quite a long time. If you think hoverboards are somewhat difficult to master, unicycles surely request more clarity of mind and work to ride. With enough practice, you will actually want to master riding one and partake in the many advantages they have over hoverboards like increased speed and reach. 

Controlling these electric unicycles is similar to a hoverboard where you essentially control the gadget by shifting your weight around. Inclining forward or in reverse advises the unicycle whether to move ahead or in reverse. Turning the foot pedal permits you to steer the cycle to one side or to one side. These cycles additionally utilize a comparative exhibit of gyroscopes and sensors to keep it upstanding and adjusted. 

Electric Roller Skates 

Electric roller skates, prominently known as hovershoes, are a different class of individual vehicle gadgets. There are two free stages with their own motor and wheels. The glaring difference between hovershoes and hoverboards is that with the shoes, the two wheels are completely isolated. The wheels of the hovershoes are likewise a lot more modest, about 3.5 inches contrasted with 6.5. 

The wheels are somewhat more extensive however to give you greater strength when riding. Controlling these gadgets is like hoverboards, so you utilize your weight to move them. You can handle the speed by inclining forward or in reverse, and the bearing by bending the cushions in inverse ways to turn you to where you need to go. 

Electric Surfing Scooters 

Electric surfing scooters or one-wheeled skateboards appear to be unique to most close-to-home carriers. It’s an electric skateboard with an enormous, wide wheel in the center. It appears to be exceptionally shaky, however by one way or another, they are fit for running at 8 miles each hour or much more. However, if you’re contrasting it with the hoverboard introduced in Back with the Future, these one-wheeled ones are the most similar to how you ride it. 

Similar to the hoverboards of today, the stage is kept level by a variety of gyroscopes and sensors that recognize every development of the rider. To get it rolling is like hoverboards, you lean toward the path where you need to head, and the entire thing moves.

Propane Heaters: Benefits Of Using These Heaters

What are Propane Heaters? 

A propane heater is a space heater that heats up the air using propane fuel. The fuel is filled with a tank and is then lighted using a programmed or manual start. 

The propane heater is a well-known decision in areas where it isn’t handy to have a heater close to an electrical point. Numerous individuals use them outside as porch heaters or in larger areas, for example, warehouses and carports to heat up the air without the utilization of electricity. They are additionally exceptionally portable, making them advantageous decisions in areas where the client needs to move the heater around easily, for example, on construction destinations, on occasions, and even in the home. 

These heaters are accessible in an assortment of shapes and sizes to suit different requirements, and you can find propane heaters that are intended for use indoors or outside. Some are made to be freestanding and portable, while others can be mounted to the divider or ceiling to make them more of a perpetual apparatus. 

Propane heaters yield heat in BTU esteems, and when you are looking for the best propane heater, you ought to consistently check the item portrayal to perceive what the BTU esteem is before making a purchase. This will determine whether the heater will be appropriate for your necessities. 

Advantages of Using a Propane Heater

Using a propane heater is certain to set aside your cash. When you contrast propane with electric heat, propane fuel is far less expensive than electricity. If you already have a central heating system in your home, you could likewise set aside cash by turning off your central heating and using the indoor safe propane heater for your room. 

Propane heaters are likewise an extraordinary decision for open-air use as well. Regardless of whether you need to heat your yard region or if you need the heating on a construction site with no electricity gracefully, you can make certain to find a propane heater to suit your prerequisites. 

Propane heaters can be utilized indoors or outside, in spite of the fact that you ought to be mindful so as to check the properties of the heater to guarantee that it is appropriate for either open-air or indoor use. Using an open-air propane heater indoors is hazardous. 

In areas where natural gas isn’t an alternative, it is conceivable to obtain propane gas. This permits those in far off areas to have heating when they need it. 

Dissimilar to numerous other fuel types, propane is a perfect burning fuel. You won’t need to battle with any scents while the fuel is burning, or lingering smells after you have finished using the heater. It is additionally less combustible than different types of powers so it is more secure to store. 

You can likewise profit by being ready to utilize this kind of heater in smaller rooms in your home as long as you pick a heater that is intended for indoor use. Indoor heaters don’t create as numerous poisonous gases as different types of heaters. Ones that are intended for indoor use as a rule have a low oxygen level finder that will kill the heater if the oxygen level drops excessively low. This guarantees you can have total genuine feelings of serenity using a propane heater in your home.

Reasons To Use Network Cable Tester

System investigating can resemble unraveling a significant chunk of string: clumsy and tedious. Toward the finish of each string can be fundamental assets from servers and capacity gadgets, passageways and security gadgets to work area figuring assets, printers, telepresence gear, LAN wires, Dial tones, and IP phones. 

With so much work to do with a single device, you need to have the best unit deployed at work to bring out the most efficient and effective result within a few seconds. So, if you have to test various kinds of devices, ports, and wires you need the Best Network Cable Tester to fulfill all your requirements.

Each layer, from the physical to application layers, can be a piece of the tangle. A system or flowchart process is basic for a total and conclusive goals. A device that supports efficient finding and rapidly tests every potential issue source gives you a chance to tackle your system bewilders routinely and rapidly. For each question you have about the system’s condition, you get a fast response. 

Furthermore, an instrument that encourages you to take care of differing system issues is additionally incredible for the underlying check of cabling and system gear. The network cable tester is a mix of voltmeter, TDR, convention analyzer, and then some, joined with programming to translate and dissect results. 

digital-multimeter-isolated-c3mbh6l

At the point when you realize how to utilize a system analyzer viably, you’re the one to call when organize issues are causing cerebral pains and need fast, powerful activity. Here are some reasons to buy a network cable tester. 

RJ45 Test — ensuring the physical layer is strong. This might be the first test if there’s motivation to speculate the cabling: if it’s new, or there has been development close by or other interruption. 

Unlabeled Cable Hunting — an exceptionally regular issue, sadly. Office and gear increases regularly bring about a chase to locate “the opposite end” of existing jacks. Without a system analyzer, this can bring about destroying extra links to spare time. 

LAN Port Testing — if the nearby gear is faulty, you could sit around idly chasing a system issue that is truly directly before you. To seclude the issue, checking the connection and ensuring the speed is acceptable can help guarantee that you have a decent, dynamic port. 

Port Discovery — gadget and system recognizable proof. See what’s on the system, including virtual systems. Use Cisco and nonexclusive distinguishing proof conventions, and recognize potential troublemakers, design issues, and PoE issues. 

System Function Testing — testing from the client/gadget point of view. Rather than placing a bring in to have administrators check their administrations, you can recognize any issues with programmed IP address assignment that may influence new gadgets, check the reaction of gadgets as of now on the system utilizing IPv4 or IPv6, check URL reaction of web servers, and find unlisted and sudden gadgets on the system.

An easily running system is the result of dynamic checking and fast reaction when issues emerge. System analyzers enable specialists to work through investigating flowcharts rapidly and definitively, not just guaranteeing that system administration vacation is limited, yet demonstrating the estimation of a decidedly ready system the board division.

Here’s a fast way to convert audio to text

One of the most common problems faced by transcriptionists, podcasters and content creators is that they have to spend a lot of time transcribing content. For some, this is no less than a nightmare. Transcribing audio or video content is a matter of time and patience. You waste a lot of time in the process. However, the good news is that you can avoid wasting your time in transcription. In this post, we are going to talk about how you can transcribe speech to text online without spending much time.

There is a simple tool which helps you transcribe speech to text online. Using this tool, you can convert spoken words into texts very quickly. No longer will you have to keep sitting and listening to voices and trying to type it down. Even if you are patient enough to sit for a long period of time, chances are that you will not be able to maintain the level of accuracy that is needed for transcription. There are more than enough reasons for you to use audio to text converter for transcription.

Here’s a tool that is just perfect for the purpose.

This tool works on a speech recognition technology. Many professional transcribers have used this tool for their work. It works so well that you get 99% accurate results most of the time. Other than professionals, this tool is used by anyone who wants to transcribe audio to text.

Here’s how you can use this tool:

Visit this site and follow the steps mentioned below:

Steps 1. Click on the start recording tab. Make sure that you have your microphone connected.

Steps 2. Start talking or play the audio you want to get transcribed. You can see the text getting typed automatically on the screen.

Steps 3. Once you are done transcribing, click on the copy button. Your text gets copied to a clipboard. You can even pause and restart the recording.

Step 4. Paste the text into another application and save it.

So, that’s it. This is how you can convert audio to text in a few simple steps. The best thing about this tool is that it is free to use. Unlike other tools, you do not have to pay for using this tool. You can even use this tool on mobile devices. All you need to have is a good internet connection and you are good to go. With mobile devices, you can use this tool anytime and anywhere. Think about it. You can have a transcription of a class lecture or an important meeting discussion right in your phone. Isn’t that interesting?

We hope you found this post useful and informative. In case you have any queries or suggestions related to this post, feel free to leave your thoughts in the comment section below. Also, if you want to know more about audio to text converter, let us know through your comments. We would be glad to share more insights with you.

To show your support, share this post with your friends on social media and elsewhere. Thank you very much for reading!

Pros And Cons Of Cryptocurrency

There are several advantages of cryptocurrency. However, there are certain disadvantages of this new form of digital money that you should know about. In this article, I have explained the various pros and cons of cryptocurrency which will help you decide if investing in cryptocurrency is the right thing for you.

Pros and cons of Cryptocurrency

Pros:

1. Transparency

Let’s take bitcoin to illustrate this point. Bitcoin transactions are monitored on blockchain. Once a transaction gets complete and gets recorded in the public ledger, it cannot be altered. These transactions can be verified by anyone and anytime. But, nobody can manipulate it in any way.

2. Protection from identity theft

The transaction of digital currencies is completely under your control. The transactions are independent of the identities of the persons/parties making them. This keeps the transaction safe and protects the user from identity theft.

3. Portability

Physical money is traceable. This is not the case with cryptocurrency. Cryptocurrency is easily transportable without detection. You can easily carry billions of Bitcoin dollars with you in person using a memory drive.

Cons:

1. Market fluctuations

Cryptocurrencies can be subject to market fluctuations. You need to understand that the market prices keep on changing. Check this website to know about the changes in market prices of cryptocurrencies. You can also check the latest coin listings on exchanges through this website.

2. Not so popular

Not everyone knows about cryptocurrencies. Even if some people know about it, they do not understand how it works. Because of this, people are mistrustful of this new form of currency. This is the reason why there are only a few businesses which accept payment in the form of bitcoin or other cryptocurrencies.

3. Cannot be recovered

One of the biggest disadvantages of cryptocurrency is that once it is lost, it cannot be recovered. Unlike banks, which gets your money back in case of stolen credit card or hacking, lost digital coins cannot be retrieved.

4. Untraceability

Transactions made through bitcoins or other cryptocurrencies are virtually untraceable. This makes it a good source for criminals to make transactions without the risk of getting traced. This is the reason why cryptocurrency is banned in some countries.

So, having gone through all the pros and cons of cryptocurrency, do you think the pros outweigh the cons? In my opinion, it depends on your purpose of use. If you are thinking about using cryptocurrencies for your daily transactions, it is not worth it. However, if your intention is to stay invested, cryptocurrency is a great option.

I hope you found this article useful and informative. If you want to know more about cryptocurrency, blockchain or online investments, let me know in the comment section below. Also, let me know your suggestions and questions about the pros and cons of cryptocurrency. Share your tips with me if you have any. I will be glad to get in touch with you. To show your support, share this post with your friends on social media and elsewhere. Thank you very much for reading.

5 Simple Tips For Making Your WiFi Connection Faster

Slow internet connectivity can be really annoying. However, it is worth knowing that the speed of your WiFi connection does not only depend on your Internet Service Provider (ISP) and the package you have signed up for. There could be other several reasons why your internet connection loads up slowly. Sometimes it only requires troubleshooting minor issues or a few simple tricks to make your WiFi connection faster.

Here are 5 tips on how to improve your internet speed and service:

  1. Configure the startup computer programs

Figure out which programs are already running every time you start up your computer. You might be surprised at the number of programs that set themselves automatically and run when you start up your computer or your internet connection. Therefore, free registry cleaner programme can be used to analyze what is automatically running when you either connect your WiFi broadband or log onto your PC. The programs will stop starting up by themselves.

  1. Update your antivirus and web browser regularly 

Any type of expired antivirus software discontinues updating its library. This means that your computer will be vulnerable to any newly created spyware, malware and other viruses. These can slow down the computer and your WiFi connection. In most cases, it even uses your allocated bandwidth to either upload or download additional data.

So, in order to make your WiFi connection faster always ensure that your computer is fully protected by making sure that your antivirus programme is up to date.

  1. Find out your maximum WiFi connection speed

Before actually worrying about a problem with your broadband service, it is advisable to check the maximum internet speeds allocated to your WiFi connection package. For instance, if you signed up for a plan that might be having speeds up to 8Mbps, then it is unrealistic to anticipate for fast internet speed. But if you notice a huge difference in what is being promised and what is being offered, then there is an issue that needs to be resolved.

  1. Set a unique password for your WiFi router

Setting a unique password is important because without it anyone could access your allocated bandwidth which may cause your WiFi internet speed to gradually slow down. Furthermore, it can make your network vulnerable to attacks from hackers. So, always ensure that you use complex passwords for your WiFi router. This password should be a mix of uppercase and lowercase letters, numbers and special characters. 

  1. Buy a newer router

If you try out all the methods and still face a slow connection, you might consider upgrading to a new router. New routers come with smart technology that can send stronger and better WiFi signals.

We hope you found this post useful and informative. If you have any queries or suggestions related to this post, please drop your comments in the comment section below.  We would be glad to help you out. To show your support, share this post with your friends on Social media.

Thank you very much for reading!

How To Fix Slow Internet Connection

There are pros and cons to a slow internet connection. While it may sometimes give you an excuse to go outside and get some fresh air, at other times it may just hamper your productivity. Here are some quick tricks that might just fix your slow internet connection.

  1. Check your internet speed

Test the speed of your internet connection on speedtest.net. Run a speed test and check if the speed of your internet connection matches the speed promised by your service provider. If the speed matches the numbers mentioned in the plan, you are paying for a slow connection. The solution here would be to switch to a different plan that gives you high speed. If the speed doesn’t match up, you can try other options.

  1. Troubleshoot your system

Reset your router and modem and see if it makes a difference. Check the speed of the internet on other computers and devices in your house. This will help you understand if the problem is just with your computer or other devices too. If you find the problem with your computer, you can follow a few troubleshooting steps to clearly understand if it is a hardware problem.

  1. Get rid of bandwidth-hoggers

A shared WiFi connection sometimes brings down the internet speed. When you are on a shared WiFi network, it is really difficult to determine who is using your WiFi and how much they are using. The most initial step is to talk to other internet users in the place about the matter. If that doesn’t work, you can try other options.

Use Wifi killer tools like Wifikill for Android or Netcut for PC. These tools give you full control of your WiFi network. You can see all the devices connected to the network and decide to kick them off the network when you find that they use the bandwidth excessively. This is definitely one of the most unethical yet effective ways to deal with the bandwidth hoggers in your network. Netcut for PC is one of the best online tools for this purpose.

  1. Check your WiFi signal

Very often your internet connection remains fine, but still, you face slow internet speed issues. Chances are you have a weak WiFi signal. A weak WiFi connection is often misunderstood for an internet connection problem. There are various reasons for a weak WiFi signal. One of the best ways to boost your WiFi signal is to set your router out in the open and make sure that there are no obstructions in between.

  1. Call Your Internet Service Provider

In case you have followed all the necessary troubleshooting steps and still face a slow connection, you simply need to call your internet service provider and check if the problem is on their end. If everything goes well, you will get back your internet speed. If not, you better change your service provider.

I hope you found this post helpful and informative. Please let me know your thoughts in the comment section below. Thank you for reading!