Find the answer to your Linux question:
Page 100 of 615 FirstFirst ... 50 90 96 97 98 99 100 101 102 103 104 110 150 200 600 ... LastLast
Threads 1981 to 2000 of 12283

Forum: Programming / Scripting

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

  1. #define in c

    Hi, I had a head file, looks like #define MIN_NUM 10 #define MAX_NUM 10 is there any way to get "MAX_NUM" from 10? thanks.

    Started by laopi, 04-21-2011
    • Replies: 2
    • Views: 811
    04-24-2011 Go to last post
  2. Unhappy I need support in script

    Hi, I have little experience in Linux, so I ask for help. I need a script to do: 1 .- Compress (zip) entire directories...

    Started by _Frank_, 04-22-2011
    • Replies: 2
    • Views: 453
    04-24-2011 Go to last post
  3. Question function questions (bash)

    I have this project which I've been working on essentially nonstop for the past three days and due to work I am running low on time. I'm new to...

    Started by Maheka, 04-23-2011
    • Replies: 1
    • Views: 468
    04-23-2011 Go to last post
  4. help with context switch monitoring

    Hello all, as a part of a school project i am working on monitoring context switches i'm working on redhat 8.0, kernel version 2.4.18-14 and for...

    Started by urimo, 04-22-2011
    • Replies: 2
    • Views: 1,466
    04-23-2011 Go to last post
  5. c++ code editing in eclipse help on expanding {}

    I am new to eclipse and am having a hard time to find the function to expand or unexpand a block defined by {}. Could someone help me? Thanks.

    Started by deqiangs, 04-21-2011
    • Replies: 5
    • Views: 567
    04-22-2011 Go to last post
  6. dirname basename problem with files/dir with whitespace

    Hi, I am trying to write a bash script to sync newly founded files in my local harddisk with my external harddisk. There, I am facing trouble to...

    Started by imranka, 04-22-2011
    • Replies: 1
    • Views: 1,334
    04-22-2011 Go to last post
  7. Exclamation [SOLVED] Perl and Net:SSH

    Hello , I am trying to write a perl script which will give an interactive session to a user to execute command on the server. I have written a...

    Started by pratapsingh, 02-25-2011
    • Replies: 2
    • Views: 2,572
    04-22-2011 Go to last post
  8. Pyhon how to get the file descriptor.

    I create two script file name for "a.py" and "b.py", It's through socket connection. a.py's file writeing "os.pub(s.fileno,x)"create the file...

    Started by ibelieveme, 04-19-2011
    • Replies: 2
    • Views: 402
    04-22-2011 Go to last post
  9. File redirection does not work Bizzare

    When I execute the following command from the linux command line I get the output I want to the screen top –d 5 –b | grep –E “^Mem|average” ...

    Started by drhawkeye, 04-21-2011
    • Replies: 1
    • Views: 397
    04-21-2011 Go to last post
  10. Help with server/client using C

    Hi there. I'm new to socket programming and have a question about it... I wrote, with the help of a guide book, a code for a simple server, and...

    Started by gioravered, 03-11-2011
    • Replies: 4
    • Views: 696
    04-21-2011 Go to last post
  11. Processes, Threads & single semaphore to solve race condition

    Hi, I have written a simple piece of code incorporating 4 functions (A, B, C, & D). However I need to solve a race condition problem using a...

    Started by scooter1, 03-23-2011
    • Replies: 1
    • Views: 1,011
    04-21-2011 Go to last post
  12. Help with this code please.

    I've tried to do a FCFS or FIFO algorithm , so i did it in another language that I'm more familiar and tried to "translate" it. But i get unspecific...

    Started by Vmp3, 04-18-2011
    • Replies: 1
    • Views: 352
    04-20-2011 Go to last post
  13. Trouble with a bash script that finds offensive words

    I am trying to write a script that will display the following words: kill, bomb, Joe Smith, quit and steal. I need the script to report to the screen...

    Started by pauhn, 04-19-2011
    • Replies: 3
    • Views: 403
    04-20-2011 Go to last post
  14. Not able to add color in vi editor even after editing .vimrc

    Hi Guys, I have modified my ~/.vimrc file to add 'colorscheme morning' but even then it is not reflecting any colors in the vi editor. What do I...

    Started by nups24, 04-20-2011
    • Replies: 0
    • Views: 416
    04-20-2011 Go to last post
  15. How to detect if a file is used in write mode

    I have to read files from a linux server. When I copy a file I receivce just a portion of the file I expected if the process generationg ths file is...

    Started by afournier, 04-14-2011
    • Replies: 4
    • Views: 1,057
    04-20-2011 Go to last post
  16. [SOLVED] how do I add users with same name to system?

    I have a useradd script that can be found here: #!/bin/bash #useradd script while true; do echo Please Enter First Name - Pastebin.com I need to...

    Started by pauhn, 04-18-2011
    • Replies: 4
    • Views: 483
    04-20-2011 Go to last post
  17. rtp payloader for h261 in gstreamer

    Does anyone no how the rtppayload should work for ffenc_h261? I can't find one via gst-inspect | grep rtp or gst-inspect | grep h261. All of the...

    Started by JHenson, 04-15-2011
    • Replies: 3
    • Views: 847
    04-20-2011 Go to last post
  18. associative array declaration failure

    Hi I am trying to declare an associative array on the command line. I get the following error, could somebody explain this and reslove $...

    Started by kaaliakahn, 04-19-2011
    • Replies: 1
    • Views: 957
    04-19-2011 Go to last post
  19. redirection from a file to command

    Hi there, I am always confused about the redirection operator < Lets say i have a file input.txt that contains one word "hello" without the...

    Started by kaaliakahn, 04-18-2011
    • Replies: 2
    • Views: 467
    04-19-2011 Go to last post
  20. Query regarding eval

    Hi, I have a bash script that constructs a few varieties of action commands that get executed at the same point. The action will be different...

    Started by basillica, 04-18-2011
    • Replies: 2
    • Views: 374
    04-19-2011 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
  •