Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
18
Posts with Upvotes
15
Upvoting Members
7
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
6 Commented Posts
0 Endorsements
Ranked #977
~45.3K People Reached
Favorite Tags
Member Avatar for Shane_Warne

Hi all, Can you please tell me if there is a bash command in UNIX that is similar in functionality to XCOPY in Windows? XCOPY can copy who directory trees from a source folder to a destination folder, but from what I saw about the cp command in bash, it …

Member Avatar for davidchengnoc
2
3K
Member Avatar for gemni7

Hi all, For my project I have to send data from dos computer to a IP address ( i.e 216.152.xx.xxx port 57. I have no idea how to accomplish this task. PC is connected to internet. I can do this using microsoft windows. But i dont know how to do …

Member Avatar for dhanupatil
0
638
Member Avatar for Mayank Mathur

what command to use if i want to use both "from:" & "To:" field in same e-mail in Linux mail() supports subject , not "from" Sendmail() supports "from", not "subject" regards Mayank

Member Avatar for sftranna
0
612
Member Avatar for sandip.bhoi

Dear All, I have just started, playing with unix shell programming. I am in need to know, that how to get the position of cursor at unix shell. To set the cursor position i am using command # tput cup x y

Member Avatar for dethrophes
0
185
Member Avatar for natnit

My research group is trying to implement a hash table to reduce the effects of a very costly step in our calculations. Basically, it can take more than an hour to go from A to B, and B is something ridiculously simple, like a number between 1 and 100. A …

Member Avatar for Adak
-1
3K
Member Avatar for Asif_NSU

This is (supposed to be) a soln for a [URL=http://acm.uva.es/p/v1/101.html]ACM problem[/URL] But the program produces a runtime error. Can anyone spot the bug? [CODE] #include<iostream> #include<string> #define MAX 25 using namespace std; void print_blocks(); int return_initial(int a);//return all the blocks //on top of block a to their initial pos int …

Member Avatar for blackcloudbd
0
627
Member Avatar for winbatch

Hi Guys, So I'm trying to experiment with threads, though I'm running into some problems. Basically I'm trying to create multiple threads, where each thread is passed a different set of data. In my small example below, I'm starting off with a vector<string> of data. Each element of the vector …

Member Avatar for anurag.kyal
1
240
Member Avatar for captor

Hi All, I have a problem. I need to write a shell script to change the password. The user may want to change his own password by this script. He will have to provide the required 3 parameters i.e. old password, new password and retype new password as arguments in …

Member Avatar for milanshentu
0
2K
Member Avatar for moroccanplaya
Member Avatar for Iqbal_h_a

[code] Can anybody please tell me how to calculate/find total remaining(unused/free) memory in the system(using any functions)? Thanks Iqbal [/code]

Member Avatar for wsgeek
-1
449
Member Avatar for ashokkumarrsp
Member Avatar for SamY

I mean we create our own game engine which works well with vectors and can mainpulate the 3d card and sound cards.And works with USB control pads

Member Avatar for Pokeking
0
216
Member Avatar for Iam3R

Hi , this one is with respect to C. (i) when we use array an array index always starts from zero . is it a standard one? or compilers are implemented that way? if compilers are implented that way they must have followed some standard. (ii) the array name cannot …

Member Avatar for Iam3R
0
87
Member Avatar for ice_tea_lemon

I find a problem which says An approximate value of pi can be calculated using the series given below: Pi = 4 [ 1 – 1/3 + 1/5 – 1/7 + 1/9 … + ((-1)n)/(2n+1)] Write a C++ program to calculate the approximate value of pi using this series. The …

Member Avatar for nekomata
0
161
Member Avatar for rinque

As mentioned in the title. I wrote a script that has pretty long execution time. Some user just close the window half way and in the end cause some file corrupted. Is there any way to prevent the user closing the window? (Like turn the 'x' button of the window …

Member Avatar for rashshell
0
125
Member Avatar for srishekh

Respected Sir/Madam I need to find out the execution time of a fragment of code. For that I am using time_t structure, but it gives time in seconds. And the value of CLOCKS_PER_SEC in my comp is 1000000. Will you please me in getting the time in milliseconds Thanks & …

Member Avatar for WaltP
0
579
Member Avatar for champ80

please tell me algorithm or code for following character sorting (Ascending) problem. For example Text file contains following data: 001, PSTR, abcdef, h.no.222 abcdefghik lmnopq rstuv, student, A-level 002, MKTO, abcdef, house. 2 abcdefghik lmnopq rstuv, student, rtv 003, LORR, abcdef, h.number.210 abcdefghik lmnopq rstuv, student, O-level 005, ASMP, abcdef, …

Member Avatar for emotionalone
0
574
Member Avatar for nihao

Hello everyone: I want to change this date "12 Apr 2006 23:35:47" into "2006-04-12 23:35:47",I have tested lots of parameters of the command "date",but it still not execute UNDER FreeBSD,pls help me,thanks!

Member Avatar for dklima
0
550
Member Avatar for modaslam

Hello Geeks, I am working on a program for date,month calculation. I found this code used to convert to Gregorian format for calculation. It would be great full for me if anybody can explain this ... like 0.75 yy/4 .4*mm what are these constants why m-1, yy-1 etc.. [CODE] long …

Member Avatar for modaslam
0
146
Member Avatar for tigrfire

Question Details: I have a homework problem which I've been working on for a couple of days now but being a non-CS major, I'm having trouble finding the solution. I'm going to post the problem in great detail, followed by my current code (which doesn't work). Problem Two phrases are …

Member Avatar for mprice
0
251
Member Avatar for nehamore

i am writing a pogram where i have to find out which all computers are up on my lan...for this i have called shell script program from my C code which pings to all computers on lan....now i want the shell script to return to the C code "1" incase …

Member Avatar for jim mcnamara
0
392
Member Avatar for dave_nithis

I want a sample Date validation script using if loops. The script should first compare "year".If the year is lesser than the current year,It should go for "month" checking. I have the script that splits the date into year,month and date.I want only the checking part. My if loop checking …

Member Avatar for jim mcnamara
0
110
Member Avatar for Joncamp

What is the limit on how many records you can have in a table in Oracle? It must have a limit. Also, has anyone ever benchmarked Oracle on sorting records... say 1,000,000 records of a small record size, just 2 or 3 fields? :cheesy:

Member Avatar for debasisdas
0
3K
Member Avatar for sandy_b76

Hi All Gurus, I am new to scripting.. and want to know what is the meaning of each non zero exit codes from 1-255. Please help. Thanks in advance Sandy_b76

Member Avatar for sandy_b76
0
166
Member Avatar for math_man

[INLINECODE]#include<stdio.h> void print_message(void); void print_message(void) { printf("This is a bug\n"); } int main() { print_message(); }[/INLINECODE] I'm using VS 2005 SP1+SP for Vista on Vista buisness and as I wrote in Title when I have functions in my programs and I start debugging F10..F11, and debugger encounter a function instead …

Member Avatar for thekashyap
0
133
Member Avatar for pichels

Hi, I have created a convaluted and hacked script here for comparing unix dates. Can someone help me use calc or date w/ julian param or something to look back a week, a month or even a year and compare dates or add/subtract the dates somehow in a shell script? …

Member Avatar for dsmall
0
592
Member Avatar for stanats

i'm having this problem and i would like to ask for some ideas on how i will read a file backwards, that is, from end, read the file backwards(forward, naturally) by line.. thanks

Member Avatar for echobase
0
2K
Member Avatar for mnmustafa

Hiz well i m new in here n i m goin to have exam after 3 days :S i got stuckd in a question Q) Write a program to print the product of even numbers..... plz i m new with c langauge :S n i m having final exam jst …

Member Avatar for sweetleaf
0
129
Member Avatar for jlb_2_99

When using loop functions or statements which loop statement do you prefer to use that would be easy for a beginner like me to use: The do while loop, for loop, or while loop. I ask because I am to re-write my code from using the If statement to using …

Member Avatar for jim mcnamara
0
143
Member Avatar for bergy_nj

Hi.. im a newbie in shell scripting, and also new in this forum.. i understand the command below is just reading from /etc/passwd and getting whatever in field 1 and 3 (which are username and userID) after the cut the format will be username:uid my guess,its making the array with …

Member Avatar for ghostdog74
0
121