409 Topics
| |
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 … | |
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 | |
Which one is the web editor to create websites in Unix/Linus? In window we know Front page whats there. | |
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 … | |
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 … | |
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 … | |
Hi, I am very new to Perl and have no knowledge to initiate this through programming view. I am in need of help with adding a new user in UNIX using Perl programming . If you know my problem could you please assist me and share your knowledge for doing … | |
Hey all, I have a problem with using the grep command... Im trying to parse lines in a file and read only characters t,c,a,g lower or upper case...but i keep getting trouble in the outcome: for example axxxxtc should return atc but it doesnt... heres my code: result=`echo $line | … | |
I have setup in .profile my login prompt as: PS1='${HOSTNAME}/${PWD}> how do I get the prompt to highlight so everytime i log in i see whatever i set my PS1 to highlighted.? | |
Hi there, I am new to use unix operating system, and I was wondering where can start learning the main commands in the unix, as I am working on server that is unix, tutorials or links that can help, when I need some functionality or a specific command I search … | |
I have a web app that allows user to upload doc or docx files and converts it to HTML. I have CFMX 7 in a unix environment. Is there a custom tag that I could use for this conversion? I tried the cfx_word2html tag .. it converts .doc not docx. … | |
yesterday i read that book, i was relieved. Do you also think that unix and programming on unix sucks?(i would also say c++ language but i know that Narue may prove me wrong, so i dont dare to say it) | |
Hi All, I am not familiar with shell script and not really have much experience. How to produce a Unix shell script that will display a welcoming message to the current username. Next, the script will show the current directory path, and the extended information of the current directory contents. … | |
Help!!! My database crashed and unable to recover at this point. When trying to restore from backup, the .db file is 120568xxxx bytes long. I am getting a extract write error at 110238xxxx bytes on all tapes. Can anyone give me an idea? I do not know much about a … | |
I have read prior post on the forum but I came up with few specific questions about Porting Unix Socket(hereby calling it BSD socket) to Win32 Platform : First of all, I am a native Linux C/C++ Programmer. I program in Ubuntu with GCC. But, I usually also port my … | |
Hi, I've written a program for statistic analysis that can be found here [url]http://staff.pubhealth.ku.dk/~ande/web/software/relate.html[/url] I want to make it portable and the program works on unix with the following compilers sun, intel and gcc It also compiles on windows with mingw and the intel compiler. I've installed ms studio, but … | |
Guys.... I am writing a shell .I've managed to get the input from the user through a string and then I've tokenised it. Now the problem is do i need to know weather its a programme or should i continue to fork it without knowing it. As all of u … | |
Hi, guys i need some help! i need to make a txt file with the "-A" command (in shell). that already is implemented in the client, then the client send the file thru sockets and arrive to the server, the server save the file in his directory. But the code … | |
I am having trouble with some php code that was working fine on a unix server but when I try to move it to a Windows 2003 server I am getting errors like "Use of undefined constant x - assumed 'x' in ...". I am using PHP 5. Here is … | |
I have a Perl program I am editing. The idea is to have it write a record to another file whenever a user access this program. Here is the Perl code I am using: open(MYFILE, ">>/usage.file"); print MYFILE "USERID: `whoami` used this on DATE: `date` \n"; close MYFILE; the problem … | |
I really wonder whether the diff command can be implemented in c++.. But i need the code for tht..anyone please help... Sirisha. | |
hey all. Im writing a small script that is supposed to check for a file or directory and when its not there create it. After it creates the file or directory I would like the script to loop to the beginning but I cant figure it out. What am I … | |
HI All, Ant Unix method or C++ method is there to convert unix time stamp to system time stamp.The input is ULONG and out put should be in string. u can intimate to <email snipped> Any help is appreciated in advance. | |
I just need a direction to go with this.. a simple program that assists with unix and/or windows GUI creation. I have fairly simple program using classes, virtual functions and inheritance. The functions are all implemented by a switch w/ 6 options that call one of the functions. Now what … | |
Hi, My problem is that I have to upload a CSV file from Client Machine (Windows) to Unix Application Server. I am using JSP method post and multipart/form-data (as in [url]http://www.roseindia.net/jsp/file_upload/Sinle_upload.xhtml.shtml)[/url]. The file is uploaded fine but the problem is it displays carraige Return (^M) a square boxes on Unix … | |
Hi I was wondering if anyone could help I'm receiving a segmentation fault whenever I go to run my main.cpp on my program. I've never encountered this before and was wondering if anyone knew how it can be fixed. The program consist of equiv.h, equiv.cpp, graph.h, graph.cpp, and main.cpp here … | |
Hello [B]How to send a file from server to client. [/B] I am a bigger in C with unix, i am trying to read a file from server and display it in client , i got a separate code to read a file , and i tried to connect the … | |
Hello Everyone, I am a total beginner in UNIX/Shell script. I am in the process of creating a huge script for a spellchecker program. What it does is spellcheck files and throws output in a temporary file. What I need help in is forming a [B]for loop [/B]where it will … | |
[url]http://www.sendspace.com/file/g0v6po[/url] thats my little code. When I execute it it gives me error..which it shouldnt. the ls is called, its result is stored in fd[1], and the second child (less) reads the answer from fd[0] ... its not working..anything wrong with close methods sthg..plz help | |
Develop a program on UNIX only that accepts run-time arguments and outputs the number of command-line arguments given when the program is executed echoes any command-line arguments containing the letter z echoes any command-line arguments that start with test echoes any command-line arguments that end with .doc Please help me … |
The End.