Solved

Unix

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

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…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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…
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…

695 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