409 Topics
![]() | |
I have comma seperated values in a flat file, example below: [B]RStndrd,Mer,1902 PAR GRN,ParentGroup,[/B] I am interested in getting the third parameter from above, ([B]1902 PAR GRN[/B]) in a variable called MyID...i am using the command below to get the third variable [B]MyID=`echo $line|cut -f3 -d ","`[/B] but using the … | |
Hello All: I am attempting to do a loadtest on a process which is "suspect"... Does the following code generate multiple instances....???? [code] for ($i=0; $i <= $iteration; $i++) { printf(" Executing Iteration:==> %d\n", $iteration); system ("master_menu &"); } [/code] As you can see, I run the execution in background. … | |
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... … | |
is their a unix application on ms aside with cygwin.. | |
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, 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 … | |
The linux and unix threads seem pretty dead. For the sake of centralization, why not combine all linux and unix questions into one category? | |
This site is useful for Unix Solaris learner. You can find many tutorials from here [URL]http://www.learning-solaris.com[/URL] | |
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: | |
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 … | |
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 | |
Hi friends, I am using Perl Tk for a GUI application. It uses a telnet part wherin I need to login to a unix machine, execute a command and process the result. The code is as follows : my $result = $t->cmd(("grep - $filename.txt~ | wc -l | awk '{print … | |
Hello. I recently acquired a Sun Ultra 5 in order to get some UNIX experience. The machine boots up to a stage but then gets into a loop repeating a question. Below is the text from the screen showing the issue: ===================================== SUN Ultra 5/10 UPA/PCI (Ultra SPARC-11 333mhz), Keyboard … | |
[b]Microsoft's Monopoly[/b] At this time, Microsoft owns an operating system monopoly with its line of Windows operating systems. UNIX, however, is an alternate OS mainly used by ... er, computer geeks. It's been out for many years and features a small kernel with all programs built around the kernel. This … | |
Hello Everyone, I need help on a part of the script below.The purpose is to accept some filenames as command line arguments and count the number of characters,words,lines in each file, and the total of each of these 3 attributes. My output should look like this... [COLOR="Blue"]file 1 stats: Number … | |
[COLOR=#000000][/COLOR] I have written a program in php.It works fine with internet explorer.How to make it run in unix environment.By the way do we get free unix software on net?If so please let me know the link. | |
| |
[COLOR="Navy"]Hi everyone, Ps I'm new to Perl (but have been working on Unix for a while) and I'm trying to develop my skills by taking on a project . I am trying to create a perl script that when executed behaves like a Unix Shell, but I need help on … | |
Hello everyone. I am writing a Perl script that will be installed on a Linux host. I need the script to be able to access the current time / date environment variable somtimes. I've looked through a list of the standard CGI variables that can be accessed through $ENV but … | |
Hey everyone, I'm trying to logon to our Unix machine through FTP. I can ping the ip of the machine and when I connect through our FTP software I get a Connected to x.x.x.x, waiting for server response. This didn't seem to be a problem until I joined the computers … | |
I have a HP Netserver 2000 running SCO UNIX 5.0.6. I get the message: istat=0a: LSS_PAR on ha=1 sist0=41 sist1=00 !!!! dstat =81 on ha=1 has DS_OPC while WAIT DISCONNECT, rp=c014f8co dsp=FD on path=1, newdsp=FD064600 WARNING: Parity Error MSG OUT=00000006 Failed, 1code=80000002 on ha=1 id warning:”RESERVE” command timed out 1201 … | |
Online Unix Tutorial at [URL="http://unixtutorial.tripod.com/"]http://unixtutorial.tripod.com/[/URL] | |
Hi folks, I've recently started taking unix lessons to gain beginner level unix knowledge. Could you suggest me an linux distributions available out there that is close to UNIX in terms of commands, etc.. since I'd like to practise the UNIX lessons at home? I'm running windows on my PC … | |
I've just been assigned to a project looking at migrating a legacy data warehouse system (2TB+ data) from zSeries to a pSeries platform. This isn't helped by my complete lack of pSeries knowledge... My question is- is there an easy way of comparing configurations between the 2 platforms? For instance, … | |
Hi all, I want to know whether "sleep command in shell scripting is a guarenteed command or not " In java 'Sleep() ' is not guarenteed to be called when CPU is Idle. Regards, VANII | |
Hello All, We are starting a linux/unix remote server administration service in india. we have a group of 4-10 years industry experienced, RHCA, SCNA certified, people. we can install/monitor/configure any of your linux/solaris based system/service from india around the world. pls reply me back on the thread only.. Thanks, Regards … | |
Please tell me how to do unix system programming in C in windows. Is there any c editor which contains all header files required for unix system programming in windows? Please tell me. There is a problem in installing linux in my system. but there is a need for me … | |
How to store the result of find command in Shell program? I want to store if found then result = 1 else result =0. How to set the result ? My code result = $ (find . -name "doll" ) Can anybody help me? ps. tcsh in cygwin | |
Hi, I have the following task to perform using shell script. The user will provide a [B]directory name[/B] along with a [B]date[/B]. The script will delete all the files in the specified directory that was created earlier to that date. Also it should display the number of files that has … | |
So I have asked a couple of questions already about this shell programming, but I have another yet again. I'm not sure why my times function in this program isn't reporting the time right. It always says that I have 0 seconds of time for a process or some giant … | |
So I have to make a UNIX shell that can basically take in any UNIX command and then keep a record of the time each process took, by forking off children processes, recording their time, and recording the parent's time, and then return that time into a linked list or … | |
There is a good collections of links to Unix/Linux related websites at [url]http://citrix.50webs.com[/url] but not very well organised though. | |
I would like to sort the temp.txt contains like the following. 1_r0.png 1_r10.png 1_r100.png 1_r105.png 1_r15.png 1_r150.png 1_r155.png 1_r160.png 1_r20.png I want the sorted result to be 1_r0.png 1_r10.png 1_r15.png 1_r20.png 1_r100.png 1_r105.png 1_r150.png 1_r155.png 1_r160.png like the above. Anybody can help me? I used sort -n temp.txt sort.txt But … | |
Write a script named killdup. The script sorts all the lines in a file supplied to it as the first argument, and removes duplicate lines. The script stores the resulting output in a file whose name is given by the second argument. I know how to sort it, but how … | |
[color=navy]After twelve years of development, the Wine Project announced Tuesday night that its software to run Windows applications within Unix is entering the beta phase. The group acknowledged the program still has bugs, but asked those interested to download and test out the application.[/color] [url="http://www.betanews.com/article/Wine_Reaches_Beta_After_12_Years/1130338797"][color=navy]http://www.betanews.com/article/Wine_Reaches_Beta_After_12_Years/1130338797[/color][/url] [url="http://www.winehq.com/"][color=navy]http://www.winehq.com/[/color][/url] | |
I am rather baffled as to why a relatively simple, but very reliable, bit of C code I wrote on a 32 bit unix system (Sun Solaris) will compile fine, but error out when compiled and run on a 64bit Linux system? The specific error I receive upon execution is: … | |
Hi All I am trying to install MOzilla on a tru 64 unix system . This requires the use of 'setld' command . Now thw problem is theat i don't have the root access . Are thge root permissions a must for installation ....???? PLz help Best regards VArun | |
Dear Friends i want help about the Simulate a Linux/UNIX shell, called MASH (for MiniAture SHell) in the C. plz read the the my problem and send the best solution of my problem as soon as possible. Objectives: After the completion of this assignment you’ll be able to: Simulate a … | |
HI, I have a vc++ project with all its files which includes -header files,& .dll files. I want to export these files to a unix system. i am sure i can do that, but i am looking for equivalent method for aligned aligned_malloc() in unix. aligned_malloc() is a vc++/windows method … | |
Hi, I think that this is quite simple, but I have lost the right code to enter at this point. My Mac won't boot past the UNIX command line and gives the following: /etc/master.passwd: Not a directory /etc/master.passwd: Not a directory -sh: /etc/profile: Not a directory -sh-2.05b# Then a command … | |
omg i need help so bad. I've been working on a school project for what seems like an eternity and i'm close to deadline. Using FIFO's (i ahve to) to communicate between parent and child proc's. Right now I'm stuck on a read/write. fifomsg is a struct with int length … | |
Studying Computer Science on Unix platform is ussually fun expect days when you get stuck. And life get [B]tough[/B], this is one of my tough days. To make life easier with my c++ programming I wanted to use the [B]make[/B] tool under unix. I have 5 fieles : - student.h … | |
I read about Java being multi-platform language but could not confirm this. If I compile and make .cla files in Windows OS and then run these on Unix OS will run fine ? Or I need to install some components. | |
I am a new member of the free Unix sdf.lonestar.org. I tried to compile and run a C++ program I wrote, but it would not let me compile. I wonder if it's because I haven't paid the $36. Arpa membership fee yet. Does anyone know if this is the problem??? … | |
I am having a problem with my make I ran the make depend with no errors but when I ran the make it it gave me an error of ld fatal library -llog_mgr not found. | |
Can somebody help me in getting cursor position using C++ Programming language on a UNIX operating system. :cool: | |
hi there. i am new to C++ AND unix. this assignment that i have is really really easy, but the specifics of C++ and getting around in Unix is making it really hard and time consuming. i have a really small program that should be working, but i am getting … | |
Shameless plug: [url]http://steve-parker.org/sh/sh.shtml[/url] A bourne Shell Programming/Scripting Tutorial for learning about using the Unix shell. Centres on the Bourne shell, but mentions when bash differs. Does not cover ksh/csh (considered harmful). Applies to UNIX and Linux. | |
Ok, for a lab I have to write the UNIX more filter in C, but I have got everything done execpt one thing. I only hvae it to where it can read 20 lines at a time. But what I want to do is if argv[1] == -Pxx where xx … |
The End.