Find the answer to your Linux question:
Page 2 of 641 FirstFirst 1 2 3 4 5 6 12 52 102 502 ... LastLast
Threads 21 to 40 of 12805

Forum: Programming / Scripting

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

  1. Getting Cron Job to run bash command in bash script

    Howdy doody, This is my first post. :) I have been using linux for a couple of years now. Ubuntu for a few years and recently installed arch...

    Started by nerradsenyah, 06-22-2017
    • Replies: 1
    • Views: 230
    06-22-2017 Go to last post
  2. How to write program that find winner who choose the smallest number.

    In the game of “Unique”, multiple players privately choose an integer. They then reveal their choice. The winner is the player who chose the...

    Started by dantesma, 06-04-2017
    • Replies: 3
    • Views: 1,135
    06-16-2017 Go to last post
  3. Need to print 2nd & 3rd lines between pattern

    Hi I need an awk command for shell script to print 2nd and 3rd lines from the following pattern: <catetcissue0> cat /etc/issue - please review...

    Started by sharp488, 06-14-2017
    • Replies: 2
    • Views: 495
    06-14-2017 Go to last post
  4. expect script to scp via an intermediate host

    I found a command to directly scp my file to a host (C) via another host (B) from my computer. The command is in this form: scp...

    Started by Mostafa-Tavakoli, 06-11-2017
    • Replies: 1
    • Views: 711
    06-12-2017 Go to last post
  5. 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, 05-23-2017
    • Replies: 3
    • Views: 1,364
    05-24-2017 Go to last post
  6. 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, 05-11-2017
    • Replies: 3
    • Views: 2,940
    05-13-2017 Go to last post
  7. 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, 05-11-2017
    • Replies: 1
    • Views: 408
    05-12-2017 Go to last post
  8. 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, 05-09-2017
    • Replies: 1
    • Views: 414
    05-09-2017 Go to last post
  9. 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, 05-01-2017
    • Replies: 1
    • Views: 1,511
    05-02-2017 Go to last post
  10. 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, 04-27-2017
    • Replies: 6
    • Views: 1,268
    04-28-2017 Go to last post
  11. 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, 04-25-2017
    • Replies: 6
    • Views: 1,191
    04-27-2017 Go to last post
  12. 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, 04-25-2017
    • Replies: 6
    • Views: 705
    04-25-2017 Go to last post
  13. 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: 1,090
    04-24-2017 Go to last post
  14. 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: 1,019
    04-22-2017 Go to last post
  15. 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: 601
    04-21-2017 Go to last post
  16. 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: 896
    04-21-2017 Go to last post
  17. 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: 914
    04-21-2017 Go to last post
  18. 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: 690
    04-19-2017 Go to last post
  19. 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,492
    04-18-2017 Go to last post
  20. 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,145
    04-07-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
  •