bsd x 48

1,293 Topics

Member Avatar for
Member Avatar for reuifdjk

Hi all, I am currently doing an application using MS Access 97 as front-end GUI, connecting to a back-end Oracle server. The Oracle server version is 9.x. Now I wanna use integrated security so that I won't need to enter the username/password every time I start my application. The problem …

Member Avatar for reuifdjk
0
471
Member Avatar for julichrist

hi, i'm newbie in python. i want to connect to MS SQL SERVER 7 on windows server, from Linux Slackware using python. I have install unixODBC 2.2.12 and FreeTds 0.64.. everything works fine include the tsql. but i don't know how to configure the odbc in odbc.ini and freetds.ini... need …

Member Avatar for julichrist
0
108
Member Avatar for Imti

To implement a very primitive shell (a Toy Shell) that knows how to launch new programs in the foreground and the background. It should also recognize a few internal commands. More specifically, it should support the following features. It should recognize two internal commands: exit and cd. exit should use …

Member Avatar for eggi
0
98
Member Avatar for chicago1985

I need to do an SSI include in my PHP web page located on a Unix web server, but cant seem to get it to work. [code] <!--#include virtual="http://anotherServer/thepage.asp" -->[/code] Please advise.

Member Avatar for somedude3488
0
100
Member Avatar for nelledawg

Hi guys, ok so I'm trying to figure this thing with functions out and I've been sitting here for seriously 6 hours with half of it done. I am so confused, please help! The program is to track the amount and price of raffle tickets sold, and then add to …

Member Avatar for nelledawg
0
315
Member Avatar for zoid777

Hello friends, I ran the following code on freebsd 5.5 /usr/sbin/named -u bind -g bind -c /etc/namedb/named-lan.conf /usr/sbin/named -u bind -g bind -c /etc/namedb/named-internet.conf I want to run two instances of bind to see my website both on the lan and the internet but here is the problem, I says …

Member Avatar for zoid777
0
186
Member Avatar for Imti
Member Avatar for iching808

This is a bit of a cross over topic question, so I apologise up front. First, I have a Linksys WRT54g that I want to flash with some open source firmware I think it's called whiterussian, and then install a soft firmware update using the controlAP software for use in …

0
50
Member Avatar for joshmo

can anyone help me with my code. i am trying to make the exec read input from the keyboard but i have no idea how to start. the code works if the path and the file names are already there..here is what i have done so far with the child …

Member Avatar for joshmo
0
134
Member Avatar for williebens

Hello guys: I am trying to ssh from box1 to box2. The user is user1 and IPbox2 is the IP of box2 (not the real thing though, but you get the idea). This is the command I am using from the command line: box1#ssh -l user1 IPbox2 user1@IPbox2's password: After …

0
75
Member Avatar for Impact4ever

Hi guys, I have a friend at school and she's taken Unix 2. She gave me a copy of her work assignment so that I could improve my scripting skills (Still a begginner at python and programming). This is the assignment: Write a script that will prompt the user to …

Member Avatar for Impact4ever
0
102
Member Avatar for linux

[code]alex@alex-laptop:~$ whoami alex alex@alex-laptop:~$ who alex tty7 2008-02-20 18:40 (:0) alex pts/0 2008-02-21 09:10 (:0.0) alex@alex-laptop:~$ [/code] What does the second command mean? I'm logged in twice as alex? And also, what does tty7 and pts/0 mean? And also, after the date and time, the (:0) and (:0.0). What do …

Member Avatar for linux
0
89
Member Avatar for chris5126

hi guys, Im in the process of writing a unix mointoring program that will monitor differenet servers all runnning solaris . I am creating a main screen with summary warnings for high cpu usage, low disk space, meta device faults, high network collisions etc. All has gone well but now …

Member Avatar for eggi
0
176
Member Avatar for abhey_1998

Hi, I am in need of writing a shell script to read, database table and email the results to a list of users. Please let me know if I could provide further info. Please assist. Thanks, -Abhey

Member Avatar for abhey_1998
0
140
Member Avatar for JRM

hello all, I have an old database that was written for xenix 386 using the old a.out binary format. Since then most unix/linux OS s have adopted the ELF format. These binaries will not run on a modern OS. I don't have the source code, just the binaries. Is there …

Member Avatar for vijayan121
0
175
Member Avatar for geofoxer

Hello all, I am wanting to implement a program on some Servers that will send emails and txt messages automatically when there is a problem or error that occers on a Server. I am only looking for names of programs that anybody can suggest that I can use under a …

Member Avatar for techniner
0
71
Member Avatar for larryperl

Here is part of my code- [Code] extrafiles1=$(ls mt.*.*.*.*) if [[ $(ls -l $file 2>/dev/null) = *$today* ]]; then if [[ $file -eq $extrafiles1 ]];then rm $file fi fi [/code] when i am running the script it's showing an error-- mtclean[239]: ./mt.log.8882.-5.1202989443474: bad number. when i just ran this command …

Member Avatar for DimaYasny
0
153
Member Avatar for chris5126

hi guys, i have a question probably a very simple one. Right im using solaris 10 on a sun fire v120 (server) i want to know how to caculate the free memory on the system without using monitoring tools!!! basically if i do sar -r on a system with 2gb …

0
42
Member Avatar for acuddyre@sas.up

Hi, I have recently uploaded a very basic site and have had it working for about 2 months. Then last night I went to update the index page and when I reloaded everything in Dreamweaver, I received this message after trying the find the site online: You don't have permission …

Member Avatar for be80be
0
140
Member Avatar for forumdude123

Beside windows, mac, and free BSD, what are other free alternative operating systems that are available?

Member Avatar for mjdodd
0
433
Member Avatar for alex05

I have to write a script called trying. The script takes a full path (like /users4/st/jdoe/prog.c) as an argument and displays the path and the file name. For /users4/st/jdoe/prog.c, the path is /users4/st/jdoe and the file name is prog.c. I know that I can use grep for it, but it's …

Member Avatar for msr_viz
0
265
Member Avatar for carobee

hi, i am runnning a php script where i try to decompress a file and the untar it. the file in suppose x.tar.gz. so in my php script i call system command system("gunzip /home/trial/x.tar.gz"); now to untar i use system("tar xvf /home/trial/x.tar"); now the error creeps in. i am able …

Member Avatar for DimaYasny
0
48K
Member Avatar for Duoas

Hi all. I know this is an odd question, but I'm hoping someone else out there knows how to do this. I've just installed Kubuntu 7.10 (which I like), but Debian seems to have messed around with the startup a bit... I've replaced my /etc/console-setup/boottime.kmap.gz file with one that changes …

Member Avatar for Duoas
0
303
Member Avatar for kxh29

Hello All! I am running AIX4.3 UNIX OS. I am developing using the C-Programming Language. I have inherited code which creates a dialog box. [code] dialog(box_height, box_width, position_x, position_y, "message")[/code] The requirement [B][I]now[/I][/B], is to place a list of say numbers in the box and grow it dynamically. Problem is, …

Member Avatar for Ancient Dragon
0
158
Member Avatar for Marlow

i use php for web dev and i need to create cron jobs in cpanel but it seems i need to have a knowledge of linux/unix. is there a way out? or a friendly solution? help, anyone. Thenks.

Member Avatar for HazardTW
0
134
Member Avatar for G00SE9

Is there any interest in the FreeBSD/Gentoo project ? Gentoo was always my distro of choice, and I later found OpenBSD. Now I've found found this combo that's great (I'll go with FreeBSD instead of OpenBSD) if I can just get an install going. 'Just "testing the waters"............

Member Avatar for jbennet
0
190
Member Avatar for linux

A purple theme for UNIX/Linux. I don't think it's Ubuntu, but is it available for it? It's a UNIX theme I think. I can't find a screenshot, but I saw one earlier today. Aah. I really wish I could find a screenshot to post here. But does ANYONE know what …

Member Avatar for jbennet
0
201
Member Avatar for Impact4ever

Hey, guys! having a little problem in python, how can I square root number or a varible in python? And I'm trying incoparate the os function of unix, like using the clear command. How could I do that in python Thanks for your help

Member Avatar for Impact4ever
0
120
Member Avatar for linux

I just installed Fluxbox and started it. Now what? Nothing works. Right click, etc. I don't have any menus. What do I do?

Member Avatar for linux
0
178
Member Avatar for kamathmahendra

Hello All, I have very basic knowledge of C and I'm trying to write a program to read a single line from an ASCII data file which has following format " 1337936.4550 6070317.1261 1427876.7852 APPROX POSITION XYZ" The problem is the position of line is not fixed. Its different in …

Member Avatar for Aia
0
233
Member Avatar for Jicky

UNIX is simple. But It just needs a genius to understand its simplicity. --Dennis Ritchie Before software can be reusable, it first has to be usable. --Ralph Johnson Good judgment comes from experience, and experience comes from bad judgment. --Fred Brooks It's hard enough to find an error in your …

Member Avatar for vegaseat
0
284
Member Avatar for wiz83

hi, iam fairly new at unix.what iam trying to do is iam running a perl script through crontab.the problem is iam getting an error message on my mail. this is the crontab file: 24 16 22 1 * perl /rishi/s-branch/perl1/perl/filecomp.pl this is the content of my perl file #!usr/local/bin/perl @comp=`diff …

Member Avatar for DimaYasny
0
220
Member Avatar for RohitSahni
Member Avatar for Venom Rush

I've been reading a lot about how 777 permissions for a directory, where images are uploaded to, is a security risk but I've found no solutions on how to make it secure. If any of you have any related links or can give me some suggestions on how to make …

0
32
Member Avatar for ithelp

You would have seen this message when you telnet to an unix machine, it displays last login from <ip address> message What is the sytem command for displaying the same ? Can I code it in C++ without using system command ?

Member Avatar for Paul.Esson
0
108
Member Avatar for arunpawar

What are command lIne options available for most operating system? For windows i know there was DOS,but it is abandoned and now there exists only command prompt that has capbility to run batch scripts and some DOS commands. What about Linux? Is there any command prompt or terminal/shell for apple …

Member Avatar for sarehu
0
127
Member Avatar for macneato

Hi unix heads (:) Actually feeling pretty HiP considering its my first time in this section of daniweb. For some reason... my url loads "mail.domain.com" instead of public_html... Which is odd. All my files are in the public directory yet i can't access them, unless ftp-in. Any ideas?

Member Avatar for Belrog
0
87
Member Avatar for sanclan

I have the following example and need to parse only the numbers from the string: From: EG2594 To: 2594 or, From: EG2594_1 To: 2594 Then I need to add a P to the extracted numbers, so it would end up as: P2594 as my output. What is the best, simplest …

Member Avatar for Member #46692
0
248
Member Avatar for jarhan

I have bought a new pc with xp pro sp2 preinstalled every thing is networked i can map the drive open a windows and see the files but when i need to open a file the windows hangs or file shares are very slow and at times times out opening …

Member Avatar for darsh999
0
268
Member Avatar for lastcraft

Hi. I've written a small static (Unix .a) library, as usual made from a bunch of .c and .h files. A lot of the functions in the .h files are internal to the final library. Only a few of the .h files containing the public interface. How can I hide …

Member Avatar for lastcraft
0
186
Member Avatar for mjgelinas

Hello, Wondering if anyone knows of a certain script / solution... I need a script that will download all the files from an FTP server recursively to the local machine and delete the files and folders from the FTP server after it downloads each one. This script will run every …

Member Avatar for mjgelinas
0
100
Member Avatar for ithelp

Every time I reboot my laptop it gets new static ip address, I login to unix servers using ssh, every time I have to manually export DISPLAY to actual ip address, is there any way I can automatically get the ip address of machine from where I am logining in?

Member Avatar for Duoas
0
116
Member Avatar for pete_witty

Hi Guys i am very new to linux i have looking at some of the posts and was that Debian was just two cd's install. Why did i download 22 worth of cd's ?? I will start the install in the morning will let you all know how it goes …

Member Avatar for TheNNS
0
173
Member Avatar for dalebert

I have a simple function that I wish to perform in a .NET program. I am currently working in C# with .NET version 1.1, but any .NET language help would be useful. I want to be able to send a remote command to a UNIX or VxWorks computer form a …

Member Avatar for dalebert
0
146
Member Avatar for sneekula

You always read folks bragging that Linux, or Unix is so much more secure than Windows. What is your view or experience with this issue?

Member Avatar for MidiMagic
0
655
Member Avatar for madankumar

HI I would likt to create input files for testing, format is like this INPUT Format DISP NUM BYTES Desc 0 4 CODE 4 10 EMP NO 14 3 AGE 17 1 SEX which will be used for creating flat files ( data in excel file). OUTPUT file should be …

Member Avatar for masijade
0
90
Member Avatar for edborelly

Hello Everyone, I am trying to write a perl script that finds files that have not been accessed for x amount of days. I coded it using a system call with an unix find command: system("find ${directory_path} -follow -type f -atime +${max_days} -exec /usr/bin/ls -lurt > $results_file {} \\;"); but …

Member Avatar for edborelly
0
171
Member Avatar for hinhkhong

Hi, I'm a newbie. I thought I should stop by and send a friendly message to introduce myself. I'm a hardware engr and been using csh scripts to simplify the daily tasks in unix. The reason for me joining is because I want to pick up perl scripting quickly to …

Member Avatar for zandiago
0
21
Member Avatar for scholly

Hi to you all, I am scholly from Sydney Australia. I am a retired 65yo. I worked most of my life as an assembler programmer, programming various message switchers for telegrams,telex, private company networks etc then as a senior Unix system administrator of an international network for the Australian Telecommunications …

Member Avatar for jasimp
0
95
Member Avatar for chris5126

Hi, This is probably the wrong place to post this and solairs is Unix not Linux but couldnt find anywhere else so here goes. I am trying to configure imap in solaris 8. I want to set up a pop3 server on a unix box and then use a windows …

Member Avatar for chris5126
0
143

The End.