409 Topics

Member Avatar for
Member Avatar for samirs79

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 …

Member Avatar for pheeror
0
72
Member Avatar for kxh29

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. …

Member Avatar for KevinADC
0
87
Member Avatar for shahnazurs

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 …

Member Avatar for karenjones
0
127
Member Avatar for arvind

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... …

0
67
Member Avatar for eXceed69
Member Avatar for ssimkhan

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. …

Member Avatar for Ezzaral
0
220
Member Avatar for squinx22

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 …

Member Avatar for thekashyap
0
80
Member Avatar for Sturm

The linux and unix threads seem pretty dead. For the sake of centralization, why not combine all linux and unix questions into one category?

Member Avatar for jbennet
0
119
Member Avatar for hoanginlove81

This site is useful for Unix Solaris learner. You can find many tutorials from here [URL]http://www.learning-solaris.com[/URL]

Member Avatar for nanosani
0
107
Member Avatar for Duki

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:

Member Avatar for jay.smith
0
155
Member Avatar for nanodano

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 …

Member Avatar for vijayan121
0
187
Member Avatar for sarita.t

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

Member Avatar for hradek
0
96
Member Avatar for alex_wil

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 …

Member Avatar for mandible
0
191
Member Avatar for aquavita

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 …

Member Avatar for indienick
0
111
Member Avatar for Dani

[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 …

Member Avatar for mikeandike22
0
188
Member Avatar for crestaldin

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 …

Member Avatar for masijade
0
163
Member Avatar for kumarangopi

[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.

Member Avatar for John A
0
202
Member Avatar for friendz_
Member Avatar for Ancient Dragon
0
53
Member Avatar for crestaldin

[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 …

Member Avatar for Comatose
0
221
Member Avatar for Mushy-pea

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 …

Member Avatar for lordspace
0
95
Member Avatar for Duki

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 …

Member Avatar for John A
0
80
Member Avatar for dmksh

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 …

Member Avatar for alc6379
0
109
Member Avatar for ithelp

Online Unix Tutorial at [URL="http://unixtutorial.tripod.com/"]http://unixtutorial.tripod.com/[/URL]

Member Avatar for zelkea
0
61
Member Avatar for Tdot

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 …

Member Avatar for blud
0
240
Member Avatar for jen1977

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, …

Member Avatar for jen1977
0
141
Member Avatar for vanii

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

Member Avatar for jim mcnamara
0
345
Member Avatar for jino.john

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 …

Member Avatar for jino.john
0
109
Member Avatar for harrypotter

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 …

Member Avatar for Lord Soth
0
170
Member Avatar for diddle

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

Member Avatar for diddle
0
151
Member Avatar for debunix

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 …

0
67
Member Avatar for kharri5

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 …

0
88
Member Avatar for kharri5

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 …

Member Avatar for kharri5
0
164
Member Avatar for kriss183

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.

Member Avatar for Dani
0
110
Member Avatar for diddle

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 …

Member Avatar for dwks
0
89
Member Avatar for alex05

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 …

Member Avatar for jim mcnamara
0
333
Member Avatar for ! !

[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]

Member Avatar for >shadow<
0
244
Member Avatar for biozero

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: …

Member Avatar for kermit
0
99
Member Avatar for gpta_varun

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

Member Avatar for DMR
0
125
Member Avatar for kashif07

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 …

Member Avatar for Dave Sinkula
0
372
Member Avatar for sunderam

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 …

0
87
Member Avatar for StuartFirth

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 …

Member Avatar for StuartFirth
0
462
Member Avatar for Funktar

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 …

Member Avatar for Dogtree
0
174
Member Avatar for peter_budo

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 …

Member Avatar for peter_budo
0
215
Member Avatar for sham

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.

Member Avatar for paradox814
0
114
Member Avatar for ap39769

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??? …

Member Avatar for Narue
0
74
Member Avatar for jlw024

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.

0
48
Member Avatar for mrb260478

Can somebody help me in getting cursor position using C++ Programming language on a UNIX operating system. :cool:

Member Avatar for vegaseat
0
118
Member Avatar for crq

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 …

Member Avatar for 1o0oBhP
0
546
Member Avatar for steve-parker.or

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.

2
496
Member Avatar for jifiii

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 …

Member Avatar for nvanevski
0
182

The End.