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...
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 ...
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...
Hi,
I've been using tortoise svn for windows (integrates into windows explorer). Is there any equivalent for linux based systems (fedora)?
Thanks
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....
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...
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...
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 there,
I am having some problem with my tomcat. It used to work, but now it seems like it is not running. Is there any way to check if it is running. I did ps -ef and it didn't show a...
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...
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 )
...
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, ...
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
Hi Experts
Can some linux expert tell me the best, popular and professional C++ IDE which runs on Linux.
-Bijo.
Hi,
I'd like to set priority levels for PThread on Linux platform. For my PThreads, there are 2 groups, one is real-time that needs to be higher priority and others (non-real-time) that can...
I'm at a total loss with this one.
This is an AWK scripting question. If someone can suggest a Perl solution, I'd take that one, too.
Of course I've already tried entering Alt-0162 and ...
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!
...
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:
--------------------------------...
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...
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...
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...
Hello, i have a little problem with a script:
This is the code:
#!/bin/sh
tempfile=$$.tmp
exec 2> $tempfile
answer="xxx"
if [ -e psybnc ] ; then
dialog --title "You are using the c...
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...