Find the answer to your Linux question:
Page 115 of 617 FirstFirst ... 15 65 105 111 112 113 114 115 116 117 118 119 125 165 215 615 ... LastLast
Threads 2281 to 2300 of 12327

Forum: Programming / Scripting

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

  1. 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: 605
    02-13-2011 Go to last post
  2. 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: 452
    02-11-2011 Go to last post
  3. 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,015
    02-10-2011 Go to last post
  4. 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: 788
    02-09-2011 Go to last post
  5. 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: 497
    02-09-2011 Go to last post
  6. 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,877
    02-08-2011 Go to last post
  7. 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: 982
    02-07-2011 Go to last post
  8. 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,791
    02-07-2011 Go to last post
  9. 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,204
    02-07-2011 Go to last post
  10. 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,200
    02-06-2011 Go to last post
  11. 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,019
    02-06-2011 Go to last post
  12. 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,681
    02-06-2011 Go to last post
  13. 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: 427
    02-06-2011 Go to last post
  14. 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: 3,160
    02-05-2011 Go to last post
  15. [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: 531
    02-04-2011 Go to last post
  16. 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: 880
    02-04-2011 Go to last post
  17. 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: 927
    02-03-2011 Go to last post
  18. 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: 450
    02-03-2011 Go to last post
  19. 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,825
    02-03-2011 Go to last post
  20. 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: 579
    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