unix

"unable to load dynamic library" Errors when running PHP from command line

When I try to run my script I at first I put the shebang in the script at the top and then tried this: php -f /home/phil/www/disable_script.php But I'm immediately greeted by this: PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/zlib.so' - /usr/lib/php4/zlib.so: cannot open shared object file: No such file or d...

How can you check if a window is minimized via the terminal in linux

How can you check if a window is minimized via the terminal in linux? ...

How to implement a PPPoe server ?

I want to develop one PPPoe-like server, so I can create a virtual connecting among server and client. Is there any opensource project for reference ? Thanks ...

What does EAGAIN mean?

As in the title what does EAGAIN mean? ...

How do I use two pipes in Unix C?

I have a homework to do that says the following: Write a program in C that creates a child who will also create a child, make a pipe between the three processes, the fist process(father) will connect the second(child) and the child will connect with the third (child of the child). Our program should display the total number of system u...

C assignment of int

Hi, When you see code like this in C, what's the order of assignment? int i = 0, var1, var2; I don't understand the syntax... ...

How can I use two pipes in c;

Write a program in C that creates a child and between father and child, there will be two-way communication using pipes. His father would read a file (whose name will give the user) and will send letters to the child. The child will count the number of words starting from 'a' if the number is, whether X is greater than 5, then the child ...

Problem with awk and grep

I am using the following script to get the running process to print the id, command.. if [ "`uname`" = "SunOS" ] then awk_c="nawk" ps_d="/usr/ucb/" time_parameter=7 else awk_c="awk" ps_d="" time_parameter=5 fi main_class=RiskEngine connection_string=db.regression AWK_CMD='BEGIN{printf "%-15s %-6s ...

Using UNIX, how to display a count of the processes on my system?

Hi, Can any one please tell me how can I display a count of the processes on my system in a form like count process_name ...

In Unix, user having the highest UID ?

Hi, Can some one please tell me how can I find the following. List from /etc/passwd the UID and the user having the highest UID. ...