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

Forum: Programming / Scripting

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

  1. sed -- reperforming operation for each instance found

    I need to change the vif (virtual interface) mac address within a file. I may have anywhere from 1 to 5 different mac addresses to change. I would...

    Started by jdh239, 11-13-2018
    • Replies: 1
    • Views: 1,309
    11-13-2018 Go to last post
  2. Angry Having trouble installing pyqt5 on ubuntu 16.04

    DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu 16.04.5 LTS" can not upgrade yet to the 18 version...

    Started by lancebermudez, 09-22-2018
    • Replies: 1
    • Views: 1,137
    11-13-2018 Go to last post
  3. regex and sed

    I haven't used regex with sed before. I have a syntax issue, but don't know how to correct it. Consider the following:...

    Started by jdh239, 11-07-2018
    • Replies: 1
    • Views: 407
    11-07-2018 Go to last post
  4. having issues with indentation in a tiny python script

    dear community, fairly new to python - have tried to fix the issues but i struggle with that having issues with indentation in a tiny python...

    Started by gibraltar, 10-31-2018
    • Replies: 2
    • Views: 394
    11-01-2018 Go to last post
  5. Change Directory script 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, 08-30-2018
    • Replies: 1
    • Views: 1,089
    08-30-2018 Go to last post
  6. 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, 08-24-2018
    • Replies: 2
    • Views: 519
    08-24-2018 Go to last post
  7. 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: 1,141
    08-14-2018 Go to last post
  8. 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: 617
    08-13-2018 Go to last post
  9. 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: 1,012
    08-04-2018 Go to last post
  10. 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,513
    07-17-2018 Go to last post
  11. 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,387
    07-09-2018 Go to last post
  12. 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: 647
    07-08-2018 Go to last post
  13. Cross Compile arp-scan for ARM

    Started by RiaPolly, 06-29-2018
    • Replies: 0
    • Views: 848
    06-29-2018 Go to last post
  14. 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-27-2018
    • Replies: 1
    • Views: 731
    06-27-2018 Go to last post
  15. 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: 2,190
    05-26-2018 Go to last post
  16. 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,795
    05-08-2018 Go to last post
  17. 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: 1,104
    04-27-2018 Go to last post
  18. 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,486
    04-01-2018 Go to last post
  19. 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,886
    03-31-2018 Go to last post
  20. sed find replace after HOST string

    Hi Everyone, I have a xml file, where i need to find this and then replace only with

    Started by ajays, 03-13-2018
    • Replies: 3
    • Views: 910
    03-29-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