Find the answer to your Linux question:
Page 115 of 607 FirstFirst ... 15 65 105 111 112 113 114 115 116 117 118 119 125 165 215 ... LastLast
Threads 2281 to 2300 of 12134

Forum: Programming / Scripting

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

  1. Startup script ONLY for 1 user

    I need to know how / where to put a script that executes only for 1 username (actone) at login. I have the script already done. AND: How can I...

    Started by mackman, 12-13-2010
    • Replies: 1
    • Views: 397
    12-14-2010 Go to last post
  2. fortran makefile problem!

    I have made and compiled a programme,but the calculations are not good,because it has somehow problems with findfiff2d.o file(calulates travel-times...

    Started by milosavpejic, 12-13-2010
    • Replies: 9
    • Views: 1,242
    12-13-2010 Go to last post
  3. Question [SOLVED] Any way to know beforehand if SUDO is (going to be) needed?

    I'm using virtual file-system in /proc/ to print out current working directory (CWD): ls /proc/$PID/cwd # part of an argument to printf (full printf...

    Started by courteous, 12-12-2010
    • Replies: 4
    • Views: 742
    12-12-2010 Go to last post
  4. Angry [SOLVED] cut from ls -l

    Inside /proc/ folder, this ls -l | cut -d' ' -f35 | grep ^1$ #35th field is folder names finds folder "1" (init). Is there a better way to find...

    Started by courteous, 12-12-2010
    • Replies: 3
    • Views: 4,281
    12-12-2010 Go to last post
  5. Question C and Cpp Compiler Issues

    First I actually thought there was something wrong with my programming skills. But after I compiled the same code using Visual Studio, it worked. So...

    Started by Bangonkali, 12-11-2010
    • Replies: 5
    • Views: 1,012
    12-12-2010 Go to last post
  6. How tp stop reading process without be hanged at the code in Python?

    Hi all I have a Python program looks like this one : import os import time process = os.popen("top").readlines() time.sleep(1)

    Started by Barakat, 12-11-2010
    • Replies: 2
    • Views: 778
    12-12-2010 Go to last post
  7. Bash script - text manipulation

    Hi, I use grep every day, but today I need to do something I am not sure how to do. I have grepped a log file to obtain every line that contains...

    Started by chuckee, 12-08-2010
    • Replies: 8
    • Views: 1,110
    12-12-2010 Go to last post
  8. Bash script help

    Hi, who could correct me if im wrong at understanding these lines. 1. rem_value=$((dec_value % 16)) - divides number by 16 and finds its mod. 2....

    Started by TryingMyBest, 12-08-2010
    • Replies: 3
    • Views: 378
    12-12-2010 Go to last post
  9. [SOLVED] Confused about escaping in backticks

    I have a line in a shell script that looks like this:running=`ps -p $pid -o args= | sed -n "s?^$php_fpm_BIN\(\ .*\)*\$?&?p"`But this gives an error...

    Started by djeyewater, 10-18-2010
    • Replies: 3
    • Views: 940
    12-11-2010 Go to last post
  10. Gawk

    Hallo, does anybody know how to count up hexadecimal in gawk. best regards, maxi

    Started by al_capone88, 10-25-2010
    • Replies: 1
    • Views: 402
    12-11-2010 Go to last post
  11. mkdir in script not working

    I have created a script that finds a directory and subdirectories in my home directory and creates a copy of the directory structure in my home...

    Started by jmvalks, 10-27-2010
    • Replies: 1
    • Views: 1,234
    12-11-2010 Go to last post
  12. bash string splitting into array

    I am using gnu bash 3.2 I need to split the string into array like a=this_is_whole_world.file # split I need to split this on _ and . some...

    Started by praveenhm, 10-14-2010
    • Replies: 2
    • Views: 2,524
    12-11-2010 Go to last post
  13. Question Display Images Whilst Running Other Functions

    Hi, So I'm teaching myself some scripting to try and create a fairly simple photobooth type affair... I've got gphoto2 playing fairly nicely with...

    Started by raguff, 11-04-2010
    • Replies: 1
    • Views: 668
    12-11-2010 Go to last post
  14. editing script to create a default web page

    Hello everyone The title of this post may sound like it's real easy and simple enough for a noob to do but my situation isn't noobish. I have...

    Started by braden87, 11-14-2010
    • Replies: 1
    • Views: 510
    12-11-2010 Go to last post
  15. Post using two variables i and j together in 'for' - bash

    I've been learning bash scripting, and trying some basic stuffs. Just came across a situ where I have to execute a command, where attributes should...

    Started by fydcode, 12-06-2010
    • Replies: 1
    • Views: 958
    12-11-2010 Go to last post
  16. How to read a line from a txt file in a script?

    I have been playing around with a script for a few hours and now I need to be able to output the lines in a text file one by one to be used later in...

    Started by Ravenholdt, 12-09-2010
    • Replies: 3
    • Views: 570
    12-11-2010 Go to last post
  17. Question Novice using GREP

    Hello fellow Linuxers! This is the relevant snippet from my traceroute-like-script: ping -c 1 -t $i $domain | egrep -wv 'PING|64 bytes' | grep -o...

    Started by courteous, 12-05-2010
    • Replies: 5
    • Views: 938
    12-10-2010 Go to last post
  18. [SOLVED] delete trailing slashes using bash on-board means

    I prefer to delete trailing slahes from pathes. Until now I used sed: $ myPath=/home/ladygaga/// $ echo "$myPath" | sed 's/\/*$//'...

    Started by Lahntaler, 12-08-2010
    • Replies: 2
    • Views: 4,561
    12-10-2010 Go to last post
  19. how to grep a pattern which is split in 2 lines.

    Hi, I need to grep a pattern which can be present in one line or could be split in 2 lines... Example getData(xxx, yyy); getData(xxx, ...

    Started by linuxguy2011, 12-09-2010
    • Replies: 5
    • Views: 2,187
    12-10-2010 Go to last post
  20. Question Tcl: Extract variables from checkbuttons into Tcl List

    I am attempting to create a GUI which displays a list of checkboxes which describe a list of tests that may be selected to run on a device. Since I...

    Started by WhatFurrer, 12-10-2010
    • Replies: 0
    • Views: 521
    12-10-2010 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
  •