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 12879

Forum: Programming / Scripting

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

  1. Change Directory script

    CD.sh This script makes it easier to switch directories. It works in conjunction with the .bashrc file. It can only list up to 35 directories,...

    Started by battles, 3 Weeks Ago
    • Replies: 1
    • Views: 712
    3 Weeks Ago Go to last post
  2. regexp: Return all info between strings when pattern found

    I would like to parse a file I have and return all info between "^#\ file" and "^$" only when I find the pattern "r-x". I have been using regexp,...

    Started by jdh239, 3 Weeks Ago
    • Replies: 2
    • Views: 288
    3 Weeks Ago Go to last post
  3. Shell script run in a case statement call to run a php file, also Perl

    Linux System having all Perl, Python, PHP (and Ruby) installed From a Shell script, can call a Perl, Python, PHP (or Ruby ?) file eg eg a...

    Started by lse123, 08-14-2018
    • Replies: 3
    • Views: 888
    08-14-2018 Go to last post
  4. Lightbulb invalid use of undefined type ‘struct sched_param’

    Why am I having the following errors : invalid use of undefined type ‘struct sched_param’ ? phung at...

    Started by promach, 08-13-2018
    • Replies: 0
    • Views: 336
    08-13-2018 Go to last post
  5. Question Callbacks for operating system events

    Does linux have the notion of registering callbacks when certain operating system events occur ? As an example in my C++ code I would like to be...

    Started by eldiener, 08-04-2018
    • Replies: 0
    • Views: 795
    08-04-2018 Go to last post
  6. delete line based on match perl

    Greetings im running a command that captures a lot of lines. $ELEMENT = `./my command`; print $ELEMENT; i need to delete lines that contain a...

    Started by bishop2001, 07-17-2018
    • Replies: 2
    • Views: 1,279
    07-17-2018 Go to last post
  7. openSUSE 15: Unable to link using Makefile

    Hi, I am trying to compile Fortran 90 programs and have a Makefile for that. I want to link to netCDF libraries (openSUSE 15 provided ones). I...

    Started by samrat_rao, 07-09-2018
    • Replies: 1
    • Views: 1,168
    07-09-2018 Go to last post
  8. Question Formatting a Linux partition

    I have the need to be able to programatically format a thumb drive having a single Linux partition on it using C/C++. What function call(s) do I need...

    Started by eldiener, 07-08-2018
    • Replies: 1
    • Views: 445
    07-08-2018 Go to last post
  9. Cross Compile arp-scan for ARM

    Started by RiaPolly, 06-29-2018
    • Replies: 0
    • Views: 682
    06-29-2018 Go to last post
  10. configure command and compiler options

    I do not have much programming experience with running './configure' and then running 'make' or 'make' install, so I have very little knowledge of...

    Started by eldiener, 06-26-2018
    • Replies: 1
    • Views: 542
    06-27-2018 Go to last post
  11. sed split string

    Greetings, i have a string that looks like Network "123" "ABC" i need to make it look like: Network "123" Network "ABC"

    Started by bishop2001, 05-24-2018
    • Replies: 2
    • Views: 1,826
    05-26-2018 Go to last post
  12. 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, 05-03-2018
    • Replies: 9
    • Views: 1,451
    05-08-2018 Go to last post
  13. 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, 04-26-2018
    • Replies: 2
    • Views: 889
    04-27-2018 Go to last post
  14. 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: 1,274
    04-01-2018 Go to last post
  15. 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: 2,151
    03-31-2018 Go to last post
  16. 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: 701
    03-29-2018 Go to last post
  17. 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: 596
    03-29-2018 Go to last post
  18. 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: 755
    03-20-2018 Go to last post
  19. 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: 530
    03-19-2018 Go to last post
  20. 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: 641
    03-17-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
  •