bsd x 48

1,293 Topics

Member Avatar for
Member Avatar for kumiyare

Hi, Every body. I am writing a PHP thumbnail script, My goal is to upload images to the server and save the original images inside images directory and save the thumbnail to thumb directory which is inside images directory. Now every thing working fine, except the BMP type images, when …

Member Avatar for phpuser
0
417
Member Avatar for Nominal AI

Hi everyone! I am a 19 year sophomore here in Southern Arizona. I plan on majoring in MIS, so right now I'm trying to learn C++, Java, Python, as well as becoming more familar with networks and servers and Unix. I love cars, but oddly enough its not the performance …

0
24
Member Avatar for khess

It isn't quite Perl version 6 but it's well on its way. Between now and Monday, [URL="http://www.activestate.com"]ActiveState[/URL] will release version 5.12 of its cross platform, easily installed ActivePerl. Version 5.12 offers more than simple bug fixes; it's a major release that some developers look toward with great anticipation. The major …

0
341
Member Avatar for mitchelmarsh

I restarted a new 10.4 dev server from the backup partition but it was set to DHCP and now ifconfig tells me that it's on a self assigned IP, as the port it's been moved to has no DHCP. Dumb, I know. Please - can anyone post the exact terminal …

Member Avatar for Salem
0
111
Member Avatar for Famous16

Hi all, I have Unix operating system but I couldn't connect to Internet in Unix. Can anyone explain how can I connect to internet in Unix? waiting for reply. With Regards,

Member Avatar for bsdbum
0
148
Member Avatar for johndoe444

There are so many information dispersed in so many places. And most of them kind of cover the same set of topics like ps, cd, pwd, chmod, chown, etc. But there are so many things to learn. Really need some advice how to muster all the knowledge.

Member Avatar for Aia
0
174
Member Avatar for johndoe444

I was wondering where I can find the complete list of unix/linux utilities which can be found in all standard distributions. There is a list in wikipedia: [url]http://en.wikipedia.org/wiki/List_of_Unix_programs[/url] Is that all?

Member Avatar for Aia
0
77
Member Avatar for tuffenuff

I have file which is having large data in it. and there are some repeated rows. Basic idea here is : Sort data, remove duplicates based on first field and then print the whole.... I have tried teh following but no help.. [CODE]#!/bin/sh if [ $# -ne 1 ] then …

Member Avatar for tuffenuff
0
523
Member Avatar for khess

See SCO keep going. Stop SCO Stop. Seriously Stop SCO Stop. In a seriously OMG moment yesterday, [URL="http://www.sco.com"]SCO[/URL] lost another battle in its UNIX ownership claims. The Utah jury decided that [URL="http://www.novell.com"]Novell[/URL], in fact, did not transfer the UNIX copyrights to SCO when they sold UNIXWare to them years before. …

Member Avatar for jameskatt
0
621
Member Avatar for formulajake88

Hello everyone! I'm a beginner in C programming, and am writing code that is supposed to read in all the data from a formatted file, parse it into useful values, and then manipulate these values. However, I'm stuck on the the parsing part. I'm relying heavily on pointers, which I'm …

Member Avatar for jephthah
0
560
Member Avatar for methopoth

Howdy People :) I'm a newbie & its my first question here. I've started learning Unix Bourne Shell scripting recently and struggling already :p Can someone PLEASE help me with the following problem. Somehow my script is not working. * Display an initial prompt of the form: Welcome to machine …

Member Avatar for cfajohnson
0
151
Member Avatar for bohongtw

hi there i have an assignment about writing Cshell with some features i m not gonna ask plz gimme the codes or smth. but i need some advice how to start writing it, what to do maybe smn can show me ways to do it , thanks for help here …

Member Avatar for Aia
0
187
Member Avatar for Jaulm

I am attempting to execute a unix "df -k" command in java. I have the following example.. My question is how do I parse the results of the command in order to grab the available bytes versus just printing it out???? import java.io.*; public class unixcmd { public static void …

Member Avatar for Ezzaral
0
615
Member Avatar for samiul008

Helloooooo to everyone! Google, the avatar of the internet has agained landed me to a new world. This is Sami. I have started learning networking in 2008 and got some certifications like CCNA, JNCIA, RHCE.......BUT YET I FEEL I KNOW NOTHING!! Actually there is a lot that meets the eye …

Member Avatar for jephthah
0
119
Member Avatar for hurricane123

I have written a scanner program for oberon language compiler but its incomplete,in the botton i need to write certain code to make this program work properly,so can anyone help me to make this program work properly. [code] FILE *input; int row, col; token t; char buff[bufflen]; int tabwidth; int …

Member Avatar for WaltP
-1
612
Member Avatar for Mysticmev

Hi, I am planning to take up IBM Certified Administrator for Rational ClearCase UNIX. Please can you provide or point out where I can get manuals for recommended Prerequisite Skills * SCM271: Essentials of Rational ClearCase for UNIX * SCM370: Essentials of Configuration Management with Rational ClearCase * SCM471: Mastering …

0
132
Member Avatar for claireweb852

I have to start by thanking the membership for all the info I have gleaned from this site even before joining. :) I spent 30 years in IT - analyst, developer, team leader - half on big IBM mainframes (MVS, Cobol, IDMS), later on client-server platform (Unix, Oracle, Sybase, ASP). …

Member Avatar for BestJewSinceJC
0
62
Member Avatar for nmcentire

Hello everyone, Been using daniweb to solve most of my programming problems as a guest, and figured it was time to create an account. The problem I'm having, is that I have an assignment that requires use of the ncurses library. I have a partial program that I have to …

Member Avatar for jonsca
0
156
Member Avatar for thehivetyrant

Hi, i didn't know whether to put this under C or Shell scripting so i chose this one. Well I am doing a piece of shell scripting and have written some code. and basically when i run it no prompt shows up so i cannot type commands like help or …

Member Avatar for Salem
0
130
Member Avatar for vivek01anand

hii, i have tried to install opengl in my fedora 10 but failed i want the code to install opengl please help!!!

0
60
Member Avatar for devs.dr

hi i m working on Student Database Management system, I have used button s for insertion, deletion, and update. Insert and delete button is working but update's click gives syntax error: Pls help as soon as possible: [code] Try Dim com As New OleDbCommand com.Connection = con com.CommandText = "update …

Member Avatar for devs.dr
0
124
Member Avatar for iliali16

Guys I am not a good C programmer. I ahve experience with object oriented paradigms such as Java and C# but I never programmed in C or Pascal. I have done some tutorials in C and I seem to grasp some of the ideas of the language but as I …

Member Avatar for jephthah
0
309
Member Avatar for halluc1nati0n

I was trying out a 2-dimensional integer array on a UNIX box. I hit up a 'Segmentation Fault' on trying to run it. [CODE]#include <iostream> #include <cstdlib> using namespace std; int main() { int matrix[2000][2000]; int i, j; srand ( 1 ); for (i=0; i<2000; i++) { for (j=0; j<2000; …

Member Avatar for halluc1nati0n
0
229
Member Avatar for freakzilla

Hi guys, I have been trying to implement a shared circular queue between 2 processes. My structures are as follows: [code] typedef struct client_entry { long shmid; int pid; struct client_entry *next; struct client_entry *prev; } client_entry_t; typedef struct client_queue { unsigned int num_entries; long current_shmid; int notify; struct client_entry …

Member Avatar for Salem
0
190
Member Avatar for aliase

Hi, I'm having a problem creating two child and manipulating signals. My problem with forking is that when I do: [code=c] int main() { pid = fork(); pid2 = fork(); } [/code] This create more than two forks, so how do i create exactly two forks? And for each child …

Member Avatar for abhimanipal
0
84
Member Avatar for Member #394445

Hi there! somebody know about *NIX for Sam.GT-S5230??? I've one and the O.S. is just ugly (like my righting :) If you know about some BSD/Linux/Minix/*NIX for that mobile, please give me a clue about how to get it to work. Thanx!!!! greetings from Argentina! :)

0
34
Member Avatar for manolisvl46

Hallo there i wan to make my ldap connect with the client pc's over ssl (like this one) [URL="http://www.openldap.org/pub/ksoper/OpenLDAP_TLS.html#4.0"]http://www.openldap.org/pub/ksoper/OpenLDAP_TLS.html#4.0[/URL] or this one [URL="http://www.madboa.com/geek/openssl/#cert-self"]http://www.madboa.com/geek/openssl/#cert-self[/URL] i have already made a self signed key and all the steps i found through the internet... but when i try to do one of the last …

Member Avatar for manolisvl46
0
198
Member Avatar for COKEDUDE

How do you get your recent vi command history to show up? I keep randomly getting like my previous 5 commands and can't figure out how I'm doing it. I think it has something to do with the shift key and another button. I know you can use the up …

Member Avatar for COKEDUDE
0
675
Member Avatar for Sobakaa

Hello everybody! I've wrote a very simple echo server, based on a book about LInux socket programming example and it works just fine. My only problem is that i want to use select() function to handle several connections at one time. I've read lots of reference concerning that function and …

Member Avatar for Sobakaa
0
263
Member Avatar for jen140

Hello all. I was trying to do some text recovery ([url]http://www.cyberciti.biz/tips/linuxunix-recover-deleted-files.html[/url]) but after running grep -b 'TEXT' /dev/ad0 > good.txt i only see "Binary file /dev/ad0 matches" in the good.txt, whats wrong here ? =) Thanks in advance.

0
126
Member Avatar for pravatkumar

Dear All, I am using solaris server and RHEL5 server . Please anyone send me a shell script to monitor the server cup and memory utilazation And export that data to a csv file. Regards, pravat

Member Avatar for thekashyap
0
131
Member Avatar for COKEDUDE

I have a weird Buffer Clearing Error in this code. This is the line that is causing the error. [CODE] if(a<=0) [/CODE] After you compile the code and run the code put in a group of letters like abc when the programs asks you to put in an integer. The …

Member Avatar for Dave Sinkula
0
157
Member Avatar for paddy8788

Hi! I am trying to figure a way to measure a process' system time. The Unix's time command seems in effective because it only displays the result in seconds but my program is small so second is inappropriate. I also tried to use gprof. However gprof uses atexit() to trace …

Member Avatar for paddy8788
0
159
Member Avatar for techie929

Hi, Could anyone please tell me how can i input data either from a file or stdin. If the file name is not specified the data can be read from the UNIX command prompt using stdin. I know stdin is a file pointer but how to use it please explain??

Member Avatar for Duoas
0
631
Member Avatar for tekneck

I am trying to call a php script from a crontab sh script... I can get it to work if I hardcode each file, but I want to pass a variable to a single php file either from hardcoded calls in the sh script, or even better, by looping through …

Member Avatar for kireol
0
223
Member Avatar for newsguy

Bjorn Olstad, a Microsoft Distinguished Engineer and the CTO of FAST, has revealed that beyond 2010 there will be no more Microsoft FAST enterprise search products which support Linux and UNIX search cores. In an official Microsoft Enterprise Search Blog posting, [URL="http://blogs.msdn.com/enterprisesearch/archive/2010/02/04/innovation-on-linux-and-unix.aspx"]Olstad states[/URL] that although when Microsoft acquired FAST two …

Member Avatar for Lucene Lover
0
464
Member Avatar for vijaysoft1

Hi friends , i have a plan to port a open source Linux application into Windows as part of my M. C. A Project. Can u tell me , is it possible to port Linux applications into windows , if yes then which Compiler or IDE i have to use …

Member Avatar for Ancient Dragon
0
98
Member Avatar for ainct

Hi, I want to execute unix commands(pdftops and ps2pdf) in windows system using java environment. but m getting error.plz help me. here is my code:[CODE] public static Process p1; public static Runtime rt; rt = Runtime.getRuntime(); ////linux commands filename=args[0].replace(".pdf","temp.pdf"); String pdftopsCmd ="pdftops "+args[0]+" temp.ps"; String pstopdfCmd="ps2pdf temp.ps " +filename; p1 …

Member Avatar for ainct
0
173
Member Avatar for halluc1nati0n

Tried this on my UNIX box.. Why aren't the array contents being stored/displayed ?? [CODE]#include <iostream> #include <fstream> #include <unistd.h> #include <sys/signal.h> using namespace std; int main(int argc, char *argv[]) { int pid; pid_t pid_chk; int pid_array[2]; int count[25], length, i, j; for (i=0; i<3; i++) { pid_array[i] = 0; …

Member Avatar for vmanes
0
174
Member Avatar for james chaco

Hi guys i want to make a project in which i am planning to create a fully functional shell. But i don't know how and where to start from. Please anybody reply if you have any knowledge regarding this. Any website ,any starter information will be greatly informatively for us.

Member Avatar for sknake
0
87
Member Avatar for sumanpc

hello to all my frnz... Actually i need 2 generate a program to find out how many processors are running at the n machines by devoloping a client server model using a unix enviroment!! i wud b really grateful if someone gives the c code for it!!! thank u:)

Member Avatar for Salem
-1
26
Member Avatar for hellcrow

I am not familiar with Linux/ Unix and I encountered a corruption. How do I repair this? Warning: mysql_num_rows():supplied argument is not a valid MySQL result resource in usr/local/apache2/htdocs/vicidial/AST_timeonVDADall.php

Member Avatar for nancy86
0
241
Member Avatar for khess

I love mythology and there's nothing like hearing a technology myth to make my day complete. Just today someone applied one of the following myths in a conversation with me. I didn't say anything but it gave me the idea for this post. Here are the five myths related to …

Member Avatar for ripratm
0
2K
Member Avatar for swolll

Until now, I've coded in Notepad++ and compiled/tested in my university Unix account. This is getting tedious and inefficient, though. So, what can I do about it? Notepad++ doesn't have a compiler or debugger. I was thinking about using Eclipse. Would that be a good, free option? Does it have …

Member Avatar for Salem
0
336
Member Avatar for lonestar23

I have file 123.php which produces dynamic information upon excecution and need 123.php to copy it's output to file "abc.txt" How would I go about this in a unix environment? Thanks in Advance!

Member Avatar for lonestar23
0
184
Member Avatar for jananis

Hi all can anyone please help me write a shell script for file transfer from windows to unix server and vice versa. i m new to unix shell scripting so kindly bare with the small mistakes tht i mite have made the code is: [CODE]#!/bin/sh filename="sample.txt" user='user' password='passwd' IP='some ip' …

Member Avatar for jananis
0
378
Member Avatar for Gonbe

Hello Daniweb, I'm trying to create a very simple shell for practicing purposes, but i'm a little bit puzzeled about the usage of execve, the function i use to execute a file. The code fragment underneath shows my usage: [CODE="C"] childPID = vfork(); if (childPID == 0) { execve(input.process, input.parameters, …

Member Avatar for gerard4143
0
307
Member Avatar for Stefano Mtangoo

What is free solution available. I need to do two things: 1. Connect at machine in same office. I cannot use RDP as it is KDE Mandriva machine. 2. Connect fro home to that machine without VPN i.e over internet Thanks

Member Avatar for necrolin
0
142
Member Avatar for bonzi200x

I'm implementing a TCP protocol. TCP implementation requires to send packets continuously and if the receiver doesnt respond after a particular interval of time it should resend the packet again. I need some method to implement a timer expiry function. How can I implement it?? Should i implement threads (If …

Member Avatar for bonzi200x
0
86
Member Avatar for prankyrules

Hey guys, I have a already written package in python2.5.1 for windows,it includes wxpython biopython1.44 modules and now i want to transfer it to unix server,is there any way i can do that or i have to write that functions again...\ Thanks in advance Prankyrules

Member Avatar for jlm699
0
141

The End.