Find the answer to your Linux question:
Page 494 of 619 FirstFirst ... 394 444 484 490 491 492 493 494 495 496 497 498 504 544 594 ... LastLast
Threads 9861 to 9880 of 12376

Forum: Programming / Scripting

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

  1. How do I multiply variables?

    I would like to have someone input an hour variable, multiply it by 60 and output the number of minutes. How can I accomplish this? echo...

    Started by chrchcol, 07-25-2006
    • Replies: 3
    • Views: 46,009
    07-26-2006 Go to last post
  2. Question C++ Serial Port programming help

    Hey all, I'm trying to write a c++ program that gets data packets from a serial port. The problem is packets can arrive at anytime. I was...

    Started by junnytony, 07-26-2006
    • Replies: 0
    • Views: 9,359
    07-26-2006 Go to last post
  3. bash profile question

    hi I'm having a small problem with the bash profile. I have two commands that don't seem to be loading from the bash profile when I open a terminal...

    Started by penguinopolipitese, 07-25-2006
    • Replies: 4
    • Views: 9,262
    07-26-2006 Go to last post
  4. ncurses scrolling window

    hi, i am creating two windows using ncurses. i use derwin() to create the windows, i have everythings turn on, just as stated in the man pages, ...

    Started by CooKies37, 07-22-2006
    • Replies: 1
    • Views: 6,977
    07-26-2006 Go to last post
  5. how to make the system only accept the numbers

    its a silly question... but i can't find the solution... if i just want the user to enter only numbers... whut should i do? if the user enter...

    Started by mala_un, 07-21-2006
    • Replies: 4
    • Views: 1,785
    drl
    07-26-2006 Go to last post
  6. how can I clear up my mail issues.

    I have two issues that are popping up . printf "%-75s%+10s %5s %1s \n" $s $z $x $y >>status mail -s "Uploads!" -c...

    Started by chrchcol, 07-26-2006
    • Replies: 0
    • Views: 2,443
    07-26-2006 Go to last post
  7. Arrow Script for accessing data..

    Well i m kinda newbie at this shell scripting stuff .. so spare me if u find me total stupid As a matter of fact i need a script to access a...

    Started by Dastard, 07-25-2006
    • Replies: 1
    • Views: 660
    07-25-2006 Go to last post
  8. What is the flaw with this command.

    Can someone please tell me why my commands stopped working? first=`date "+%d %B %Y"` next=`date +%k` last=`date '+:%M:%S'` touch -d "$first...

    Started by chrchcol, 07-25-2006
    • Replies: 3
    • Views: 586
    07-25-2006 Go to last post
  9. Some GTK/Glade Help

    Im trying to make a SIMPLE application...heres basically what I want... Thats a quick mockup of the GUI I'm going to be using. Now heres...

    Started by Gotti, 07-23-2006
    • Replies: 2
    • Views: 720
    07-25-2006 Go to last post
  10. How can I use columns with a command?

    Currently I am using a command that allows me to output variables on one line. echo -e "$s\t$z\t$x\t$y" There is a little format within there...

    Started by chrchcol, 07-25-2006
    • Replies: 1
    • Views: 573
    07-25-2006 Go to last post
  11. C Gtk+ 2.0

    I really am not sure if this would go here, but it is programming related as much as it is just linux related I guess. Okay, I this evening I...

    Started by Craige, 07-03-2006
    • Replies: 5
    • Views: 980
    07-25-2006 Go to last post
  12. C++ gui programming with wxGTK?

    Hi, I just installed wxGTK on fedora core5 for the first time, and am trying to get the hello world example the wxwidgets website to compile, but...

    Started by hughitt1, 07-24-2006
    • Replies: 1
    • Views: 1,509
    07-25-2006 Go to last post
  13. Awk Syntax

    z=`ls -la "$f" | awk '{ printf("%-15s\t%10d\n", $9, $5)}'` This command works perfect. The onlyput I need is $5 though. When I remove $9 it does...

    Started by chrchcol, 07-24-2006
    • Replies: 1
    • Views: 5,307
    07-24-2006 Go to last post
  14. Awk command help

    I have almost got answer to a problem I have been having list=`pwd | awk 'BEGIN{FS="/"} {for (i=5; i <=NF; i++) print $i}'` echo $list That...

    Started by chrchcol, 07-23-2006
    • Replies: 1
    • Views: 4,054
    07-24-2006 Go to last post
  15. Fooling around /proc

    Hi all, I was recently fooling with /proc for a school project and found out that ps and top are not doing the same calculation about memory load....

    Started by serty2, 07-24-2006
    • Replies: 0
    • Views: 1,044
    07-24-2006 Go to last post
  16. command output

    for f in $(<uploads); do w=`ls -la "$f" | awk '{print $5}'` echo -e " \$w " Using the following set of commands it prints the size of all...

    Started by chrchcol, 07-23-2006
    • Replies: 4
    • Views: 731
    07-23-2006 Go to last post
  17. printing path and making it relative.

    I am using for f in $(<uploads); do s=`echo "$PWD/$f"`; to output the path for each file in a text file. It works great However I need...

    Started by chrchcol, 07-21-2006
    • Replies: 4
    • Views: 6,407
    07-23-2006 Go to last post
  18. Touch command

    Within this command touch -d "20 july 2006 17:54:19" date_marker is it possible to make the time "17:54:19" The current system time - 6 hours?

    Started by chrchcol, 07-20-2006
    • Replies: 5
    • Views: 5,363
    07-23-2006 Go to last post
  19. another scripting newbie who needs help

    here is the script I am having problems with. below the script is an explination of what is happening. read -p "enter grade:" grade1 read -p...

    Started by rdsii64, 07-23-2006
    • Replies: 5
    • Views: 800
    07-23-2006 Go to last post
  20. a question about linux daemon

    Hi all, My program is a normal C program and running as a normal process. It is called to start from /etc/rc.d/rc when system boot. The program...

    Started by ttvu, 06-21-2006
    • Replies: 8
    • Views: 11,970
    07-23-2006 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
  •