=== yofel_ is now known as yofel | ||
=== jacky- is now known as jacky | ||
genupulas | duanedesign, whats the way to create simple .bin files ? | 13:28 |
---|---|---|
genupulas | I mean i want a bin file which can print "hi" when a execute that | 13:29 |
geirha | What's a .bin file? | 13:32 |
genupulas | its a binary file. | 13:33 |
geirha | Ok, so you want a compiled binary executable that says hi when you run it? | 13:34 |
geirha | Then you likely want to write it in C or C++ | 13:34 |
genupulas | any language | 13:35 |
geirha | If you're thinking of install.bin etc which you find for obscure software packages, those are not necessarily binary, they're just badly named | 13:37 |
geirha | If you want a script, you just create a new text file and put in the two lines: #!/bin/bash and echo hi | 13:38 |
genupulas | geirha, sir I am just trying to made one for me | 13:38 |
geirha | genupulas: Sure, just trying to figure out what you want exactly | 13:39 |
genupulas | geirha, thank you sir. | 13:40 |
geirha | Anyway, save that file as e.g. "myscript", then make it executable by running chmod +x myscript lastly you can run it with ./myscript | 13:41 |
genupulas | so does it give back in .bin format ? | 13:41 |
geirha | no, there's not really any ".bin format" | 13:42 |
genupulas | some files do exist in .bin format. for example our Java software . | 13:43 |
geirha | by .bin then, do you mean filenames that end with ".bin", or...? | 13:43 |
genupulas | I want to create one , something like hello.bin and when I execute that It should provide me some output like "hi" | 13:45 |
geirha | then you should save it as "hello", not "hello.bin" | 13:46 |
geirha | ".bin" at the end of a filename bears absolutely no meaning, so you might as well just omit it. | 13:46 |
genupulas | geirha, one min sir I will give you some link. | 13:49 |
geirha | Anyway, to learn writing bash scripts, I recommend http://mywiki.wooledge.org/BashGuide | 14:09 |
geirha | There are many other guides and tutorials on bash out there, but in general they're unfortunately mostly garbage. It's best to stick to the resources in /topic #bash if you want to avoid bugs. | 14:10 |
=== niltonvasques is now known as _InSanity_ | ||
jman074 | hello there | 21:17 |
jman074 | anyone know how to download skype for ubuntu 12.4 | 21:17 |
phillw | jman074: I don't use skype, but the tutorials at ubuntu-geek are very good and I've certainly used them in the past for other things ... http://www.ubuntugeek.com/how-to-install-latest-version-of-skype-4-1-in-ubuntu-12-10-quantal-quetzal.html | 21:24 |
jman074 | thank you | 21:27 |
hikari_ | hello | 21:36 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!