10 More Discussions You Might Find Interesting
1. Homework & Coursework Questions
you are to write a program which will read in a tax rate (as a percentage) and the prices of 5 items. the program is to calculate the total price, before tax, of the items and then the tax payable on those items, and then the total amount due. the tax payable is computed by appliying the tax rate... (1 Reply)
Discussion started by: bunkercrazy
1 Replies
2. Shell Programming and Scripting
dear coders,
i need some inspiration again...
there is something what i always wanted to know... how to code following:
value 1: __________
value 2: __________
important: when my "script" starts the display has to be cleared and two lines are shown (see above), the cursor has to be... (2 Replies)
Discussion started by: pseudocoder
2 Replies
3. Shell Programming and Scripting
I used to program ksh a while back, but I've been off in Oracle/Windows land (for clients -- not by choice) for so long that I can't remember what should be an easy thing. Here's the scenario:
1)Find all files and directories beneath some directory point (A).
2)If directory, make the... (7 Replies)
Discussion started by: scyphers
7 Replies
4. UNIX for Advanced & Expert Users
I have a directory containing a series of files of the format:
A2008001231000.L2
I only care about the 6-8 digits, so the files are effectively:
?????---*.L2
I have files that range from ?????001*.L2 to ?????366*.L2
It should be noted these three digits represent the julian day of the... (2 Replies)
Discussion started by: msb65
2 Replies
5. Shell Programming and Scripting
I am trying to exit this script by cd'ing into a particular directory.
#!/bin/bash
/opt/xxx/xxx/d2h $1
fname=$( /opt/xxx/xxx/d2h $1)
cd /opt/xxx1/xxx1
find . -name '*'$fname'*' -ls
cd /opt/xxx1/xxx1
Upon execution, it returns to my home directory (where I am running this script from.
... (3 Replies)
Discussion started by: BkontheShell718
3 Replies
6. UNIX for Dummies Questions & Answers
Hello guys..
well, im kinda newbie with unix because i started to learn it like 2 weeks ago.
then i started to make some exercises, but i got stucked on this one :
so, i need to know how many different 'names' has the 5th field and how many times each name appears.
i was trying with a... (6 Replies)
Discussion started by: EnioMarques
6 Replies
7. AIX
Good day,
I have an rs/6000 server, model 7044-270. I bought a 2nd hard drive for it but im not sure its the right one. (fru:H13060) As you surely know, the 7044-270 hard drives are put in some sort of tray/carrier. There is a cable that will interface the HDD with the tray/carrier so the... (0 Replies)
Discussion started by: Netghost
0 Replies
8. UNIX for Dummies Questions & Answers
I am curious about one thing.
Lets say I have a file file-a to which new generations are created on demand by simply archiving it (ex: file-a.tar.gz) and having the new one created with the same original filename file-a.
Now what I want to know is if I create a hard/soft link to file-a, what... (1 Reply)
Discussion started by: Browser_ice
1 Replies
9. UNIX for Advanced & Expert Users
I know pipelined processors have issues with interupts.... but why? And does the architecture of the CPU affect the kind of software that can run on it?
If someone could help me out that would be awsome. My boss came to me with this question and I can't find anything on the web helping me out.... (1 Reply)
Discussion started by: Sparticus007
1 Replies
10. UNIX for Advanced & Expert Users
SunOS5.8 is a radical departure from SunOs4.X in many ways. one of the important differences is the handling of devices. Adding devices under SunOS4.x required a kernel reconfiguration, recompliation and reboot. Under SunOS5.X, this has changed with the ability to add some drivers on the fly.... (1 Reply)
Discussion started by: Foo49272
1 Replies