Creating a bash file (batch) for Linux Ubuntu
I'm not very expert in Linux, but there are certain things you need to do from time to time and do not post a little more on the subject.
In this post I explain how to create a bash file (batch for Windows users).
1. Create a new file in any folder where you want to run our bash.
2. Open this file with any text editor (by default it opens with my Ubuntu gedit).
3. Add file to start the next line
# / bin / bash
4. Following this line we add all the lines we want to run the console automatically.
For my example, I am compiling 3 files C language
# / bin / bash
consumidor.c gcc gcc-o
consumer or producer
productor.c-gcc-o monitor monitor.c
5. We keep our file and we'll give you a console for the respective periods of execution. To do this run the following command: sudo chmod 777
filename
We asked the Administrator password and when entered correctly will allow our bash is executed.
6. To run use the following command:
. / Filename
In short bash learned about creating files that automatically execute commands in console and learned to grant execute permissions I hope they serve at some time like me, greetings!
Tuesday, April 14, 2009
Tuesday, April 7, 2009
Patton Poh2501 Oil Heater
Earthquakes in Guatemala
Since last April 4, there have been several earthquakes in Guatemalan territory, which has worried some of the population and not used to having so many tremors followed on the same day.
Since I do not know much about earthquakes scales and all that, I decided to look at Free Press online edition an article where we explain in human words what happened in these last days and here I share the link so you can read:
http://www.prensalibre.com/pl/2009/abril/05/306403.html
My advice to these days those who stay at home, and many others go on a trip because of Holy Week, is to prepare a basic emergency kit. I was searching the Internet for information about a kit, since many families have different kit depends on your needs and scope, so I found this link that contains a very interesting animation which explains what you must include our kit: http
: / / www.conlospiesenlatierra.gov.co / portel_dpae / library / php / kit.htm
is a site developed for mayor of Bogotá. I hope it is very informative not throw away very quickly.
addition to this I give you more technical information I could find on the earthquakes that have occurred in recent days.
This is an image of earthquakes detected in the last week:
Source: U.S. Geological Survey
Since last April 4, there have been several earthquakes in Guatemalan territory, which has worried some of the population and not used to having so many tremors followed on the same day.
Since I do not know much about earthquakes scales and all that, I decided to look at Free Press online edition an article where we explain in human words what happened in these last days and here I share the link so you can read:
http://www.prensalibre.com/pl/2009/abril/05/306403.html
My advice to these days those who stay at home, and many others go on a trip because of Holy Week, is to prepare a basic emergency kit. I was searching the Internet for information about a kit, since many families have different kit depends on your needs and scope, so I found this link that contains a very interesting animation which explains what you must include our kit: http
: / / www.conlospiesenlatierra.gov.co / portel_dpae / library / php / kit.htm
is a site developed for mayor of Bogotá. I hope it is very informative not throw away very quickly.
addition to this I give you more technical information I could find on the earthquakes that have occurred in recent days.
This is an image of earthquakes detected in the last week:

Source: U.S. Geological Survey
This other image shows some details of the earthquakes that occurred in the Republic of Guatemala:

Source: U.S. Geological Survey
If you want to stay up to date information on earthquakes, please visit the site of the U.S. Geological Survey (U.S. Geological Survey) on the following link:
http://earthquake.usgs.gov
So, again, I invite you to prepare for any emergency that may occur in these days, since this is also part of a social and cultural education that our society unfortunately do not know or do not practice properly, be prepared for any serious circumstances that may occur, I hope your comments!.
http://earthquake.usgs.gov
So, again, I invite you to prepare for any emergency that may occur in these days, since this is also part of a social and cultural education that our society unfortunately do not know or do not practice properly, be prepared for any serious circumstances that may occur, I hope your comments!.
Subscribe to:
Posts (Atom)