Sponsored Content
Top Forums Shell Programming and Scripting Pls help with script made a calculator Post 302952693 by Don Cragun on Friday 21st of August 2015 12:06:23 AM
Old 08-21-2015
Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum under special homework rules.

Please review the rules, which you agreed to when you registered, if you have not already done so.

More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.

If you did post homework in the main forums, please review the guidelines for posting homework and repost.

Thank You.

The UNIX and Linux Forums.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Made command into a script but now won't run

Hello, After seeing in a Unix cheatsheet that I could add commands into a file and run that file as a command to save on typing, i tried it with this: #! /bin/csh # Backup website excluding directories that do not change rsync -e "ssh -p 2222" -axzvc --progress --stats --compress-level=9... (9 Replies)
Discussion started by: patwa
9 Replies

2. Shell Programming and Scripting

Pls. Help my script not working as it should

I'm using nested for loops to gather ping IP addresses from a hostlist and also changing the packet size via a packet size list. The final results of (RTT and SDEV) will need to be grep'd out using awk into variables and then printed in columns (the packet sizes going across with IP address going... (1 Reply)
Discussion started by: cocoabeauty1
1 Replies

3. Shell Programming and Scripting

How do I assign values to variables made in a script?

How do I assign values to variables made in a script? e.g. for ((x=0;x<=5;i+=1)); do Xm$i=$var done (0 Replies)
Discussion started by: gelitini
0 Replies

4. Shell Programming and Scripting

Improve script made to calculate value based on present and previous line

Hi all, I have made at small script to make a simple calculation on a file which is formatted in this way: I want to create a new file in which the value of particular line minus the previous line is printed. So my wanted output is: I have made the following program to do the job... (5 Replies)
Discussion started by: s052866
5 Replies

5. Homework & Coursework Questions

Problem with calculator script

I'm having some trouble implementing a basic calculator using command line options. The script is supposed to take (multiple) arguments -a,-d,-m,-s for addition, multiplication, division, and subtraction. I'm pretty sure I know how to parse through the options with getopt(), but I have no idea... (17 Replies)
Discussion started by: zkapopou
17 Replies

6. Shell Programming and Scripting

Prompt home made script

Hi I made a script called mydf which puts out the amount of storage space left on the file system; df | head -2 | tail -1 | tr -s " " | cut -d" " -f4 But I would like to run it with every new prompt, so you get something like; user@5518748~$ in your prompt (5518748 being the mydf output). Its... (2 Replies)
Discussion started by: mdop
2 Replies

7. Shell Programming and Scripting

Script to send alert if any changes are made in crontab.

Hi i want to know how can i write a script to check if any changes are made and send an alert in crontabs . i am using .ksh file extension for writing scripts. (3 Replies)
Discussion started by: honey26
3 Replies

8. Shell Programming and Scripting

chmod calculator script

so just spit ballin here, i was wondering if anybody knew how to make a chmod calculator script. basically go to this website http://mistupid.com/internet/chmod.htm i would like something like this that i can use in a terminal tho. so like i run the scrip and it ask for owner what... (1 Reply)
Discussion started by: hookitup
1 Replies

9. Shell Programming and Scripting

CSH Calculator Script

Using the C Shell, I'm building a script that will compute simple mathematical computations (addition, subtraction, multiplication, division). The user will enter two integers (operands) on the command line separated by the operation (operator) they wish to perform. Example of the command line... (7 Replies)
Discussion started by: ksmarine1980
7 Replies

10. Shell Programming and Scripting

Shell Script Calculator

Hello, I have to make a calculator in shell script. But I get this error. Can someone help me please? c.sh: 3: c.sh: i: not found That's my code. ========================================================================== #Calculator i = "yes" while do echo What operation... (2 Replies)
Discussion started by: KJN
2 Replies
rskeygen(1)						      General Commands Manual						       rskeygen(1)

NAME
rskeygen - generate private key pairs for TI graphing calculators SYNOPSIS
rskeygen [ --secure ] [ --ti ] [ --length nbytes ] DESCRIPTION
rskeygen generates application and OS signing keys for the Texas Instruments TI-73, TI-83 Plus, TI-84 Plus, TI-89, and TI-92 Plus graphing calculators. These keys consist of two prime numbers p and q as well as their product n. Current calculator models impose a limit of 512 bits (64 bytes) on the size of n, so p and q are generally about 256 bits each. As of this writing this means factoring n is beyond the reach of most people, though this will undoubtedly change in the future. The keys generated by rskeygen are not very useful at the moment, because in order for an application or OS to be accepted by the calcula- tor, the key used to sign it must itself be signed using the calculator's own (possibly unique) private key, which is only known to TI. Nevertheless, rskeygen is provided in the hope that it can be useful, both for testing and for devising new signature schemes based on TI's. OPTIONS --secure Attempt to generate a ``secure'' key using the system's entropy pool, /dev/random (see random(4).) The actual security is thus dependent on your system's implementation of /dev/random. Without --secure, the keys are generated based on the current time and process ID, which is not secure in the slightest. --ti Generate keys which are palatable to TI's official app signing programs. This forces p to be congruent to 3 and q to 7 modulo 8. This option is not necessary when using rabbitsign(1), nor is it necessary for the calculator to validate signatures properly. --length nbytes Specify the length in bytes of the modulus n; p and q are each calculated to be approximately half this length. This should not be greater than 64 for current calculators, and must be less than 256 in any event due to a limitation of the key file format. SEE ALSO
rabbitsign(1), packxxk(1) AUTHOR
Benjamin Moody <floppusmaximus@users.sf.net> RabbitSign 2.0 July 2009 rskeygen(1)
All times are GMT -4. The time now is 12:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy