« March 2008 »
S M T W T F S
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
You are not logged in. Log in
JWP's Linux Pod Cast Notes
Thursday, 27 March 2008
BC Scripts
Mood:  caffeinated
Now Playing: Bite Me Hard
 
BC, Info 
http://www.gnu.org/software/bc/manual/html_mono/bc.html 
http://www.oreillynet.com/linux/cmd/cmd.csp?path=b/bc 
http://www.basicallytech.com/blog/index.php?/archives/23-command-line-calculations-using-bc.html
BC Script example from the internet link above:
print "\nConvert Fahrenheit to Celsius\n\n"
print "Temperature in Fahrenheit: " ; fah = read()
print "\n"
print "Equivalent Temperature in Celsius is: "
(fah - 32.0) * 5.0 / 9.0
quit
My own script that I built for Currency changing.
print "\dollar to euro program\n\n"
print "Amount of Dollars to convert: " ; dollar = read()
print "The Conversion Rate For Today Is: "; convert = read()
print "\n"
print "Your Dollars Purchased this many Euros: "
(dollar) * (convert)
quit
 
print "\Euro to Dollar Program\n\n"
print "Amount of Euros to convert: " ; euro = read()
print "The Conversion Rate For Today Is: "; convert = read()
print "\n"
print "Your Dollars Purchased this many Euros: "
(euro) * (convert)
quit


Posted by john_wesley_pruitt at 9:02 AM EDT
Updated: Thursday, 27 March 2008 9:06 AM EDT
Tuesday, 25 March 2008
First day back
Mood:  accident prone
Now Playing: Run to the Hills

A bit of running around the SDF account 

Linux command uptime.

Interesting

Type uptime you get days hours minutes seconds and average CPU time.

alpha-netbsd 2.1.0_stable

Is what I get when I type uname -r

Uname -m It says Alpha 

Wow not linux but net bsd

http://www.osdata.com/oses/netbsd.htm

http://wiki.netbsd.se/mv

 helped with the moving of the file

http://wiki.netbsd.se/index.php/Category:Shell_Commands

Great started learning it.

 

 

 

 


Posted by john_wesley_pruitt at 12:22 PM EDT
Monday, 24 March 2008
The battle of the Unix shells
Mood:  amorous
Now Playing: Lets Dance
Topic: A shell account

I signed up for an SDF account.

http://sdf.lonestar.org/index.cgi

I went ahead gave the 36 membership fee.

I got access to BC and SC commands which were important to me.

Learning about elm and pine and trying real hard to run my internet life through a shell.

I am using putty but there is no reason not to use an SSH in Linux either. 

 But I am having trouble coping and pasting sing MC.

I have to read up on it.

 

 

 

 

 


Posted by john_wesley_pruitt at 7:43 PM EDT
Saturday, 22 March 2008
Looking around
Mood:  a-ok
Now Playing: OpenVMS linux

So the geek in me is getting a look about in the openvms.  It seems it is a even more hardy operating system than unix or linux.  Its commands seem to be more common sense. 

So far the command line runs off something called DCL which controls the operating system.  I have a shell account athe Openvms hobby site on a Vax server named mason.

To run Open VMS on a vax station the 4000 series seems the best with the 60 model being the most practical and the VAXstation 4000 VLC being the most portable.

It seems HP provideds some free were and there is hobby LTU program.

http://h71000.www7.hp.com/openvms/freeware/index.html?jumpid=/go/openvms/freeware

 I looked at linux console distro.  I have not heard of it but it seems to be a live version CD product.  http://linuxconsole.org/about.php

Seems French and cutting edge. Did not down load it.  But it looked nice.


Posted by john_wesley_pruitt at 10:13 PM EDT

Newer | Latest | Older