Find the answer to your Linux question:
Page 148 of 640 FirstFirst ... 48 98 138 144 145 146 147 148 149 150 151 152 158 198 248 ... LastLast
Threads 2941 to 2960 of 12788

Forum: Programming / Scripting

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

  1. How to access in-memory superblock structure.

    Hello everyone, I am implementing c program to access ext3 file system's metadata. I want to know how to access members of the in-memory...

    Started by kernelnewbie, 12-13-2010
    • Replies: 1
    • Views: 1,640
    12-14-2010 Go to last post
  2. 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: 558
    12-14-2010 Go to last post
  3. 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,797
    12-13-2010 Go to last post
  4. 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: 1,120
    12-12-2010 Go to last post
  5. 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: 5,275
    12-12-2010 Go to last post
  6. 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,746
    12-12-2010 Go to last post
  7. 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: 1,202
    12-12-2010 Go to last post
  8. 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-09-2010
    • Replies: 8
    • Views: 1,674
    12-12-2010 Go to last post
  9. 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: 580
    12-12-2010 Go to last post
  10. [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: 2,461
    12-11-2010 Go to last post
  11. 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: 604
    12-11-2010 Go to last post
  12. 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,856
    12-11-2010 Go to last post
  13. 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: 3,127
    12-11-2010 Go to last post
  14. 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: 973
    12-11-2010 Go to last post
  15. 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: 790
    12-11-2010 Go to last post
  16. 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: 1,653
    12-11-2010 Go to last post
  17. 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: 848
    12-11-2010 Go to last post
  18. 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,592
    12-10-2010 Go to last post
  19. [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: 8,202
    12-10-2010 Go to last post
  20. 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: 3,383
    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
  •