Find the answer to your Linux question:
Page 105 of 607 FirstFirst ... 5 55 95 101 102 103 104 105 106 107 108 109 115 155 205 605 ... LastLast
Threads 2081 to 2100 of 12129

Forum: Programming / Scripting

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

  1. Function to close the script

    Hi guys, it's my first time here, and unfortunatelly isn't for help someone, but i'll soon! My issue is: I'm doing a script to make some task but I...

    Started by tiagokb, 02-12-2011
    • Replies: 5
    • Views: 828
    02-13-2011 Go to last post
  2. Having troubles writing a vi script.

    I have to write a script that says Hello, . Today is . The time is . You have logged into a terminal. My script looks like this: DOW=`date...

    Started by pauhn, 02-11-2011
    • Replies: 1
    • Views: 575
    02-13-2011 Go to last post
  3. 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: 418
    02-11-2011 Go to last post
  4. 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: 3,666
    pmr
    02-10-2011 Go to last post
  5. 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: 717
    02-09-2011 Go to last post
  6. 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: 466
    02-09-2011 Go to last post
  7. 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: 3,436
    02-08-2011 Go to last post
  8. 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: 940
    02-07-2011 Go to last post
  9. 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: 28,481
    02-07-2011 Go to last post
  10. 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,039
    02-07-2011 Go to last post
  11. 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,128
    02-06-2011 Go to last post
  12. 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: 916
    02-06-2011 Go to last post
  13. 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: 2,392
    02-06-2011 Go to last post
  14. 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: 383
    02-06-2011 Go to last post
  15. 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: 2,867
    drl
    02-05-2011 Go to last post
  16. [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: 490
    02-04-2011 Go to last post
  17. 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: 809
    02-04-2011 Go to last post
  18. 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: 863
    02-03-2011 Go to last post
  19. 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: 419
    02-03-2011 Go to last post
  20. 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: 1,530
    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
  •