Find the answer to your Linux question:
Page 1 of 619 1 2 3 4 5 11 51 101 501 ... LastLast
Threads 1 to 20 of 12376

Forum: Programming / Scripting

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

  1. ! for not matching bash regex

    In a bash-script, only the case if a regular expression does not match is relevant. Therefore I used the exclamation mark !. But where to place it?...

    Started by Lahntaler, 01-13-2011
    • Replies: 2
    • Views: 11,702
    01-13-2011 Go to last post
  2. #!/bin/sh

    goodmorning (here anyways), I've been busy with scripting with linux. A simple useradd script and a userdell. Script: #!/bin/sh for i in...

    Started by basdijkstra, 09-02-2010
    2 Pages
    1 2
    • Replies: 10
    • Views: 2,541
    09-07-2010 Go to last post
  3. #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: 869
    04-24-2011 Go to last post
  4. #include <AL/al.h> #include <AL/alc.h> ------- Help on where to get these.....

    I am using Fedora Core 4. I was/am trying to ----ummm....---- build my own Blender 3d program from source for various reasons (I might be just...

    Started by upidStay, 11-23-2005
    • Replies: 5
    • Views: 19,928
    11-26-2005 Go to last post
  5. #include <iostream>

    Aloha, When doing c++, where do I find and insert the include files? Sorry if this seems like a stupid question. Also, any good books out there...

    Started by Hiko, 09-29-2005
    • Replies: 8
    • Views: 17,843
    07-24-2011 Go to last post
  6. #include linux/*.h in eclipse

    Hello, I included linux/firmware.h file in my code: #define __KERNEL__ #include <linux/firmware.h> Eclipse couldn't see it, so I...

    Started by vita, 09-08-2007
    • Replies: 4
    • Views: 1,646
    02-05-2008 Go to last post
  7. Question $ simple use of the dollar sign $

    i am trying to write to a new file (filename) using cat and i require to use a $ as this is in the previously written script, but when i was testing...

    Started by OOdle nOOdle, 07-05-2007
    • Replies: 1
    • Views: 5,874
    07-05-2007 Go to last post
  8. $1 and $LINES Query

    Hi All, whilst I enjoy spinning people with the following, "Nah, mate, don't use Windows", which usually gets the suprised response, "oh, what do...

    Started by downdogWoof, 04-28-2005
    • Replies: 3
    • Views: 858
    04-28-2005 Go to last post
  9. $1 variable in multiple instances of same script

    I am running a script that can run as many as 10 simultaneous times. During my testing, i noticed that if the script starts while another is in...

    Started by Plight, 05-27-2010
    • Replies: 2
    • Views: 689
    05-27-2010 Go to last post
  10. $CLASSPATH "No such file or directory" warning?

    Hi, I Set-up Java SDK 6 on Ubuntu 7.04 not long ago. At first when i tried running a simple .class i was getting "missing class" error. I Checked...

    Started by hughitt1, 05-02-2007
    • Replies: 1
    • Views: 1,650
    05-04-2007 Go to last post
  11. $diff java javascript

    i want to know if there is any difference betwen java and javascript... are they the same thing?

    Started by jan1024188, 10-07-2006
    • Replies: 3
    • Views: 813
    10-07-2006 Go to last post
  12. Poll Poll: $end error

    Whats wrong with this file Heres the error message: Parse error&#58; syntax error, unexpected $end in C&#58;\Program Files\Apache...

    Started by napolian, 09-10-2005
    • Replies: 4
    • Views: 924
    09-11-2005 Go to last post
  13. $ips->{"@$row[0]"}->{"@$row[1]"}=test_ip(@$row[1]) in perl??

    Now I can understand $ips->{"@$row"}=test_ip(@$row); $ips was the scalar now which has become a hash ref and we are intializing the key...

    Started by jaigs_27, 02-20-2008
    • Replies: 0
    • Views: 499
    02-20-2008 Go to last post
  14. ${file##*.} and ${file%.*} explanation?

    I'm new to bash scripting. I been using a nifty tool to get the basename and extention for a filename. Example: file=blarg.txt echo...

    Started by Katherine, 05-26-2010
    • Replies: 2
    • Views: 522
    05-27-2010 Go to last post
  15. % encounter at the same place, how to?

    Hi all, I have written a cp progress bar that gives out the % of completion, but there is a slight hitch... I am unable to get the numericals at...

    Started by wrapster, 06-08-2008
    • Replies: 3
    • Views: 477
    06-09-2008 Go to last post
  16. Question %02X doesn't work in printf (Debian 5)

    Debian Release 5.0.4 (lenny) Kernel Linux 2.6.26-2-686 gcc (Debian 4.3.2-1.1) 4.3.2 The format character "%02X" doesn't work when and only when...

    Started by Shimmey, 04-07-2010
    • Replies: 2
    • Views: 2,879
    04-09-2010 Go to last post
  17. %CPU & %MEM utilization

    Hi, I am trying to write a program in perl to calculate the cpu and processor utilization of a particular process (for example : mozilla). The output...

    Started by suresh_v_2k2, 05-13-2007
    • Replies: 5
    • Views: 2,714
    05-14-2007 Go to last post
  18. %post script in kickstart and locate

    Does anyone know what the default directory is for things run in %post? Some background to make the question make sense: I am trying to use post...

    Started by vistal, 05-04-2011
    • Replies: 0
    • Views: 813
    05-04-2011 Go to last post
  19. %preun is passed with value 0 to $1 during upgrade

    Hi, I have used "Obsoletes" in my RPM spec file to rename my old rpm package. When I am trying to upgrade from the old (obsolete) package, the...

    Started by supratik_sekhar, 06-15-2009
    • Replies: 0
    • Views: 675
    06-15-2009 Go to last post
  20. << >> Overload problem with g++

    So I'm writing a program for my class and have been working on a windows machine until I got home today and tried to run the program on my linux...

    Started by Matik, 03-07-2009
    • Replies: 0
    • Views: 734
    03-07-2009 Go to last post

Page 1 of 619 1 2 3 4 5 11 51 101 501 ... LastLast

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