Find the answer to your Linux question:
Page 121 of 613 FirstFirst ... 21 71 111 117 118 119 120 121 122 123 124 125 131 171 221 ... LastLast
Threads 2401 to 2420 of 12252

Forum: Programming / Scripting

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

  1. 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: 800
    12-12-2010 Go to last post
  2. 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,485
    12-12-2010 Go to last post
  3. 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,074
    12-12-2010 Go to last post
  4. 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: 829
    12-12-2010 Go to last post
  5. 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,156
    12-12-2010 Go to last post
  6. 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: 399
    12-12-2010 Go to last post
  7. [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: 1,029
    12-11-2010 Go to last post
  8. 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: 417
    12-11-2010 Go to last post
  9. 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,256
    12-11-2010 Go to last post
  10. 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,610
    12-11-2010 Go to last post
  11. 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: 686
    12-11-2010 Go to last post
  12. 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: 538
    12-11-2010 Go to last post
  13. 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: 996
    12-11-2010 Go to last post
  14. 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: 599
    12-11-2010 Go to last post
  15. 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: 1,007
    12-10-2010 Go to last post
  16. [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,985
    12-10-2010 Go to last post
  17. 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,333
    12-10-2010 Go to last post
  18. 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: 556
    12-10-2010 Go to last post
  19. Serial Port help

    I've searched all over, but can't seem to find this one. I have a program (C++) where I'm reading and writing to the serial port. Everything...

    Started by brianc1969, 12-09-2010
    • Replies: 6
    • Views: 1,238
    12-10-2010 Go to last post
  20. [SOLVED] Serial programming and GPS mouse receiver

    Hi! I'm currently working on a small software to access GPS information from a GPS receiver. I read a couple of tutorial to code this program :...

    Started by naaman, 12-09-2010
    • Replies: 3
    • Views: 2,958
    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
  •