?
Solved

Unix

Posted on 1998-12-27
5
Medium Priority
?
540 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 200 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.
Suggested Courses
Course of the Month8 days, 21 hours left to enroll

764 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