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

Forum: Programming / Scripting

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

  1. [SOLVED] BASH Script - delete all files except some

    Hello, I need a script that delete all files in a folder except the last 3 new ones. As a command I can run la -tr | head -n -3 | xargs rm --...

    Started by Besixdouze, 01-17-2018
    • Replies: 5
    • Views: 737
    01-18-2018 Go to last post
  2. passing parameters into a node cli command

    hello - i have a linux command installed that was written in jScript/node. when i run the command at the command line, it might look like this: ...

    Started by edwardsmarkf, 01-12-2018
    • Replies: 1
    • Views: 365
    01-13-2018 Go to last post
  3. Is there a Linux Equivalent to VK Keys?

    Hi, I'm currently working on a video game, and aren't really happy with how the input system is currently working, I want a system that works...

    Started by SeveRM, 01-10-2018
    • Replies: 5
    • Views: 443
    01-12-2018 Go to last post
  4. Question What traces do shell commands leave behind ?

    Hello, I was wondering ... do shell commands leave traces other than in the command history file ? Let's say I opened a program or website or...

    Started by lucmatthews, 12-27-2017
    2 Pages
    1 2
    • Replies: 12
    • Views: 934
    01-02-2018 Go to last post
  5. helgrind shows race conditions with atomic types

    Hi there! Valgrind tool helgrind is reporting some race conditions with atomic variables. If you run the code in this link : atomic::atomic -...

    Started by jesusitoLinux, 12-29-2017
    • Replies: 0
    • Views: 271
    12-29-2017 Go to last post
  6. expanding a variable in another

    I have an script that it gets a command from the user. Sometimes I need to using a variable in the command. The variable is defined in a script,...

    Started by massy, 12-27-2017
    • Replies: 1
    • Views: 335
    12-27-2017 Go to last post
  7. set testing conditions when looping through text

    Hi experts: I'm a newbie in shell scripting, I'm trying to keep counts inside a while loop when reading in a txt or log file #!/bin/bash...

    Started by Annie69503, 12-25-2017
    • Replies: 3
    • Views: 466
    12-26-2017 Go to last post
  8. Newbie question about wildcards in scripts

    Hi! I have a question I could not solve by about an hour of google-ing - it might be a "stupid" question but I probably do just not know the right...

    Started by Dueffeldoffel, 12-17-2017
    • Replies: 3
    • Views: 533
    12-26-2017 Go to last post
  9. Get process id when trying to execute program

    Hello, I need help with getting process id into one file. I run my command like this java -jar autosniff.jar 2>&1 | tee -a /tmp/mylog 2>/dev/null...

    Started by Veltix, 12-20-2017
    • Replies: 5
    • Views: 731
    12-25-2017 Go to last post
  10. Backup script

    I need help with backup script. Bash script that is going to find files in /usr/share/doc older then a year, and create a tar.gz backup archive...

    Started by mad_max, 12-18-2017
    • Replies: 1
    • Views: 352
    12-18-2017 Go to last post
  11. Need help with Find and Copy to file with different extension in korn

    My command as formatted will copy filename.dat to filename.dat.txt. I would like to copy filename.dat to filename.txt. Can anyone shed some light...

    Started by dqmcghee, 12-13-2017
    • Replies: 1
    • Views: 393
    12-14-2017 Go to last post
  12. Need Help With Simple Dynamic DNS Script

    I need help writing a simple bash script that checks an IP using `dig +short url.ttld` then compares it to another hostname's IP using `dig +short...

    Started by samual, 12-10-2017
    • Replies: 1
    • Views: 636
    12-10-2017 Go to last post
  13. xargs always adds whitespace

    Hi I want to make a single line command, to start a application which needs my ip address. The problem is, that a whitespace is always added in...

    Started by hundsmiachn, 12-06-2017
    • Replies: 4
    • Views: 547
    12-06-2017 Go to last post
  14. sed, delimit specific ranges of found instances

    I have the following command: ps --no-headers axo user:1,pid:1,stat,pmem,rss,vsz,pcpu,cputime,lstart,etime,command | grep -v "no-headers" | tr -s...

    Started by jdh239, 12-05-2017
    • Replies: 1
    • Views: 265
    12-05-2017 Go to last post
  15. Python script stops running without a trace

    I have a raspberry pi set up to act as a picture frame with a motion detector connected to it. For some reason the python script listening for the...

    Started by TheMayhem, 12-05-2017
    • Replies: 0
    • Views: 371
    12-05-2017 Go to last post
  16. I need help with linux shell script

    Hello :) I need little help with linux shell script. I have to done 1.,2. and 3. but i cant do 2. H Write a script that does the following: 1....

    Started by alex4o0o, 12-02-2017
    • Replies: 1
    • Views: 418
    12-02-2017 Go to last post
  17. [SOLVED] 301 redirect to the same url

    Hi there! I am sending http requests using this code : It works well for most of the http websites,...

    Started by jesusitoLinux, 11-26-2017
    • Replies: 1
    • Views: 477
    11-26-2017 Go to last post
  18. Can't link against libcurl statically

    Hi there! I am trying to compile my program against libcurl statically, with no success. I compiled libcurl with this configure instruction : ...

    Started by jesusitoLinux, 11-18-2017
    • Replies: 3
    • Views: 614
    11-19-2017 Go to last post
  19. Red face BASH Script - listing files and their types from directory

    Hello. I have a small problem. I want to create a script that lists every file from exact folder and adds their file types. For example : If...

    Started by maron, 11-18-2017
    • Replies: 7
    • Views: 410
    11-19-2017 Go to last post
  20. mv command isn't working...?

    mkdir -p /home/tony/Desktop/jpgfolder; mkdir -p /home/tony/Desktop/docxfolder; mkdir -p /home/tony/Desktop/giffolder; mkdir -p...

    Started by humblemetsuke, 11-09-2017
    2 Pages
    1 2
    • Replies: 12
    • Views: 703
    11-19-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