Find the answer to your Linux question:
Page 134 of 636 FirstFirst ... 34 84 124 130 131 132 133 134 135 136 137 138 144 184 234 634 ... LastLast
Threads 2661 to 2680 of 12702

Forum: Programming / Scripting

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

  1. what does below code do ??

    Hi, I have below code in perl : my($abc) = "fred<hello>3hello"; $abc =~ /^{2,4}<(+)>\d?\1$/; if (defined($1)) { print "$1\n"; } else {

    Started by abcdef1, 02-10-2011
    • Replies: 1
    • Views: 609
    02-11-2011 Go to last post
  2. Lightbulb SSH session via KSH in coprocess

    Hi, I want to connect via SSH to a router via a KSH script, I also use |& to put my SSH session in coprocess and still comunicate with her with...

    Started by C4N4rD, 05-26-2009
    • Replies: 3
    • Views: 4,789
    02-10-2011 Go to last post
  3. problem creating a large buffer

    Hi, I wonder if anybody has come across this before, I'm trying to create a large buffer in my program so that I can send, and then receive on...

    Started by dlucey, 02-09-2011
    2 Pages
    1 2
    • Replies: 10
    • Views: 1,033
    02-09-2011 Go to last post
  4. How to copy line to itself?

    Hi how do you copy an entire line and add that copy at the end of the same line? For example, sometimes I rename a collection of files with a...

    Started by Vinico, 02-06-2011
    • Replies: 5
    • Views: 704
    02-09-2011 Go to last post
  5. How can I use bind variables in an expect script

    Hi I am writing an expect script and I wish to use environment variables that are defined outside of the script. How can I do that? Thanks Ron

    Started by RonBigman, 02-08-2011
    • Replies: 6
    • Views: 4,817
    02-08-2011 Go to last post
  6. Perl script not running from cron

    Hello. I have wrote a simple perl script (see below) that executes a RAID status command on a remote machine over and emails the output of the...

    Started by paulorv, 02-07-2011
    • Replies: 1
    • Views: 1,161
    02-07-2011 Go to last post
  7. C code to convert a string to a float with 1 decimal

    I need to convert in C a string to a float with 1 decimal: %s -> %.1f char l1&#91;1024&#93;; unsigned long long *convert; l1 -> 1024.1 &#40;gets this...

    Started by andrewss, 02-13-2005
    • Replies: 5
    • Views: 29,483
    02-07-2011 Go to last post
  8. How can I simulate key strokes events in other processes in linux?

    Hi I have a program that receive user input. I want to run this program automatically without user interaction, and in order to do that I need to...

    Started by RonBigman, 02-03-2011
    • Replies: 7
    • Views: 2,699
    02-07-2011 Go to last post
  9. How to turn a non-interactive shell into an interactive shell?

    I have a situation where I am in a non-interactive shell. Therefore I do not see the output of anything I type unless I do like so: ls -al >...

    Started by signal, 02-04-2011
    • Replies: 2
    • Views: 1,468
    02-06-2011 Go to last post
  10. Dereferencing pointer to a shared memory struct

    I have what should be a relatively simple program (fadec.c) that maps a struct from an included header file (fadec.h) to a shared memory region, but...

    Started by arette, 02-05-2011
    • Replies: 1
    • Views: 1,309
    02-06-2011 Go to last post
  11. Hard links - deleting files

    I created a hard link vi file1 "some stupid text" then ln file1 file2 cat file2 "some stupid text"

    Started by icelated, 02-03-2011
    • Replies: 5
    • Views: 3,374
    02-06-2011 Go to last post
  12. sed command almost, not quite yet, works

    Hi gang, I am trying to create some batch commands for many html pages I need to re-format. I am trying the number 2b in this example to wrap...

    Started by thaitang, 02-06-2011
    • Replies: 0
    • Views: 542
    02-06-2011 Go to last post
  13. Bash: Printing the line number in bash script

    Hi, I would like to know how do I print the line # in a script. My requirement is, I have a script which is about ~5000 lines long. If there are any...

    Started by suryaemlinux, 02-04-2011
    • Replies: 3
    • Views: 4,015
    02-05-2011 Go to last post
  14. [SOLVED] sed dead redemption...

    hehe. sorry, thought it was funny. so i am trying to edit sshd_conf files to change the "#Port 22" to "Port 22" from a script. I have tried...

    Started by masam, 02-04-2011
    • Replies: 2
    • Views: 757
    02-04-2011 Go to last post
  15. Problem with gtk_message_dialog_new

    Hi, I am having a problem with gtk_message_dialog_new (RHEL5). I am trying to create a message box with no buttons, but when I do that, the text...

    Started by nedsnow, 02-04-2011
    • Replies: 0
    • Views: 1,072
    02-04-2011 Go to last post
  16. LUA scripting for Transmission

    Hi All, Trying to make a lua script out of the following conky code: #! /bin/bash #trim torrent name to this many characters trim=20 ...

    Started by jmadero, 02-03-2011
    • Replies: 0
    • Views: 1,276
    02-03-2011 Go to last post
  17. Need help with storing argument options

    Hello, I'm new to Bash scripting, and I've written a little test script to take and validate user input (3 arguments): #!/bin/bash # Input...

    Started by agntsgotnosecret, 02-03-2011
    • Replies: 0
    • Views: 635
    02-03-2011 Go to last post
  18. Digitally Signing Bash Scripts

    Is there any way to protect a bash script with a digital signature, so that it can't be executed if it has been meddled with? Or, if this is not...

    Started by jfmorales, 02-01-2011
    • Replies: 5
    • Views: 3,159
    02-03-2011 Go to last post
  19. Question little help with bash line formatting needed

    Hi there, suppose I have a line that looks like this: 13:47:54.830735 336 and I want it to look like...

    Started by RaginRob, 02-02-2011
    • Replies: 4
    • Views: 767
    02-03-2011 Go to last post
  20. mmap running out of memory

    Hi, i have a library which uses mmap to map big files into memory. At some point, mmap fails with ENOMEM. And from what i understand, mmap uses...

    Started by cruppstahl, 02-03-2011
    • Replies: 0
    • Views: 971
    02-03-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