Request help with C/C++, Perl, PHP, Python, Ruby, Bash Scripts, or other Linux programming/scripting related issues
# vi test1 #!/bin/bash a="nmap -p80 xx.xx.xx.xx | awk '{print $2}'|grep open" b="open" echo if then
Hi, I have a Geiger Counter, and want to count the clicks coming from teh counter. I see several windows based programs for this, but I would...
I'm writing a web application that includes both JavaScript and PHP, and I've run into an apparent conflict between their syntax requirements. I...
I want to write a simple program to capture complete desktop screenshot in pure C on linux i.e no QT or Xlib
Assuming I have an executable: for (;;){ x=getchar(); if(x=='q') { printf("exit"); exit(0); } else printf("Press a...
I am looking for a scriptable solution for downloading tables that are embedded into webpages. If I wanted to save a table to a csv file what would I...
As I am a newbie in the field of PHP and use NetBeans 7.0 on Ubuntu 10.04LTS with Apache2 and MySQL 5.1.41 as database. I started a project in...
So I've been toying with assembly, and I decided to take a break from my reading to try to make something completely on my own. It returns the...
Hi, In my root directory i have folder1, folder2, folder3. The folder1 has folder1.1, folder1.2, folder1.3 subdirectories. Similary folder2 has...
the current root directory of fedora 15 is /var/www/html and since working as root is risky so i need to change my httpd root dir to ~/NetBeans...
I am having trouble redirecting I/O for ping when a host does not exist. For instance, ping http://www.123abc.com &> out ping: unknown host...
Hi all, I'm trying read a file in "/app/reports/myFile" using java (new File(path)). I'm get a exception java.io.FileNotFoundException, but the...
void swap(int *px, int *py) { int t; t = *px; *px = *py; *py = t; } swap(&a, &b);
Hi, I have a bunch of 2D XY points I would like to derive the concave hull, polygon (key here is concave and not convex). I have found qhull for...
Guyz, This cud be simpler but i aint gettin the correct lane. I need to change the current directory( directory from which am running the shell...
Please can someone help with my understanding of strucutre declaration and definition. In global.h I am declaring:- struct VariableMap{ void...
Hey everyone, So I'm writing a shell script to use LSHW to pull only specific information about a system for me, but I need to get the IF...
Hi Everyone, I'm new to linux so i apologize if this is a stupid question. basically im trying to be a little lazy. im wondering if its...
Ok please don't judge me or anything. This is for educational purpose. In fact it is my lab tutorial for a subject. I want to capture the users...
Script interfacing application I created a bash script to interface an application I wrote. The intention is this. The application does not have...
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