Request help with C/C++, Perl, PHP, Python, Ruby, Bash Scripts, or other Linux programming/scripting related issues
Hi Guys, I'm writing a bash script and need to assign the result of diff to a variable. diff -u file1 file2 I've tried stuff like ...
Hi, i am totally noob in Linux. My problem is: i have 3 files with 2 colums in each. 1. column is a date, the second one consist a number. I...
Hey everyone, I'm brand new in programming with C. I need to read 3 columns from a file and do calculations on that. Here is the code which I...
Hi, I have a problem with sockets: I have a list of services at some hosts and ports, then I have to connect to each of them until I get one that...
Hello, I need to split string into characters and put then in the right order into an array. how to do that?
Hi all... I have a directory called dbrn. This directory contains an unknown number of subdirectories which in turn contain an unknown number of...
I have a generic script that builds up the parameters to call rsync. I am trying to add an optional set of parameters and pass this into a function...
I'm trying to write a program that calculates square roots. Unfortunately, I can't get it to work out. The method I am using is like this: ...
This sounds like it should be easy, but I can't get it to work. I need to write a program that can average the absolute value of 5 numbers that...
(schematic image attached) Hi, I am programming in C. My code has two threads, one for reading keyboard inputs and the other one for handling a...
A)) write a shell script that will 1-prompt the user for a file name 2-check to see if the file exists 3-create the file if the file does not...
hey hows everyone .... ok I'm having hard times solving this problem ... I got a file continue a list of last names, first names, and address ......
Hi guys, Having real problem here, I don't understand why this won't loop? What am I doing wrong? #include <stdio.h> int main()
Hello ! Right now I'm testing and learning kernel hrtimers functionality. I wrote this piece of module code: ... 15 static struct hrtimer...
Hi Everyone, I would like to share that our rsync has been slow lately. Even during inceremental backups, now I am still new to this but our...
Hi i am trying to make a script that will run a command on key press e.g if i am pressing "w" it would run a command but without me pressing the...
hey how r ya guys ... I was trying to solve this problem but im really sure that I didnt get to the right answer yet , I posted my attempt so if...
Hi, I am very new to shell scripting in Linux, i am trying to run the below script but i am getting a syntax error related to 'fi' can ...
output.txt ------------------------------------------------------------ Client connecting to 192.168.1.3, TCP port 5001 TCP window size: 16.0...
Hello I have directory which has many files and sub directories similar to what this command will do mkdir dir{1..100} && touch...
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.
Forum Rules