Request help with C/C++, Perl, PHP, Python, Ruby, Bash Scripts, or other Linux programming/scripting related issues
I am writing an expect script and I wish to use environment variables that are defined outside of the script.
How can I do that?
Hello. I have wrote a simple perl script (see below) that executes a RAID status command on a remote machine over and emails the output of the...
I need to convert in C a string to a float with 1 decimal:
%s -> %.1f
unsigned long long *convert;
l1 -> 1024.1 (gets this...
I have a program that receive user input.
I want to run this program automatically without user interaction, and in order to do that I need to...
I have a situation where I am in a non-interactive shell. Therefore I do not see the output of anything I type unless I do like so:
ls -al >...
I have what should be a relatively simple program (fadec.c) that maps a struct from an included header file (fadec.h) to a shared memory region, but...
I created a hard link
"some stupid text"
then ln file1 file2
"some stupid text"
I am trying to create some batch commands for many html pages I need to re-format.
I am trying the number 2b in this example to wrap...
I would like to know how do I print the line # in a script. My requirement is, I have a script which is about ~5000 lines long. If there are any...
hehe. sorry, thought it was funny.
so i am trying to edit sshd_conf files to change the "#Port 22" to "Port 22" from a script.
I have tried...
I am having a problem with gtk_message_dialog_new (RHEL5). I am trying to create a message box with no buttons, but when I do that, the text...
Trying to make a lua script out of the following conky code:
#trim torrent name to this many characters
I'm new to Bash scripting, and I've written a little test script to take and validate user input (3 arguments):
Is there any way to protect a bash script with a digital signature, so that it can't be executed if it has been meddled with? Or, if this is not...
suppose I have a line that looks like this:
13:47:54.830735 192.168.168.65.54487 184.108.40.206.80: 336
and I want it to look like...
i have a library which uses mmap to map big files into memory. At some point, mmap fails with ENOMEM. And from what i understand, mmap uses...
I have a similiar problem which korlans had few months ago.
I have a piece of software based on article from some website but instead ttyS0 i...
I have a bash script which uses "ssh -t -t <destination> <command>" to invoke a command on a remote machine. <command> is a script which invokes...
Hi, I hope somebody can help me with this. I'm sending a character array over the serial port from one PC to another using c. The following code is...
I have designed and one form and php code to send mail. I am developing this in my localhost,
So now i want to send email from my...
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.