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

Forum: Programming / Scripting

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

  1. need specific script to move and rename files

    Hi everyone! I am a newbie to linux scripting. For linux Ubuntu 16.04.2 x64, I need a script that should do the following: Move all .pkg files...

    Started by greenunix, 4 Days Ago
    • Replies: 3
    • Views: 453
    3 Days Ago Go to last post
  2. Question auto WOL when plex server is unavailable (scripting help needed!!)

    Hello all! Im trying to configure a DD-WRT router to detect traffic to my media server, and when detected, pings the server and if no reply, send...

    Started by liggistUR, 2 Weeks Ago
    • Replies: 3
    • Views: 2,659
    2 Weeks Ago Go to last post
  3. Make chdir function by opendir, readdir, closedir, stat, lstat in C

    Hi! I wanna make my own function chdir, by another functions. This is opendir, readdir, closedir, stat, lstat. Can you help me?

    Started by ro12man3, 2 Weeks Ago
    • Replies: 1
    • Views: 226
    2 Weeks Ago Go to last post
  4. Cut from a string

    I have log files that are being labelled by the date. I would like to extract only the day from the log. So my logs are ...

    Started by locbtran, 2 Weeks Ago
    • Replies: 1
    • Views: 296
    2 Weeks Ago Go to last post
  5. Negate (if statement)

    I have logs files that I would like to see that have not been compress yet (gzip) I have this and it works but it checks if the files end in .gz. ...

    Started by locbtran, 3 Weeks Ago
    • Replies: 1
    • Views: 1,339
    3 Weeks Ago Go to last post
  6. regex: Finding all instances in file with start/end string

    I need to find all instances of strings starting with 0004f and ending in img. My script places the sample output (below) into a variable. I need...

    Started by jdh239, 4 Weeks Ago
    • Replies: 6
    • Views: 1,020
    4 Weeks Ago Go to last post
  7. Help needed for bash script school project (LONG POST)

    So I am taking the second section of Linux essentials and as we are nearing the end of the semester, we have a little scripting project due to show...

    Started by truly101, 4 Weeks Ago
    • Replies: 6
    • Views: 823
    4 Weeks Ago Go to last post
  8. Concatenating files

    Hi, I have 3 files in three different directory (their name is identical. Change only the number 1,2,3). I want do same change in the three files...

    Started by meme_14, 4 Weeks Ago
    • Replies: 6
    • Views: 511
    4 Weeks Ago Go to last post
  9. Entry Handling with AWK

    Hello everyone, I have an awk script that turns a text document with tabbed separated values into an "XML" document (without the xml headers) most...

    Started by Ethaniz3d, 04-20-2017
    • Replies: 9
    • Views: 888
    4 Weeks Ago Go to last post
  10. Question Increment same field within a single line multiple times?

    Hey Guys, I'm really new to scripting/programming and I've been tasked with injecting some data into a DB. For this to work the way that I want it...

    Started by simpletacos, 04-21-2017
    • Replies: 1
    • Views: 925
    04-22-2017 Go to last post
  11. Bash- filename

    Hi, I have a directory with some logs in common and combined format. I want to extract the name(wich I don't know its lenght) from the filename only...

    Started by meme_14, 04-21-2017
    • Replies: 3
    • Views: 487
    04-21-2017 Go to last post
  12. Question Bash script to read file and print certain lines

    Hello! I have this file that is constantly gathering data from website visitors: IP-ADDR : DATE : BITCOIN-ADDR I was wondering if there is a...

    Started by reevv, 04-19-2017
    • Replies: 6
    • Views: 715
    04-21-2017 Go to last post
  13. Reading reverse input

    #!/bin/bash let $pointer = 0 let $value = 0 echo "Input value" read uinput # At this point, I want to read the user input in reverse...

    Started by RTiger, 04-18-2017
    • Replies: 6
    • Views: 735
    04-21-2017 Go to last post
  14. sockaddr_dl in linux

    Hi there!! I am working with a code in Windows that uses the structure 'sockaddr_dl'. I want to use such structure in Linux but I can't find the...

    Started by jesusitoLinux, 04-17-2017
    • Replies: 1
    • Views: 499
    04-19-2017 Go to last post
  15. Lightbulb Software recommended to develop GUI/DB application

    Hi - I am looking for application software which is very use to use and faster development on Linux. 1. Application is stand alone, windows...

    Started by rbellary, 04-10-2017
    • Replies: 5
    • Views: 1,309
    04-18-2017 Go to last post
  16. Whats wrong with the script?

    #!/bin/bash if ; then echo 1 > counter.txt count=1 else count=`cat counter.txt` fi if ; then echo $((count+1)) > counter.txt

    Started by SwiftXShadow, 04-06-2017
    • Replies: 6
    • Views: 1,012
    04-07-2017 Go to last post
  17. Question CSHRC and PATH problem please help

    I'm doing some IVR programming and it uses Solaris 10. I know little about Unix, or CSH, but I think it's a problem with my .cshrc file. I was...

    Started by jstevanus, 03-29-2017
    • Replies: 1
    • Views: 783
    04-06-2017 Go to last post
  18. Angry Need help with tkinter with python 3

    I'm trying to learn tkinter my whole scripts is import tkinter import tkinter.messagebox import zipfile # zipfile for python 3.4...

    Started by lancebermudez, 04-05-2017
    • Replies: 4
    • Views: 746
    04-06-2017 Go to last post
  19. Post Triggering a script using POSTFIX....

    I have a mail server configured on my server (Postfix), I have a script which requires input to be provided to it. I would like to know if there...

    Started by davidbob, 04-04-2017
    • Replies: 5
    • Views: 484
    04-05-2017 Go to last post
  20. Error when trying to set new user password through bash script

    Hey All, I'm trying to troubleshoot this script I've written to create a new user on a server using bash scripting. The actual code is below #!...

    Started by ladycoder2098, 03-08-2017
    • Replies: 2
    • Views: 579
    04-04-2017 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
  •