bsd x 48

1,293 Topics

Member Avatar for
Member Avatar for Duoas

First off, C does not know anything about the I/O device you are using. It can be a keyboard and monitor, or a file, or a network connection, or anything which can do I/O. What that means is that there is no standard way to do this in C. That …

Member Avatar for dangana
0
271
Member Avatar for thekashyap

Hi *, Here is a small program I had created to search for a given .class file within given CLASSPATH. It is primarily used in our project on test machines where lotsa ppl put lotsa patches in lotsa paths/jars and finally end up wondering which class file is being used. …

0
227
Member Avatar for kharri5

This is a little code for a shell that allows for simple redirection and multiple yes! MULTIPLE piping abilities. It is slightly glitched for background processes, and this is only my second program written with C/C++ so it looks to be quite inefficient, but the piping works pretty nicely. The …

Member Avatar for ZeRo 00
0
249
Member Avatar for roverphoenix

Regular expression pattern match in a string, I only checked with * as wild card, other wild card characters are easy implement but I havent done that. any problems you can email me @ [email][email protected][/email] platform - Unix/Linux, havent tested in windows, should'nt be a problem unless some standard header …

Member Avatar for ~s.o.s~
0
185
Member Avatar for anurag_pareek

This Program gives the UserDetails of the logged in User. a) The RealName b) Login Name ( Why do we need this?) c) Home Directory d) Default Login Shell Additional Purpose of this code would be to invoke/ learn at man getpwuid and about struct passswd

Member Avatar for bumsfeld
0
1K
Member Avatar for TkTkorrovi

Similar to cat in unix textutils. You can actually edit files with these. Remember that ctrl-z sends end-of-file in windows, and ctrl-d in linux.

Member Avatar for Dani
0
136
Member Avatar for Ctpwwner

I am attempting to familiarize myself with BASH so i can work in a Unix environment. I want to export a shell variable to a simple C program but seem to be unable to do so. Here is the C program: (i am also very unfamiliar with C but this …

Member Avatar for Ctpwwner
-1
108
Member Avatar for bzptqj

Hi, I am new to Unix and SFTP. My requirement is to transfer files to host server using SFTP command. I know that ther is nothing wrong with my script as I used it before successfully. Yesterday when I tried to run the same script I get the error "Couldn't …

Member Avatar for tkhanna
0
733
Member Avatar for mameth

Hi, I'm looking for a plotting library for c that works under windows and unix. And the library must contain only one file(which is the header), so i can move it with my source code. It is required for a chem engineering project for school, i need to plot the …

Member Avatar for mameth
0
138
Member Avatar for Nathan Campos

Hello, I'm beginning in the OS development(In Assembly, Nasm as Assembler) and i need to implement a command-line on it, but i don't know how to do this, but what i want to say as command-line is like MS-DOS or UNIX: [CODE]> ver BerlOS v.0.0.1 > _[/CODE] But i don't …

Member Avatar for Nathan Campos
0
234
Member Avatar for chewedpup

I'm using XP and Front Page 2002: I probably edited my website a month ago - no problem. Today I'm trying, I go to where I normally open up my website and I get this error message: "The server could not complete your request. Contact your ISP or web server …

0
101
Member Avatar for k2k

hi, i just got myself a mac book and don't know much about its unix. first of all, i would really like to know if there is a repository like redhat so i can do "yum" to search and install the repository packages. when i do "uname" it is Darwins …

Member Avatar for syahrizal
0
156
Member Avatar for guyod

Thanks in advance for any one who helps me. Code is in C using unix system calls. I am writing a code that forks a process and that forked process gets worked on by a function, in my case its called processone. I had a similar program, in which i …

Member Avatar for Salem
0
127
Member Avatar for MentallyIll5150

Hi all, I'm writing this piece of code out in unix. What I want to do is pass an integer argument through the command line and then manipulate it from there. I've done char strings before but cannot seem to get it to work with int's. Once I have this …

Member Avatar for MentallyIll5150
0
109
Member Avatar for abhishek4563

I am writing a code in c++ unix environment using gmp for impelementing quadratic sieve I have many global variables i.e the number to be factorised and some arrays, sievelength,factorbase siz etc. During the first part of the program, the program simply calculates the factor base implemented through a fucntion …

Member Avatar for abhishek4563
0
88
Member Avatar for venkitce

Hi all, Iam new to unix. I want to know the series of events that takes place when creating a directory. I mean If I type a command like [CODE] mkdir mydir [/CODE] what is the exact thing that takes place within the *nix operating system?

Member Avatar for sknake
0
154
Member Avatar for pixiewolfe

Hello, I would like to download a compiler that works with max os x MacBook Pro that when doing my Unix homework I can compile and then know it works before I go to the University's website to log in and run the program. Or do I have to use …

Member Avatar for sknake
0
42
Member Avatar for pixiewolfe

Hello everyone! My name is Sonya and my user name is "pixie" because I have short spiky hair and "wolfe" because my husky loves to howl. I am brand new to the field and 6 classes away from getting my computer information systems degree. BUT right now I am struggling …

0
16
Member Avatar for jen140

Hello all. I have a small app that only runs on FreeBSD, and have a host where i dont have root. That app requires many libraries, most of them i have, but the problem , that app doesnt look for libs at current folder. I tryied running the app on …

Member Avatar for jen140
0
163
Member Avatar for awk

Hi All, I'm pretty sure this can be done with Squid but I'm not certain. I have two servers and I basically want to make it work like this: client -> server1 -> server2 I want the client to only see server1 and everything get passed through that. Does anyone …

Member Avatar for tracedinesh
0
77
Member Avatar for samaru

This book is excellent: [b]Sams Teach Yourself Shell Programming in 24 Hours (2nd Edition)[/b] [url]http://www.amazon.com/exec/obidos/ASIN/0672323583/qid=1034404576/sr=2-3/ref=sr_2_3/102-8089820-6681729[/url] It received good reviews. Here's my personal review from Amazon.com: This is probably one of the best books by Sams that I've read. If you want to start shell programming, you've picked up the perfect …

Member Avatar for jenn11
-1
513
Member Avatar for kuaimun

Recently I've encountered an error which I'm not sure how it's supposed to be done given my very basic knowledge of Solaris. After building and running the project, this are the message which appear on my output... init: deps-jar: Compiling 1 source file to C:\Documents and Settings\Administrator\SimpleRead\build\classes compile: run: Caught …

Member Avatar for Nathan Campos
0
97
Member Avatar for bluem1

Ok, so this may be an odd question but I am just not sure about this. I have a customer who has multiple sites with the same content on some pages. We are trying to figure out if there is a way using some type of include file if we …

Member Avatar for bluem1
0
96
Member Avatar for Member #588001

Hi! Larry Irwin here... I've been writing medical practice management and medical records software since 1984. - Altos Xenix, IRIS, SCO Xenix, SCO Unix, SCO OS5, AIX, Caldera, RedHat and Debian... (lots of Windows along the way as well... but it breaks more when updates are applied... so I try …

0
57
Member Avatar for karpaklu

hai dani, pls anyone help me how to add data into filename actually i tried like this: $str|cat >> EmpFile for the above statement im not able to do coz even $str is also considere as command. how to insert the value?

Member Avatar for sknake
0
80
Member Avatar for guyod

Hello, I am learning C, POSIX, and Unix. I am trying to write a code that wait until the child process is done then terminate, however, I do not know what to put in the while loop. [CODE] Parent function: signal(SIGCHLD, handler) while(child process is running) print the number of …

Member Avatar for guyod
0
179
Member Avatar for tarakant_sethy

Hi Guys, is there any other way to use shared library in unix and linux platform apart from dlopen() and dlsym(). Thanks.

Member Avatar for tarakant_sethy
0
101
Member Avatar for GDICommander

Hello everyone! I'm having a bad time trying to find a solution to my problem: I'm developping a client-server application. On the server side, I am calling a method, Recoit (receive), that calls internally msgrcv(), a UNIX system call for message-passing purposes. The problem is that I always receive a …

0
94
Member Avatar for gplkrsna

Hi friends, My GNU Screen(process) is struck at write() system call. I tried to attach strace to the process. here is the output. *************************************** $ /usr/bin/strace -ivx -p 5477 (screen pid) Process 5477 attached - interrupt to quit [008fb7a2] write(4, "\x0d\x1b\x5b\x33\x39\x42\x1b\x5b\x37\x6d\x53\x77\x69\x74"..., 4020 <unfinished ...> Process 5477 detached *************************************** Can somebody …

0
156
Member Avatar for mandible

Hello I was wondering if there is a way to read a unix profile'd variable while inside my PERL code? I'm trying to do something like this. system( " execute some code >> $UNIXVAR\log"); also tried system( " execute some code >> '$UNIXVAR\log'"); I think though that the way I'm …

Member Avatar for subii P
0
154
Member Avatar for subii P

Hello, I am facing the a probelm, I wanted to read a unix PATH variable into perl script. But its not working. $path_var=`$PATH`; Can u help me in doing this. Thanks in advance, Subii

Member Avatar for masijade
0
132
Member Avatar for kalodakilla

Hello, i'm a newbie to Linus so there are many commands that keep me questioning. My task is to write a program that will execute a list of commands from a text file. Everything go smooth except for the command execve, its prototype is something like [iCODE]int execve ( char …

Member Avatar for kalodakilla
0
351
Member Avatar for umairraja52

Which one is the web editor to create websites in Unix/Linus? In window we know Front page whats there.

Member Avatar for ThinkFree
0
192
Member Avatar for giemman

I have two problems: [LIST=1] [*]the download from mysql tables on unix system render some incorrect characters on imported tables on windows system [*]html generated by my php application reading that data appears incorrect - in some special character - . But, if I refrech my page, then the incorretness …

0
61
Member Avatar for itsrahulk

Hi, I am trying to do url rewriting on linux server through .htaccess file in my root directory. the content of my .htaccess are [code]RewriteEngine on RewriteRule ^test.cleanurl(\/.*)*$ /test.cleanurl.php RewriteRule ^news(\/.*)*$ /news.php[/code] this is the news.php file [code=php]<?php require("class.cleanurl.php"); $clean = new CleanURL; $clean->parseURL(); $clean->setRelative('relativeslash'); //relativeslash is variable name $clean->setParts('id','page'); …

Member Avatar for Utte
0
178
Member Avatar for himanshukec

Hi, I upgraded Perl 5.8 in Unix to Perl 5.10.0 I am using WWW::Mechanize package in my scripting. But I am not able to locate WWW::Mechanize in Perl. Can any help me ???

Member Avatar for Prakash_8111
0
94
Member Avatar for DeanoJ

I need a firm answer on what OS, Linux, Unix, ect.. and software development code which will actually work in 64bit, mainly using the unlimited addressing capabilities. Now there are a LOT of claims out there and I've tried a few languages, although higher level, but ultimately run shot. My …

Member Avatar for Hiroshe
0
154
Member Avatar for xyzt

Hello, I have lots of xml files in the same format and I need to modify a xml tag in these files. i loop over the files and apply sed to the files to make the modification but CPU goes to %100 while doing this. I think I'm doing something …

Member Avatar for fpmurphy
0
458
Member Avatar for lancevo3

I have been working on this program for my class and I have everything working fine it seems up until I get my New Balance output. What I get for the output is below. Date Account Type Amount New Balance 06/19 9858-5420-3025-7452 P 5500.00 -2694.35 06/19 1111-1111-1111-1111 C 430.00 -2264.35 …

Member Avatar for lancevo3
0
168
Member Avatar for jindalarpan

Hi all i have just installed Nagious on gentoo using emerge command. but i want to configure that so that i can monitor different services. as i am new to nagios so can any one help me by providing me information how to configure it. thanks

Member Avatar for Member #97197
0
203
Member Avatar for ViLeNT

Can someone help me accomplish the following on my unix box? Can someone walk me through step by step for each task? I'm connecting to a machine using UBUNTU with SSH with admin priviledges. 1. Create an account for myself as administrator 2) create one additional regular user account which …

Member Avatar for bgeisel1
0
166
Member Avatar for grvs

Hi I am new to unix and want to learn shell scripting. Right now I am use cygwin for windows but sooner I will switch to ubantu. So when I wrote my first script (just copied from the book I was reading), I came to know I have to give …

Member Avatar for grvs
0
2K
Member Avatar for kaleidoscope

Hey, I wanted to create a Body Mass Index calculator. I've already created a seperate HTML file with a form where you have to type in your weight and height. So far so good, now I want to 'transfer' the data to my cgi script (unix shell script) as soon …

Member Avatar for msvinaykumar
0
1K
Member Avatar for Codesearcher

Hi All, I am a newbie to UNIX shell scripting. Kindly help me in below requirement i actually FTP a compressed file from UNIX to Windows server, while uncompressing the transfered file it actually contains a box character [] instead of a new line but i need it as a …

Member Avatar for msvinaykumar
0
174
Member Avatar for grvs

Hi I want to learn UNIX and UNIX shell scripting. But right now I can just read the tutorials as I don't have UNIX/LINUX at my computer. Is there any way by which I can try and test my UNIX commands and scripts over internet. What I mean to say …

Member Avatar for grvs
0
282
Member Avatar for ViLeNT

Hello, I am fairly new to scripting, I am interesting in writing a shell script which acts as a DOS command. I want to be able to utilize dos commands such as cd, dir, type, del, ren, and copy to do the same functions as the UNIX commands, cd, ls, …

Member Avatar for sknake
0
167
Member Avatar for quibbie

I uploaded all my files through Cpanel to my public_html root folder and set my permissions but my page is still not displaying when I type in the URL. I have another domain name and this is an add on domain. I have MySQL version 5.0.77-community with a separate database …

Member Avatar for kvprajapati
0
146
Member Avatar for kaluxx

hello we use the class io.*; in our college we use in a unix platform which is import io*.; i am trying to code a code so taht i can get a string input i tried ConsoleInput.readString, and also ConsoleInput.readLine() but still i get an error it says that readString …

Member Avatar for masijade
0
121
Member Avatar for pranjalkumar

Heya, I want to install TuxPaint on OpenSolaris. I tried to install it by source, but it got stuck on the 'make' command. Can anyone please give the step-by-step process of doing that? I am using the latest version of OpenSolaris.

Member Avatar for pranjalkumar
0
115
Member Avatar for koolhq

I wasn't really sure where to post this one. My client got web hosting from Networksolutions.com. He hired me as a web designer, but his hosting plan was Windows, with ASP. That's it ASP and MsSQL. I have no clue how to use ASP and I hate Windows hosting. He …

Member Avatar for almostbob
0
118

The End.