Solved

Unix

Posted on 1998-12-27
5
534 Views
Last Modified: 2013-12-06
what is unix program

0
Comment
Question by:bigfoot_jr
5 Comments
 
LVL 3

Expert Comment

by:elfie
ID: 2008525
Unix is kind of operating system.
each vendor has it's own flavor (hp --> HP-UX, Sun --> Solaris, on PC's --> Linux, and others)

So tt is NOT a program that can be started by a normal user like a spreadsheet.
0
 
LVL 3

Expert Comment

by:arunm
ID: 2008526
A "unix program" can be any program that runs under unix operating system environment.
0
 

Accepted Solution

by:
cloud9999 earned 100 total points
ID: 2008527
a "eunuchs program" might involve the systematic elimination of one's testicles...
a "unix program" might involve the systematic elimination of one's sex life...

does this help?
0
 

Expert Comment

by:rballen
ID: 2008528
I think of UNIX as more of platform, just like your PC and just like an IBM mainframe.  You can pratically have the same program run on all three platforms.  You might have to make minor changes, but if it is generic enough, it will be portbale to all platforms.  As I understand it, you have these platforms: workstations (PCs), midrange UNIX machines  (HP/DG/Sun/Solaris), and mainframes - old technology - IBMs. On the UNIX platform you can have all different types of programs - COBOL, C, etc. as well as interpretive command level languages like k-shell & c-shell & bourne-shell.  These languages are equal to the MS-DOS batch files on the PC.  They are nothing more than command-line commands bundled into a script file.  So I don't know if there is really is such a thing as a UNIX program ?
0
 
LVL 3

Expert Comment

by:elfie
ID: 2008529
about the limitation of g between 0 and 255.

If you want to know how many times you can subtract 128, you can do a shift 7 bits to the right. So you end up with something like

i = ((long)g)>>7;  // 7 last bits equals 128
if (i>5)
  {
  i=5;
  g=255;
  }

PS: i didn't test the code, it just an idea.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question