Search:

Type: Posts; User: Crusty Old Fart; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    53,489
    Views
    3,280,312

    Re: The BUMP Thread

    What am I doing here?

    Oh.....bumpin'

    So.....BUMP.

    And Merry Christmas to all.
  2. [SOLVED] Re: Bash Scripting Help, how to use external file for variables

    As I was preparing my last post, my inner child had this funny feeling that you would show up and change his diaper. :D
    Thanks.

    Crusty
  3. [SOLVED] Re: Bash Scripting Help, how to use external file for variables

    Hmmm...Since this thread has become somewhat of a contest to see how many different ways we can write this script, I thought this was a good time bring in some awkological awkumen...sorry, couldn't...
  4. [SOLVED] Re: Script to disable screensaver when CPU usage exceeds a certain percentage ?

    There are several different ways you can capture your CPU usage.
    This might help: http://www.cyberciti.biz/tips/how-do-i-find-out-linux-cpu-utilization.html
  5. Re: HOWTO: Easy fglrx installation script

    This is easier than you might think:


    any_input=${any_input,,}

    Reference: http://mywiki.wooledge.org/BashFAQ/073
    Scroll down to the heading: Bash 4
  6. Re: How do I append to the global path variable

    There is more than one way to do what you're asking. My preference is to add a line to the bottom of the file: ~/.bashrc that looks similar to this:


    export PATH=$PATH:/path/to/directory

    After...
  7. [SOLVED] Re: Bash Scripting Help, how to use external file for variables

    You have this:


    else
    echo "$(date "+%m%d%Y %T") : rdesktop has Stopped. Attempting to resta$
    case $THISHOST in
    (rpiA) rdesktop -z -u user -p password 10.100.100.10;;...
  8. Replies
    5
    Views
    720

    Re: Code for folders

    Just to add to those confused, I'll make it three of us.
  9. [SOLVED] Re: This is killing me. (Ubunbtu Speaks to me! Literally. . .)

    Too funny.
    Now, perhaps you've discovered the modern use for twelve pound sledge hammers.

    Perhaps you could discover the application that might be responsible for turning your computer into a...
  10. Replies
    25
    Views
    2,272

    [SOLVED] Re: Impossibilitus Interruptus ...

    You're mighty welcome.

    I really wish I could tell you why the changes we made to ~/.bashrc to modify your PATH fixed the problem. But, I can't because I don't know.

    When steeldriver challenged...
  11. Replies
    25
    Views
    2,272

    [SOLVED] Re: Impossibilitus Interruptus ...

    To Langstracht:

    I'd like you to answer some more questions:

    What Linux operating system are you running?
    Are you running your operating system in WUBI?
    What application did you use to...
  12. Replies
    25
    Views
    2,272

    [SOLVED] Re: Impossibilitus Interruptus ...

    Oh, man!
    I have my threads confused. There's no "Jonathan" here.
    Time to do some heavy editing.
  13. Replies
    25
    Views
    2,272

    [SOLVED] Re: Impossibilitus Interruptus ...

    Well, I did it because when I compared Langstracht's PATH to what I have in my PATH, /home/username/bin was the only path that was missing. Since the script runs for me, but doesn't run for him, I...
  14. Replies
    25
    Views
    2,272

    [SOLVED] Re: Impossibilitus Interruptus ...

    Yup...sure as hell would be.
  15. Replies
    25
    Views
    2,272

    [SOLVED] Re: Impossibilitus Interruptus ...

    Yeah...well...that's why I told you to:

    Please post the output you get, in a code box, when you run it.


    So, based on what you described, in lieu of posting the output, I'm assuming that...
  16. Replies
    25
    Views
    2,272

    [SOLVED] Re: Impossibilitus Interruptus ...

    Well, maybe I don't understand what you want the script to do.
    You write: "The above code displays every line it is supposed to ... plus the "Hit [ ... abort." after each "batch" of lines." <--...
  17. [SOLVED] Re: How to make zenity progress-bar actually, well, progress

    Well, I'll be damned. So, that's where I got it.
    It still sucks, though.
  18. [SOLVED] Code correction.

    You're mighty welcome, Jonathan.

    I wrote that script several years ago and have been using it ever since, with success. Consequently, the Zenity error message hasn't appeared. However, after I...
  19. Replies
    25
    Views
    2,272

    [SOLVED] Re: Impossibilitus Interruptus ...

    You might want to remember that you'll need to use the "shebang" as the first line of every bash script that you write in the future:


    #!/bin/bash
  20. Replies
    25
    Views
    2,272

    [SOLVED] Re: Impossibilitus Interruptus ...

    See if your script runs if you put the following line in as the very first line of your code (it's called a shebang):


    #!/bin/bash


    Here's how to make a code box:
  21. Replies
    25
    Views
    2,272

    [SOLVED] Re: Impossibilitus Interruptus ...

    It would be nice to see the entire content of your script in a code box. Otherwise, we're just guessing as to why what works for us isn't working for you.
  22. Replies
    25
    Views
    2,272

    [SOLVED] Re: Impossibilitus Interruptus ...

    In keeping with your coding style, which is much different than mine, your script worked for me when I added the blue line shown in the code box below:


    #!/bin/bash
    set -e

    count=10
    i=1...
  23. Replies
    20
    Views
    1,308

    Re: Question on where to post a specific issue

    Well, since you are not an "Absolute" beginner. Your thread probably doesn't belong in this forum. Since there are several issues involved with the difficulty you're having, a better place to have...
  24. [SOLVED] Re: How to make zenity progress-bar actually, well, progress

    Here's a working example that keeps the Zenity message box on top using wmctrl.
    if you don't have wmctrl installed, you can comment out the blue line in the code box below:


    #!/bin/bash

    #...
  25. Replies
    3
    Views
    532

    [ubuntu] Re: Mounted Drives

    You're mighty welcome.
    I edited the command to specify that the regular expression should match the word: none, at the beginning of the line.
    It' a little better that way.




    Please mark...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4