1,293 Topics
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 …
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 …
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 …
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.
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 …
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 …
hi guys, can u help me out with how to develope a shell in linux
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 …
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 …
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 …
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 …
[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 …
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 …
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
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 …
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 …
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 …
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 …
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 …
Beside windows, mac, and free BSD, what are other free alternative operating systems that are available?
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 …
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 …
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 …
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, …
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.
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"............
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 …
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
I just installed Fluxbox and started it. Now what? Nothing works. Right click, etc. I don't have any menus. What do I do?
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 …
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 …
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 …
Why we get the core file and also how can we debug it in unix(using sun C++ compiler)
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 …
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 ?
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 …
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?
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 …
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 …
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 …
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 …
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?
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 …
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 …
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?
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 …
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 …
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 …
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 …
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 …
The End.