Solved

Unix

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

0
Comment
Question by:bigfoot_jr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

756 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