Find the answer to your Linux question:
Page 47 of 644 FirstFirst ... 37 43 44 45 46 47 48 49 50 51 57 97 147 547 ... LastLast
Threads 921 to 940 of 12869

Forum: Programming / Scripting

Request help with C/C++, Perl, PHP, Python, Ruby, Bash Scripts, or other Linux programming/scripting related issues

  1. time(NULL) returning a wrong value?

    Hi, I have this simple piece of code in main to do some things every 2 seconds: time_t t_send, ttemp; t_send = 0; while(1){ ttemp =...

    Started by occam25, 10-15-2013
    • Replies: 6
    • Views: 1,868
    10-16-2013 Go to last post
  2. Sort numbers in tab-separated file line per line

    I have a big file with numbers (tab-separated) for instance: 100 26 36 4 8 56 100 80 36 55 59 78 100 38 96 59 77 66 100 52 59 ...

    Started by corfuitl, 10-07-2013
    2 Pages
    1 2
    • Replies: 16
    • Views: 1,493
    10-15-2013 Go to last post
  3. how to get the tcp header of a received packet in socket programming?

    I want to get the TCP header of each received TCP packet (destined for a specific program,namely, a port) it seems not possible to use recv() or...

    Started by esolve, 03-14-2013
    • Replies: 1
    • Views: 680
    10-12-2013 Go to last post
  4. Geany execution problem

    Hi,I I'm learning to program in c++*and have to use the geany IDE. All was well and now when I*execute a program (which compiles fine) I get the...

    Started by alexbcg, 10-11-2013
    • Replies: 2
    • Views: 3,557
    10-12-2013 Go to last post
  5. Playstation Buzzers programming

    Hi, Is there example code available how to control PS3 wired Buzzers in Ubuntu? There is sony-hid.c driver available, but no idea how to use it.......

    Started by zuiger, 10-11-2013
    • Replies: 0
    • Views: 593
    10-11-2013 Go to last post
  6. Are shared memory pointers valid through different processes?

    I have a process that creates, open and attach a shared memory region in main().Then, I fork() that process ant I find i CAN directly use the...

    Started by lunix, 10-09-2013
    • Replies: 1
    • Views: 957
    10-11-2013 Go to last post
  7. Incrementing parts of ten digits number by parts

    I have number in file which contains date and serial number: 2013101000. The last two digits are serial number (00). So maximum of serial number...

    Started by Manu1234567, 10-10-2013
    • Replies: 1
    • Views: 582
    10-11-2013 Go to last post
  8. How to get sector numbers of a file

    Hi, We are developing Android application (Android UI and C application through JNI) and File system is ext4. Is there any Android API or Linux...

    Started by joshua2009, 10-08-2013
    • Replies: 2
    • Views: 520
    10-10-2013 Go to last post
  9. Help with BASH script using EXPECT to TELNET

    Hello, I am not new to bash scripting but I'm new to advanced scripting. I am writing a rather large script (for me) and I'm taking it one step...

    Started by jwcalifo, 10-07-2013
    • Replies: 4
    • Views: 8,677
    10-09-2013 Go to last post
  10. Perl - Count the number of subwords occurrence

    hi all, I want to compare two sentences and find the highest co-occurrence of words. For instance the result for the: This phrase has five words....

    Started by corfuitl, 10-07-2013
    • Replies: 3
    • Views: 632
    10-08-2013 Go to last post
  11. Need Find & Convert Shell Script To Loop

    Hello Everyone, This is literally my first script so please go easy on me :) #!/bin/bash # # find ~/Projects/Scripts/ -iname "*.avi" | \ while...

    Started by alteredstate, 10-02-2013
    2 Pages
    1 2
    • Replies: 13
    • Views: 1,696
    10-07-2013 Go to last post
  12. RTC alarm in bash - problem with audio volume control

    Hello, I've written an alarm in bash which uses rtcwake to wake the computer up if it is turned off and runs as a service from rc.d in order to be...

    Started by kyselejsyrecek, 09-27-2013
    • Replies: 5
    • Views: 1,170
    10-04-2013 Go to last post
  13. Sudo problem in automation script

    Hi, I am not sure if this is technically the best place for this problem but it is within a script so maybe it is. So I have 2 users. First is...

    Started by ninjonxb, 10-02-2013
    • Replies: 4
    • Views: 1,150
    10-03-2013 Go to last post
  14. Multiple Transformations using XSLTPROC

    Hello, I have several xml files which I would like to transform which are located in a single directory. I use same xslt to transform all files and...

    Started by NOEL ALEX MAKUMULI, 10-02-2013
    • Replies: 1
    • Views: 1,098
    10-03-2013 Go to last post
  15. Making a script to parse simple XML and send it to variables.

    Hello, I'm trying to pass a variable to sed that contains XML. From this XML I would like to extract the parts contained between <image_viewer>...

    Started by yakaman, 10-02-2013
    • Replies: 2
    • Views: 1,066
    10-03-2013 Go to last post
  16. BASH conditionals: Testing $?

    Hello: Here are some easy but not so useful examples of my questions. 1. What is the proper way to have a conditional using the $? result? Is...

    Started by bandeg, 06-25-2013
    2 Pages
    1 2
    • Replies: 19
    • Views: 2,250
    10-02-2013 Go to last post
  17. bash, ls, and [] - basis for a script to list contents

    To simplify things, I am illustrating the problem, just using the command line. Here is a list of the contents of a folder (all filenames):...

    Started by mgdlinuxf, 09-25-2013
    2 Pages
    1 2
    • Replies: 15
    • Views: 2,045
    09-29-2013 Go to last post
  18. Binary file

    Hi, I have an introduction calss to Linux. My professor asked if is it possible to modify a binary file from the shell. I found hexdump and xxd...

    Started by linus_, 09-27-2013
    • Replies: 1
    • Views: 662
    09-27-2013 Go to last post
  19. Best Linux programming langauge??

    I've been using Linux distros for about more than a year now, I would really like to take it up another level and begin programming in Linux. I want...

    Started by owemeacent, 09-22-2013
    • Replies: 7
    • Views: 1,195
    09-27-2013 Go to last post
  20. Escaping quotes in shell

    I have the following shell line script: a=$(prog2 $(prog1 "$var")) I am putting $var in quotes just in case $var has a delimiter in it, so prog1...

    Started by LiteHacker, 09-24-2013
    • Replies: 1
    • Views: 511
    09-25-2013 Go to last post

Thread Display Options

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.

Icon Legend

Contains unread posts
Contains unread posts
Contains no unread posts
Contains no unread posts
More than 15 replies or 150 views
Hot thread with unread posts
More than 15 replies or 150 views
Hot thread with no unread posts
Closed Thread
Thread is closed
Thread Contains a Message Written By You
You have posted in this thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts