1,446 Topics
![]() | |
Where I work, we have mutiple products which create installation packages that are kept in the same directory that I will call the mainBuildDir. An installation package is a directory whose name is the product name followed by the date. Ex: ProdA_2007-06-22 The contents are multiple files and folders, perhaps … | |
hello everyone. im darshanaa ive just started my linux classes.the problem is ive got no idea abt unix and what all its abt. While i got familiar with the installation ,and required configurations.i clicked a query . why does linux - red hat enterprise linux 4.0 work properly on intel … | |
hello everybody!!! i need to get the file id group , i used afunction filegroup ( filename ) but this function dosen't produce meaningful results on windows system, so you can use a function which resolves this posix_getid( ))but unfortunately this function isn't defined on windows platforms , so ineed … | |
Freinds, i couldn't able to use backspace in the solaris OS! whenever i do it is printing character like ^?. So what i does is just executed command like stty erase ^? then it is working. Can we have some permanent solution for that? my shell is C shell, i … | |
hi there... im relatively new to the world of unix and to the Dani Web community too... I am interested in the memory management techniques followed in the UNIX OS. when i read thru a document related to that i came upon a paragraph, which im not able to decipher... … | |
Hi, I have created a convaluted and hacked script here for comparing unix dates. Can someone help me use calc or date w/ julian param or something to look back a week, a month or even a year and compare dates or add/subtract the dates somehow in a shell script? … | |
Below are the thoughts from a computer professional who has spent the last 10 years supporting Mac, Windows, and Linux computers in a variety of network applications. By no means will this general tips section be exhaustive -- that is what a good book is all about. I am also … | |
is their a unix application on ms aside with cygwin.. | |
I recently installed Ubuntu 7.04 on my system and for last few days been learning ways around this system and get familiar with it. I have to say I'm glad that my university has 25% machines running unix systems for Computer Science students or I would be lost. Today I … | |
I'm trying to do an assignment to implement a unix shell and run commands using java. commands include read file, copy file, remove file and find substring in a file. I have managed to create the file and try out all commands individually but I've failed to run the threads. … | |
hi, i have:- Server Version: Apache/1.3.29 (Unix) PHP/5.1.4 mod_mp3/0.39 mod_fastcgi/2.4.2 mod_ssl/2.8.16 OpenSSL/0.9.7j the php module seems to have loaded ok yet when i point to any php content it still delivers the code and not the propper content and i don't know what to check now as i am so … | |
Hi I am a new bee in Unix World. I need a little help regarding my problem. I want to swap two file which i will passing as command line argument. I can swap the two files but i am unable to check whether the file name passed in the … | |
Hello there, I'm currently practicing network programming under Unix system. I have here a sample code from the tutorial. I compiled it, it has no errors. But when I execute it, it prompts me this "connect: Connection refused". What do you think is the problem. Here's my code: [code=c++] #include … | |
Hello All, I am new to the forum and have a bit of a problem... I am trying to change the windows generated UID numbers to specific UIDs when I log in to the linux machines. I am having trouble changing the UIDs to specific numbers. I downloaded and installed … | |
somebody help me in makefiles pls...... how to create a menu launcher for Unix automatically using only the makefile.. thanx in advance | |
hi, Is it possible to run a gedit command in the terminal that will create a text file automatically and save it in my desired file extension? For example, if I run: gedit file.txt by default, it will open a null document named file.txt. But all I want is to … | |
[COLOR=#000000]Hi Code gurus!!...my first post in this forums and I m new to shell scripting too!...I need a shell script to accomplish the below, any input will be greatly appreciated..[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]Below is a sample content of a text file, [B]file1.txt[/B][/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]AMPS,2324,Subscriber,Unknown,SingleDay,20070413,20070413,[/COLOR] … | |
I've been using Tomcat/local machine to produce some jsp pages for uploading files. Files are selected and added to a listbox on a form, once the form is submitted - the filenames in the list are uploaded. Firstly there is a check to see if they exist. Something to the … | |
Hi All, I have a D-Link DI-704P router/parallel print server, and while all the router functions are working fine, and the print server, with my HP Laserjet 4MP attached, works fine from a Windows machine, I am having real trouble being able to print to the LaserJet from a machine … | |
The linux and unix threads seem pretty dead. For the sake of centralization, why not combine all linux and unix questions into one category? | |
Hello, I am currently taking a class on Perl at College, but I have found a use for it at my job. The Unix box I am currently working on has Perl 5.005_2 loaded on it. Does this version of per support back referencing, (e.g. when I put () around … | |
Hello, I am writing a SAS program that retrieves data from an Oracle database and sorts it into multiple SAS datasets. I have been asked to output the datasets in a single Excel workbook with the different datasets on different sheets inside a single workbook. I am currently writing this … | |
I found this little list on another forum while searching for some info earlier today. It doesn't have the info I needed, but I thought at least some of the inhabitants of Daniweb might get a kick out of it. Note: I've only worked with a few of these languages … | |
This site is useful for Unix Solaris learner. You can find many tutorials from here [URL]http://www.learning-solaris.com[/URL] | |
Short guide to include RSS on your website Including RSS feeds in to your own pages is pretty simple with PHP and some open source libraries. The follwing lines show how to create HTML from RSS feeds using the popular PHP tools magpierss (fetches and parses the RSS feed) and … | |
Hi all, I am using RandomAccessFile, to create a log file. The log file gets created fine, when I open it in UNIX (I mean the display layout). However, when I open the file in Windows, in notepad, then I see instead of '\n' a little square. So all the … | |
hey, guys im new to UNIX and i need help.. I need to write a script which will tell you if you entered an even (e.g., 2, 4, 6...) or odd number (e.g., 1, 3, 5...) and then give you the summation of the number you entered. For example, if … | |
I have these files in SOURCE folder: main.cpp header.hpp implement.cpp I want that when I compile these codes, the object files and the .exe files will be found on the different folder, let's say in folder EXECUTE that is outside the folder SOURCE. Like this: /home/usr/SOURCE * main.cpp * implement.cpp … | |
Hey everyone, We have a UNIX DecAlpha here at work, and I need to change the IP on it. Could someone tell me how to do this through command line? Thanks! :mrgreen: | |
I'm taking an Operating Systems course in which I need to write some really in depth programs (more specifically, along the lines of a terminal based program which implements many system level unix-like commands). However, the catch is that this must be written in straight C, which I have no … | |
Hi Experts I've less idea abt unix shell script. my requirement is the shell script should take a input of a file name and shud check if that file name is present in the particular folder which is hardcoded. if not then wrtie the file there or if found write … | |
I wrote a script as below #!/bin/bash echo $1 > temp cat $2 >> temp mv temp $2 # this command helps us to retain the original name of the file # now how to append the script so tht it now inserts the first argument into the middle of … | |
Hi all, I have faced some problem ina coding. What I have to do is just to replace all "big" with "small" from the string " The world is big. there are big cities. Bigger city mean bigger population. Towns are getting smaller". My code is [code=c] #include<stdlib.h> #include<stdio.h> #include<string.h> … | |
Is there any way to read or write to a socket besides using the [inlinecode]read()[/inlinecode] and [inlinecode]write()[/inlinecode] functions. Is there any way to treat it like a stream and use the insertion/extraction operators (<< and >>)? The reason I ask is because with read I have to put an arbitrary … | |
[B][URL="http://www.onestopfaqs.com/faqs/963/"][B] How do I get a null pointer in my programs?[/B][/URL] [/B]According to the language definition, a constant 0 in a pointer context is converted into a null pointer at compile time. That is, in an initialization, assignment, or comparison when one side is a variable or expression of pointer … | |
Morning Folks, I need to change permissions on a whole bunch of machines using Apple remote desktop and the "unix" function. Ive got so far but got stuck, here is what i need. The below code compiles but i need the script to use a default username and password and … | |
My old iMac DV died, and I replaced it with a 20-inch Intel iMac. Wonderful machine, but it doesn't have a modem. I need to send faxes, so I dusted off my Zoom K56 Flex fax modem. This device has a 25-pin RS-232 serial connector, so I bought a USB-to-Serial … | |
HAI I HAVE ERROR IN RUNNING THIS PROGRAM I HAVE COPIED THE MAIN.H AND STRING .H. PLEASE GIVE THE SOLUTION AS SOON AS POSSIBLE CODING /* $Id: main.h,v 1.69 2005/01/18 06:19:46 prahl Exp $ */ #if defined(UNIX) #define ENVSEP ':' #define PATHSEP '/' #endif #if defined(MSDOS) || defined(OS2) #define ENVSEP … | |
I'd like to know if there's a relatively easy way to make a bootable CD for SPARC platform. Specifically, I want to wipe the hard drives on some servers. I've used the [URL="http://www.jetico.com/bcwipe3.htm"]BCWipe[/URL] program on Windows before and was pleased with it, so I thought I'd try the UNIX version. … | |
1.'Java is platform-independent'- - What's that supposed to mean though the Java run-time package differs from platform to platform;almost similar to creating different compiler for every different machine for the purpose of executing a C/C++ program? 2.'a machine is big-endian'-what does the statement signify? 3.As the Unix OS is entirely … | |
*NATIONAL COMP SCI ENQUIRER* EXCLUSIVE PHOTO: Turing machine with two heads! STARTLING EVIDENCE: LISP came from Mars? SHOCKING EXPOSE: Illegal core dumping in Lake Erie! TRUE STORY: Man inverts singular matrix and lives to tell! REVELATION: Top scientist discovers New Jersey on Karnaugh map! OS SCANDAL: Unix and Ms. Dos … | |
i wish to use this java code in c++. [code] String bname[] = { "Unix Environment", "Programming in Perl", "Comp. Architechture", "Operating System", "Java Programming", "DIstributed OS","Database Management", "J2ME","Operating Systems", "Algorithms in C++"}; [/code] how do I initialize char array in c++ ?:-| | |
Using the skeleton below #include <unistd.h> // read/write #include <sys/file.h> // open/close values #include <string.h> // strlen int main( int argc, char *argv[], char *env[] ) { // C++ or C code } Write a C++ application myrm that removes (deletes) files passed as command line argument. Use only the … | |
Using the skeleton below #include <unistd.h> // read/write #include <sys/file.h> // open/close values #include <string.h> // strlen int main( int argc, char *argv[], char *env[] ) { // C++ or C code } Write a C++ application myrm that removes (deletes) files passed as command line argument. Use only the … | |
I want to implement tab completion to my program, similar to a unix shell's. Like if the user types comp and hits <tab>, completion would appear (suppose there's a file named "completion" in the current directory). Someone suggested using the readline library, but it seems too difficult to use that. … | |
i have a simple text file as input.i have to print that file in paragraph format.whenevr it finds "\n" in the input text it should start printing in next paragraph in output file.also a fixed amount of space should be given before start writing in every paragraph. the input and … | |
I have a script that I have to interpret. I'm really new to shell scripting, however I have tried to explain the lines to the best of my ability. Can you please look at the script and let me know if I am on the right track (also point out … | |
i have a HTML report file..its in attachment(a part of the whole report is attached..name "input html.doc").also its source is attached in "report source code.txt" i just want to seperate the datas like in first line it should be.. NHTEST-3848498958-NHTEST-10.2-no-baloo a and so on for whole report i have done … | |
Hello, I have a script to read remote file. The script goes as follows, [code=Perl] #!C:\Perl\bin\perl.exe $remote= '\\\remotehost\remotedir\remotefile.jml'; open(fp, $remote) or die ("could not open the file"); print while(<fp>); close(fp);[/code] This script runs fine on my windows machine. But the same script when I run in UNIX, after changing the … | |
I want to know the solution for creating a link in php page by making a directory in unix.?if somebody knows the answer kindly reply. Thank you |
The End.