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 12891

Forum: Programming / Scripting

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

  1. 'sed' with Positional Parameters

    I'm new with 'sed' and for sure something still I don't understand yet with it. If you see my output on ">Output..." portion, the new directory still...

    Started by royrsb, 09-03-2019
    • Replies: 1
    • Views: 3,913
    09-03-2019 Go to last post
  2. Power failure while writing to SD card, and sync command behavior

    I'm writing an application which uses a 3rd party library to write data (a video stream) to an SD card. The problem is that if the power fails (as...

    Started by Syndacate, 07-19-2019
    • Replies: 1
    • Views: 1,915
    08-29-2019 Go to last post
  3. How to Execute After Read?

    In zsh, If i press enter before the read is finished, then the last echo command gets executed. Great! echo 'hi' && read -t 10 && echo 'bye' ...

    Started by johnywhy, 08-04-2019
    • Replies: 1
    • Views: 1,712
    08-04-2019 Go to last post
  4. How do I compare 2 csv files

    I ran the below script on some usb harddrives that I have . I want to see if the file1.csv has repeats of the sha256 file hash in it. I also want...

    Started by lancebermudez, 07-08-2019
    • Replies: 0
    • Views: 1,311
    07-08-2019 Go to last post
  5. Question python 3 continue program running after except

    was told to use pass but the program just ends how do I keep it going? import os import hashlib import sys start_path = '/home/lance' #...

    Started by lancebermudez, 07-05-2019
    • Replies: 0
    • Views: 685
    07-05-2019 Go to last post
  6. Function in for loop, passing to ssh, heredoc involved

    I have the following script. The function, in and of itself, works correctly on the guest system when not passing it via ssh. #!/bin/bash ...

    Started by jdh239, 06-05-2019
    • Replies: 1
    • Views: 1,312
    06-05-2019 Go to last post
  7. [SOLVED] Bash Rsync over ssh with key issues

    Hey group so this is something I have been trying to get to work for a while and it is kicking my butt. This script is called by qbittorrent...

    Started by dpreviti, 03-28-2019
    • Replies: 0
    • Views: 2,118
    03-28-2019 Go to last post
  8. Array variable doesn't update

    I have a script that I want to use to update google DNS for my domain. The username, password, domain, etc for the DNS update are lines in a txt...

    Started by edlentz, 01-28-2019
    • Replies: 0
    • Views: 3,156
    01-28-2019 Go to last post
  9. 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: 4,651
    11-13-2018 Go to last post
  10. 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: 2,576
    11-13-2018 Go to last post
  11. 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: 1,681
    11-07-2018 Go to last post
  12. 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: 1,801
    11-01-2018 Go to last post
  13. 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: 2,313
    08-30-2018 Go to last post
  14. 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: 1,883
    08-24-2018 Go to last post
  15. 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: 2,631
    08-14-2018 Go to last post
  16. 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: 1,719
    08-13-2018 Go to last post
  17. 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: 2,033
    08-04-2018 Go to last post
  18. 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: 2,936
    07-17-2018 Go to last post
  19. 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: 2,556
    07-09-2018 Go to last post
  20. 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: 1,776
    07-08-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