473,675 Members | 3,340 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Linux Forum

Linux operating systems (Open Source) - Ask questions about the open source operating systems, setup, installation, administration, configuration, drivers, internet, applications, file, Redhat, CentOS, FreeBSD, Ubuntu and more.
0
1,332
thread by: skyineyes | last post Jun 4 '07 by: skyineyes
Hi Can anybody provide information on accessing DB2 database through UNIX shell scripts.Any tutorial will ne highly appreciated. Thanks
3
2,748
thread by: sandhya rani | last post Jun 2 '07 by: sandhya rani
In shell scripting How can we monitor a file if it is continuously being updated??
3
2,228
thread by: svlsr2000 | last post Jun 1 '07 by: arne
Hi i am new to linux and device driver. we have a board which could be connected to com0 port. we are able to connect to this board using minicom and and device selected is /dev/ttyS0. we want to write a driver for this board. Can any one suggest how to go about. we dont want to do this in user space since we want some hands on in device driver...
1
1,498
thread by: alexxxprog | last post Jun 1 '07 by: arne
Thank you very much for who can solve this bash script: "Create on the filesystem a bash proceedure createdata that creates collections that that will have to contain a variable, a random number, comprised between 300 and 600, of binary files of dimension comprised between 10 Kbytes and 30 kbytes. Also the names of the files are random and are...
0
2,110
thread by: JohnBoy39 | last post May 31 '07 by: JohnBoy39
I have an oracle database query in a ksh script which returns the result set as a string. To separate the columns I add a pipe and a ! at the end of each row. So I have a string like: 1111~row1 value! 2222~row2 value! 3333~row4 value! 4333~row 5 value! I want to split on ! to have an array of, in this case, 4 values. Then I figure I...
2
1,629
arunmib
thread by: arunmib | last post May 31 '07 by: arunmib
Hi all, I have OpenSUSE10.2 and WinXP (home) installed in my laptop. I have alloted 5 GB for "/" and 5.6 GB for "/home" in linux. Now, I want to resize the drives as follows, 6GB for "/" and 4.6 GB for "/home" how can I do it? I tired using the partition manager in yast, but it gave the error message "unable to unmount the /home...
1
1,905
thread by: jaimemartin | last post May 30 '07 by: Motoma
hello, I want to validate an xml by means of a schema (xsd). To do that first of all I´m using a SchemaFactory. The problem is that if I run the code in Windows all works fine, but If I run it in Linux there is an error. The code that fails is the following: SchemaFactory factory = ...
2
13,493
thread by: rafficabdullah | last post May 29 '07 by: prn
I need to get input from user and search in the database in shell scrpit I have given the code below how to pass the value of varialbe Count to that query . I have bolded the variable since idont know to pass. Help me regarding this echo "Ennter a value" read Count VALUE=`sqlplus -silent invstgspring5/invstgspring5@invstg <<END set...
1
1,217
thread by: shara | last post May 29 '07 by: prn
Hello there, I have to pass a variable from unix as an input to a php file. The syntax i used is var1="SUCCESS" report_errors.php var1 Now report_errors is not being executed and the php start symbols "<?" etc all are being thrown as syntax errors.I dont have any idea why this is happening with php scripts on UNIX platform.Can anybody...
4
1,417
thread by: Caldas | last post May 28 '07 by: pbmods
I'm trying to find files in the current directory that have the occurence of '<IWM_Datasource>NOUID</IWM_Datasource>' AND '<IWM_HasMetaData>true</IWM_HasMetaData>'. I was able to find just the first text like this: find . -name '*Base*xml' -type f -exec egrep -l ^.*'<IWM_Datasource>NOUID</IWM_Datasource>'$ {} /dev/null \; But when I try to...
1
2,415
thread by: Theadmin77 | last post May 28 '07 by: pbmods
I know this is a stupid question but ....im stuck ... I have 2 files were i have to perform a md5sum check , the results (hash string) output to a file were must be stamped with the date and time the validation was performed . I got the first part : md5sum file a file b > results.txt But how do you stamp those files with the time and date ??...
3
4,552
thread by: dumindaj | last post May 25 '07 by: Motoma
I have problems running my Java Swing application remotely on a Linux machine. The application takes 20/30s to respond to events and painting takes considerable time. This is not a special case for my app. I copied SwingSet.jar demo over and this is also very slow to response. The command is ssh - X <remote-machine>. It is the bash shell....
3
2,338
thread by: sanjayuce | last post May 24 '07 by: Motoma
hello, how can i get the full path of a file in linux.pls reply thanks
5
2,055
thread by: Comatose | last post May 24 '07 by: Motoma
Well I have Ubuntu Fiesty Fawn set up succesfully but only under the safe graphics mode from the boot menu. (The only distro I have ever got to work) I would like to get it to work under the default "Start/Install" menu option but I guess my card isn't the best. (Ati Radeon 9250 Gamer Edition) Usually when I have tried installing with other...
0
3,096
thread by: bbasberg | last post May 24 '07 by: bbasberg
Hello, First of all, I'm very sorry i mistakenly posted this message to the "articles" forum rather than this one and am unable to erase it from there. I apologize for the cross-posting. Does anyone know a workaround for the lack of subroutines/functions in C shell scripts? I an unable to switch to Korn, Bourne, bash, et al. scripting as...
17
1,653
keyvanrahmadi
thread by: keyvanrahmadi | last post May 23 '07 by: arne
Hello there guys, i think i am at the end of this, which i have to edmit has been a huge learning curve for me, but i still have couple of problems, which i was hoping you can help me. I think tbh its a very simple thing which i am over looking and just require a pair of fresh eyes to look at. I greatly appriciate if you could have a look at...
4
2,085
thread by: guido campos | last post May 23 '07 by: Motoma
Hi, I just arribe to c shell programming! Could you please help me with the following exercises or where find solutions in cshell: 1.- Write a script that would display the time when run. 2.- Write a script that would wait 5 seconds, then display the time, but 5 seconds late. Hint: use the "sleep" command. 3.- Write a script that will...
1
3,131
thread by: sandhya rani | last post May 23 '07 by: arne
Pls Help me to know abt........the following commands. 1) what is source, .(dot command) in unix shell scripting n where we use this command n its functionalities?? 2)wht is exec: in unix shell programming??Wht is its significance??
2
6,131
thread by: smitamahadik | last post May 22 '07 by: smitamahadik
Hi, I need to connect to oracle from unix , excute a stored procedure and find out the error code if any in unix. Can somebody give detail commands to extract the error code?
6
2,794
thread by: sumin | last post May 22 '07 by: prn
i want to get the CPU and Memory utilizatoin in Linux through C. will be thank ful for any help.
2
1,375
thread by: dhanyacb | last post May 21 '07 by: Motoma
hi, I want to open mozilla browser from another machine. For that i tried connecting to that machine with "ssh" command. After connecting , when i typed "mozilla", it just showed me "Segmentation fault". If i use another log in to my red hat linux, it works properly. Is it a problem with my user permissions or do i need to set anything for...
1
1,270
thread by: sandhya rani | last post May 21 '07 by: Motoma
Dear Forum Members, I request all of u to pls Give me some details or websites where i can get unix related project documentation which has to be mainly based on Shell Scripting and Database(Oracle). I am not getting In the market on what bases(ie on...
0
772
thread by: mkxc | last post May 19 '07 by: mkxc
hi, i'm new here and would really like some help. I am using LINUX in my uni lab and need to play a graph using gnuplot..how is it done? The values are read and stored into an array from a .txt file..how do i plot these numbers into a graph?
3
2,700
keyvanrahmadi
thread by: keyvanrahmadi | last post May 19 '07 by: arne
I am trying to undcerstand how to randomise an out of the file. My file is currently consisnt of 10 words as follow: word1, word2, word3, word4, etc.... cat words | cut -d" " -f1 this will give me the first word in the first field. since there is multiple words, how do you randomise the selection of the words?
3
1,579
thread by: coaxfiber | last post May 17 '07 by: Motoma
Hi.. Why is it that when I try to change my password, $Passwd $Old Password: $New Passwword: I received a LDAP ERROR? How this is possible?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.