Request help with C/C++, Perl, PHP, Python, Ruby, Bash Scripts, or other Linux programming/scripting related issues
I have 50 files in the following format.
i m new to network programing and Linux also.
i have a simple client and sever program in C language. in which client is requesting some...
i need a help to change a binary file, let's say to find and replace username:
find string: "/home/name/bla-bla-bla/ ...
I've written a usb device driver and a program that sends and receives data over the bulk pipe. The read function sometimes returns -1 when I'm...
I understand that $! is the PID of a command. For example:
echo "PID of myprogram is $!"
I trying to extract via command line the latitude and longitude with this command
curl -s 'http://maps.google.com/maps?q=Madrid, Spain'
Hi, I'm stuck here with a segmentation violation error during execution. I got no error when compiling. I'm quite new to c++ but I beleive it has...
I need to have one shell script, which shows me
Disk space, memory uses and shoots a mail on particular time interval.
What I need for my script is to read something from a file. In that file are random number up to 10 numbers, and the script must read these numbers...
I am trying to make a random sentence generator in perl.
So far I can loop it x times to make a fixed quantity of words, but I don't want to do...
i am trying to make a simple chat application using fifos. This is what i tried:
Hi, when i use this function usb_interrupt_write returns -2. In help page says that a number < 0 is an error. But before it returns -32 (it was...
This works fine and well, but what if you want to append a / at the end of the line?
sed 's/$///' filename doesn't work.
i created a simple web hosting registration bash script that creates a new user in my web hosting system. Problem is that i want to...
I have two files;
I have a bash startup script implemented with update-rc.d.
It does not launch the programs I have scripted it to in a normal boot, but it does...
I posted this before, but somehow I guess my post got lost in cyberspace. :( Im extremely new to AWK. I have a scenario where I need to...
I'm new to this one, please help me out, I'm trying read serial COM port and want to write that received data to file, now its writing only...
I can use the convert command to convert a single image from PNG to XPM, but cannot get (my first) script to work. I want it to convert a directory...
1) I need to search a field value to check for exact 0. If the number is 0, it should throw error.
The line to be searched looks like...
Use this control to limit the display of threads to those newer than the specified time frame.
Allows you to choose the data by which the thread list will be sorted.
Order threads in...
Note: when sorting by date, 'descending order' will show the newest results first.