Hello, my name is John McPherson. I work as a contractor for the DOL, and I am trying convert some code I maintain in an application to send output files to a printer. Right now, the code( a bash script) just slowly prints the output file on the screen, and the customer wants to have it sent to the printer instead. I work on a 64-bit Oracle( Sun) system with Solaris 11 as the Operating System. I have tried the command lpr -h -l $showfl in the bash script, but that just errors off without printing. I kept searching online …

Member Avatar
Member Avatar
+0 forum 6

Hi all, I was asked to write a shell program in c in unix....basically what i would like to include are the use of dup2 to implement redirection ( < or >) and the use of dup2() and the pipe() system call to implement the '|' symbol on the command line...and so below is the code...basically it works for those command like ls -l | grep test , ls -l > file but it doesn't work when i enter ls -l | grep test > file2 as the output of ls -l | grep test doesn't written into file2... i …

Member Avatar
+0 forum 0

Hello, I am fairly new to this site and am new at studying unix/linux OS. Recently I had an assignment involving finding a script that had run an administrative task such as checking file systems periodically. With it, I had to take each line and describe in my own terms what each line was doing. I am actually stumped at the moment and could use any guidance or reference in any direction as to how to proceed and successfully finish in defining each line of script. For example, I know that the line outputing - `PN=basename "$0"` is stating that …

Member Avatar
+0 forum 0

What the hell is up with [URL="http://www.oracle.com"]Oracle[/URL] lately? First, they stopped giving away the Solaris operating system and now they have some big announcement planned for next week at the [URL="http://en.oreilly.com/mysql2010"]MySQL Conference[/URL]. Should we hide our wallets before we listen? To me, Oracle has morphed into [URL="http://www.microsoft.com"]Microsoft[/URL] II with all of its acquisitions and now its hold on those of us who use Solaris and [URL="http://www.mysql.com"]MySQL[/URL]. I don't know how loyal I'll continue to be to MySQL, if Oracle does something crazy with it. Yes, they bought it. Yes, it's theirs. But, don't they have some sort of responsibility to …

Member Avatar
Member Avatar
-1 forum 2

i try to complile fcgiwrap from [url]http://nginx.localdomain.pl/wiki/FcgiWrap[/url] on solaris 10 platform however i got this error msg [CODE]# make gcc -std=gnu99 -Wall -Wextra -Werror -pedantic -O2 -g3 fcgiwrap.c -o fcgiwrap -lfcgi ld: fatal: library -lfcgi: not found ld: fatal: File processing errors. No output written to fcgiwrap collect2: ld returned 1 exit status make: *** [fcgiwrap] Error 1[/CODE] any idea how to fix it? thanks.

Member Avatar
Member Avatar
+0 forum 1

Hi, Can anyone explain me, what is file system in solaris all about? Regards, Prashant

Member Avatar
Member Avatar
+0 forum 1

Everyone from techie bloggers to technical journalists to stay-at-home moms are talking about today's big news: [URL="http://www.ibm.com"]IBM[/URL] is trying to buy [URL="http://www.sun.com"]Sun Microsystems[/URL]. Big deal. What's in it for Linux? As a matter of fact, it is a big deal. And an even bigger deal for Linux. Sun owns MySQL, Java, Glassfish, VirtualBox and the Solaris Operating System. It also has its own proprietary hardware known as Sparc but is it a good buy for IBM? On the 'no' side of things, Sun is sinking in the West with no foreseeable chance of rising again in the East. Solaris and …

Member Avatar
Member Avatar
+0 forum 5

Welcome back to Crystal Ball Sunday. This week in the Crystal Ball are my predictions for OpenSolaris vs. Linux. The release of OpenSolaris on May 5th has caused quite a stir. Many say that it will replace Linux on the Desktop and in the Data Center. My first prediction is that there will be sizable battle waged between the two in the Press and in IT labs alike. I foresee a lot of debate going back and forth about the two operating systems, their pros, their cons, and the stalwarts in both camps. This is going to be somewhat of …

Member Avatar
Member Avatar
+0 forum 3

Yesterday Sun Microsystems officially released OpenSolaris and suggested that it's going to go head-to-head with Linux as a Desktop Operating System. Solarisx86 is nothing new and has been around about as long as Linux but it is historically proprietary and closed source. It was also very hardware-finicky and performance was slothlike. OpenSolaris is a new way of thinking for Sun who've just purchased MySQL and VirtualBox--two of my favorite pieces of software--being sucked-up by perhaps my least favorite tech company next to Microsoft. Although Sun, unlike Microsoft, sees the writing on the wall for traditional operating systems like Solaris. I …

Member Avatar
Member Avatar
+0 forum 6

Hot on the heels of JavaFX, taking on the likes of Microsoft Silverlight and Adobe Flash, Sun looks set to formally unveil its plans for Project Indiana this week and attack the Linux developer heartlands. Solaris has long been known as the really secure Unix variant that sucks when it comes to user friendliness. Linux itself has long since got over the problems of difficult installation routines, you only have to look in the direction of Ubuntu on the desktop for proof of that. Sun has been unable, or perhaps unwilling, to address the user experience issue up until now. …

Member Avatar
Member Avatar
+0 forum 1

The End.