Employee Engagement Trends for 2019

The understanding of what attracts, engages and retains employees has moved along in the last couple of years but the landscape keeps changing. We are seeing changes in workplace attitudes and the…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Making a Bash Script

A Bash script is a plain text file which contains a series of commands. These commands are a mixture of commands we would normally type ouselves on the command line (such as ls or cp for example) and commands we could type on the command line but generally wouldn’t (you’ll discover these over the next few pages). An important point to remember though is:

Anything you can run normally on the command line can be put into a script and it will do exactly the same thing. Similarly, anything you can put into a script can also be run normally on the command line and it will do exactly the same thing.

Suppose you have a project you wish to upload on GitHub, so in order for your project to work on other systems the libraries used in making your project needs to be installed on that system.Rather than mentioning them and installing them one by one you can just make a bash file of those commands so that just by running that bash file you can install all those libraries at one go.

For example open your terminal and enter command:~

Then enter all the commands you wish to execute such as:~ pip3 install Flask and so on with each new command being on next line.

To execute the bash script in any system:~

Add a comment

Related posts:

Why Pharma manufacturer should consider effective collaboration among its various actors and players in the SCM using Blockchain?

The annual loss to Pharma Industry due to fake, Substandard & falsified drugs as reached more than 200 billion USD and this illegal market is growing at a rapid pace. This whopping sum of fake drug…

Want to control overeating? Try this now

Albert Einstein described insanity in one of the best ways. In his ever charming wit, he once quoted, “Insanity is doing the same thing over and over again but expecting different results.” When I…