Solved

Unix

Posted on 1998-12-27
5
528 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

706 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now