I am having difficulty splitting a colon-delimited string and assigning the
tokens to an array in a bash shell script. I want to assign the passwd fields
returned by `id -P username` to an ...
I have a file with the following format:
d 28854 cpmnt open username owner 3 062 description of problem
d 28855 cpmnt open username owner 3 06...
hi!
I'm trying to figure out a way to get the IP addresses associated with all network interfaces in my laptop. I have two interfaces :
1) eth0 - ethernet
2) eth1 - cisco wireless card
...
Hi all,
how can I spilt a comma separated string into an array. What I want to do is to extract all string
parameters of an function out of an C source code file. So One line could be e.g....
Hello there ...
I was thinking about Switching to Linux (Putting in Mind that Im a Windows User :P)
so I saw many Names and Versions for Linux...
Like Redhat,Mandrake .... etc ...
So i ...
Hi
I need to get the PID of a program from a bash script.
The Script will be something like as follows
#!/bin/bash
# I need the pid of process created by the PHP Script that follow...
Hello. Using bash, I would like to check all the files in /data directory for the words: basher one
and replace them with the words: smasher two
Any ideas?
Hi,
I've been using tortoise svn for windows (integrates into windows explorer). Is there any equivalent for linux based systems (fedora)?
Thanks
WHat is the best PHP Editor for Linux. I am thinking of switiching over to Knoppix for when I program since I Like the feel of it and would like to know if there are any php editors for it. Th...
in my program,i am using different pthreads,and trying to connect to some servers ,recivining and sending data,i am getting Broken Pipe error, and program exiting,
some body said,it is proble...
Dear BASH guru.
I have two simple questions.
1. How to trim a string
e.g:
I have " aaaaa" ----> I want "aaaaa"
I have "bbbbb " -----> I want "bb...
I have a series of files named "BandPics 001.jpg" etc and I need to rename them to get rid of the space, using a Linux bash script, and give them a different prefix which is more descriptive, ...
Hi All,
I'm using a simple program to test itoa() function in Red Hat 6.2. The program as follow:
////////test.c/////////////////
#include <stdio.h>
#include <stdlib.h>
int main( void )
...
Hello,
I'm fairly new to Linux and although I can find my away around the basics and understand a lot of the concepts, I'm having trouble putting together a shell script to perform what see...
Hi Experts,
I want shell script to read values in CSV(comma seperated) file. But not a perl script. I need shell script.
CSV file will looks as follows:
--------------------------------...
how does one copy file in c or c++, linux ?
i'm getting 'undeclared' for copy, cp .. calls, don't want to use system calls
I have a BASH script that creates a directory of the current date, downloads files via psftp into that current date directory, then creates a text file of the list of files in that current dat...
I've been using Kdevelop 2.1 for the last month and I've had all kinds of problems...
-auto complete doesn't work 80% of the time...
-auto tabbing has TERRIBLE AI and doesn't have a clue wha...
There's so many information about memory of a process... I just don't know which one to use... which one do this and which one do that!!
Somebody help me!! I just spend to much time on this!
...
Over the past 2 years I have had RHEL ES 3 as my operating system, and today on a leased server I got RHEL 4 instead. I'm getting the following error...
libstdc++.so.5: cannot open shared obj...
i'm currently trying to read and write a stream of either integers or chars into a device plugged in a serial port.
i know that linux has a device for it under /dev
i tried using the stand...
Hi,
I have developed some app that uses web broswer as user interface with some ActiveX controls, but now I am considering to support web broswers in Linux, what's the equivalence for Activ...
hi there
I need help with the bash scripting.I am new to this scripting.
I need a script which would find the size of file given to it as parameter,if the size of the input file is zero then...
I have this piece of code.
printf("Exiting .");
sleep(1);
printf(" .");
sleep(1);
printf(" .");
sleep(1);
printf(" .");
sleep(1);
printf(" .");
I want to produce some sort of a...
Hello,
I'm trying write a simple script with sed, but can't seem to get it right. My problem is, I get comma delimted files with different records in it, and in one of the records is a field ...