Compare commits

...

3 Commits
v0.3 ... master

Author SHA1 Message Date
1062477b42 Added LICENSE file 2014-06-15 14:32:28 +02:00
308ba920a9 Updated README file to reflect added shebang 2014-06-04 18:24:40 +02:00
b1aa5d6005 Added shebang 2014-06-04 18:20:21 +02:00
3 changed files with 20 additions and 0 deletions

15
LICENSE Normal file
View File

@ -0,0 +1,15 @@
Copyright (C) 2014 Jack-Benny Persson <jack-benny@cyberinfo.se>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

View File

@ -5,6 +5,10 @@ will get with a 26 bit netmask, simply run the script as below:
php netcalc.php 26
Or you `chmod +x netcalc.php` and run it as below:
./netcalc.php 26
The above command will give you the following outut:
Netmask

1
netcalc.php Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/php
<?php
/*