Do not use on any
shared computer
August 29, 2008 09:10pm pdt

Experts have come up with some helpful tips for getting a solution to your problem fast.

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested Linux Dev Solutions: 126 - 150 of 381
 
#!/bin/ksh echo "OK">"$6".OK I have a simple Korn shell script as follows: #!/bin/ksh echo "OK">"$1".OK where $1 is the parameter passed in. The parameter is something like abc.tx...
Must transfer files from LINUX to MS/2003 server via FTP.  Have been trying to get basic scripts to work however appear to be issues with MS server not accepting the ID and PASSWORD.  Can manu...
I have a bash script that I wrote.  It works fine when I execute it from the shell.  However, when I run the script via Cron it is not giving me the correct information.  My curiosity is that ...
Hello Group, In part of my script, user is required to enter a path as destination. There are two checkings I have consider when user enters a path: 1) Validating that the entered pa...
To retrieve my own IP address on the network I use the grep command. $ /sbin/ifconfig eth0| grep 'inet addr:' However, I would  like help/advice on how to write a small shell script that would...
Hi all, I need a simple c sample code how to implement circular logging. A simple hello word app which writes a simple line to log.txt "Hello world". If the log file exeeds 1mb, it rename...
This questions pertains to closing a socket from a different thread while blocking on recvfrom(). It appears that the recvfrom() does not return when the socket is closed. I've looked around f...
In my program, I need two different kind of timers, periodic timer and one-shot timer. I write the code in Attach Code Snippet. I get the output -------------------------------------- Period...
Hello one of my application that I have installed requires teh XML::Xerces module .I downloaded the module form the cpan org http://cpan.uwinnipeg.ca/module/XML%3A%3AXerces and followed ...
I've created a bash shell script that loops through a command file.  This command file performs a range of tasks across a range of servers. WORKS: If I place 'echo' in front of the commands...
i implement a simple bash script as below: #!/bin/sh <scp command to copy folder to Server B > <ssh remote restart mysql to Server B > sleep3 <scp command to copy folder to Serv...
hi, experts who can tell me where i can get the source code of trident blad 3d vga driver for linux
Experts  I need to rename a log file to log.YYYY_SEQ on the first day of each year or when the size reaches 1GB.   Obviously the "YYYY" means the current year. And "SEQ" equals the log count....
Hi, This should be simple, but I can't seem to make it work.  I just want to assign todays date (in any format) to a variable in a bash script. Can someone please tell me how this is don...
------------------------------------------------ I have the following script that I have written: #!/bin/ksh #Declare the types of the variables to be used typeset -i Cnt1=0  #File cou...
Hi, experts: I use the gSOAP toolkit to develop a web server program. The program can run on Ubuntu Linux. Now I would like to put this program into dd-wrt.v23_asus.trx firmware. At first ,...
Hi all. I'm making a bash script. I want it's output is printed to the console as well as to a file. How to do that ? Currently I do that plainly stupid like this --------------------...
I have a few shell scripts written and working on an AIX system. They do not work on Linux. One pbm that I get is that an Unexpected End of File is happening when running such a script on ...
I need to create a login script to add users to our FC4 box.  I am new to shell scripting.  Any help/hand holding would be appreciated. 1.  Prompt for username 2.  Execute command "sudo ad...
I have a file and wish to replace the string after certain characters with another pattern e.g. in file one line appears as :  2008-03-31 23:31:12,253 DEBUG FileBean -  ^F-12674^ :: process: ...
I have recently mode my development work to fedora 8 and need to enable core dumps to debug. fedora 5 I had to make several changes, which I've now forgotten. I've googled and applied the "unl...
Can someone help me with writing a script to restart a process running out of the inittab. Any links or suggestions would be great. Thank you.
Is it possible to share a serial port (tty) with 2 linux applications?  If so, what would the C++ code look like to open and configure this serial port (tty). I am new to linux, but have do...
Hi How can I access the serial port from kernel space ? (from a driver) From user space it's just like fd=open("/dev/ttyS0", ... ) But from kernel space it seems more difficult. I had...
PHP Linux Hello, How do I copy a file to multiple directories (either through command line or through a PHP script)? For example... I want to copy a specific file, index.php in /...