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

Forum: Programming / Scripting

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

  1. Shell Scripting

    Hi, I would like to make a script and run it directly passing it the variable (file) that it needs. Example: count the lines of the file - instead...

    Started by paiale, 2 Weeks Ago
    • Replies: 9
    • Views: 609
    1 Week Ago Go to last post
  2. If 1th col of both file same, export line with max str of 2nd column

    please help to write a awk command-line programs to achieve the following functions: Thank in advance. Requeset Description: compare two files f1...

    Started by weichanghe2000, 3 Weeks Ago
    • Replies: 2
    • Views: 528
    3 Weeks Ago Go to last post
  3. how to create and use shred library in codeblocks

    hi to all i've centos 6.6 and codeblocks 16.01. i want to build shared object library file. I chosed as new->project->shared library, then...

    Started by rahulvishwakarma, 03-31-2018
    • Replies: 3
    • Views: 884
    04-01-2018 Go to last post
  4. I need to get a filename from a directory

    I am sure this is easy but I haven't found the easy way to do it. Here is the story. I have a directory with only one file in it. I need to use...

    Started by edlentz, 03-22-2018
    6 Pages
    1 2 3 ... 6
    • Replies: 58
    • Views: 1,159
    03-31-2018 Go to last post
  5. sed find replace after HOST string

    Hi Everyone, I have a xml file, where i need to find this HOST=dbhost.domain.com and then replace only dbhost.domain.com with db.one.in

    Started by ajays, 03-13-2018
    • Replies: 3
    • Views: 367
    03-29-2018 Go to last post
  6. Smile Help with excluding datasets.

    Hi All I am trying to sort data while running a command against an input file. This is what my command looks like: input file "idlist.txt"...

    Started by Kobus_Strydom, 03-13-2018
    • Replies: 2
    • Views: 287
    03-29-2018 Go to last post
  7. Error when intercepting open system call

    Hi, For an experiment, i'm trying to intercept open system call in LKM. Below is the __init function static int __init my_init (void) {...

    Started by djpexhibit, 03-20-2018
    • Replies: 0
    • Views: 509
    03-20-2018 Go to last post
  8. Lightbulb RIFFA linux driver c coding question

    Regarding "https://github.com/KastnerRG/riffa/issues/30#issuecomment-373602633" , how do I rewrite this code segments...

    Started by promach, 03-19-2018
    • Replies: 0
    • Views: 282
    03-19-2018 Go to last post
  9. Selecting a specific range of hard drives (Bash)

    Hey all, I'm looking to create a script that formats all hard drives plugged in to the computer, but protects the system drive. I'm working out of...

    Started by jmweathers, 03-16-2018
    • Replies: 2
    • Views: 337
    03-17-2018 Go to last post
  10. [SOLVED] Can someone help me get this script to work

    Hey Everyone I need some help.. I am writing a script to insert some gmail relay info into the sendmail config right after a specific match. below is...

    Started by boardgame, 03-16-2018
    • Replies: 9
    • Views: 578
    03-17-2018 Go to last post
  11. bash sed insert text after match

    Hey Everyone I need some help.. I am writing a script to insert some gmail relay info into the sendmail config right after a specific match. below...

    Started by boardgame, 03-15-2018
    • Replies: 4
    • Views: 358
    03-15-2018 Go to last post
  12. Script to search file systems for Hash Values

    Hi Guys, Firstly, Im a complete newbie when it comes to scripting, so thanks in advance for your patience :) Im looking to create a Linux...

    Started by superd, 03-13-2018
    • Replies: 5
    • Views: 446
    03-14-2018 Go to last post
  13. Prevent user from opening a binary file

    Hello Everyone! I am a bit new to Linux and in my latest project, I am trying to prevent the user from opening binary files. I feel this is simple...

    Started by Austin11, 03-10-2018
    • Replies: 3
    • Views: 436
    03-12-2018 Go to last post
  14. Script for extracting numbers from logs.

    Hello, I am looking for some help and or suggestions on what scripting language to use. I have a bunch of files that has a lot of data in it. I...

    Started by Hostingwiz, 03-05-2018
    • Replies: 2
    • Views: 416
    03-05-2018 Go to last post
  15. For loop iterating over a list of IP addresses from a txt file

    It's me again. I have the script working, but the script is not pinging the address 3 times and moving on to the next address. Also, the message that...

    Started by hebruiser, 03-04-2018
    • Replies: 4
    • Views: 393
    03-04-2018 Go to last post
  16. [SOLVED] How to make a WHILE loop iterate over script until user input stops

    howdy, Total newb here. I am learning bash scripting and am in the dark about this one. I need the while loop to prompt the user AFTER the initial...

    Started by hebruiser, 03-03-2018
    • Replies: 2
    • Views: 332
    03-03-2018 Go to last post
  17. libcurl with https

    Hi everyone! I am having problems trying to use libcurl with https support. This is an example code : #include <stdio.h> #include...

    Started by jesusitoLinux, 02-27-2018
    • Replies: 0
    • Views: 346
    02-27-2018 Go to last post
  18. Help to sort words with number in tcl...

    Hi, I have the following words and want to sort from smaller to larger by number: kinD0udfd kinD10sdsd kinD2kdfkndk kinD200idfido...

    Started by DoME69, 02-20-2018
    • Replies: 1
    • Views: 407
    02-20-2018 Go to last post
  19. Intelligent eval. of e-mail content (value extraction and comparison)

    Hi, I'm a Linux newbie and I wonder if there exists an e-mail client that solves my problem, or if I can solve it by pipelining the output from an...

    Started by MichalPL, 02-13-2018
    • Replies: 4
    • Views: 623
    02-14-2018 Go to last post
  20. c++ efficiency subject

    Hi there! This is a subject related to copy constructors and efficiency in C++. The following code snippet shows three functions: 'example1',...

    Started by jesusitoLinux, 02-10-2018
    • Replies: 0
    • Views: 428
    02-10-2018 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
  •