Search:

Type: Posts; User: pl@yer; Keyword(s):

Page 1 of 6 1 2 3 4

Search: Search took 0.41 seconds.

  1. Re: My script for the "99 bottles" beginner challenge

    Hi b/ryce

    I think your problem is when you change "x" to be "no more". Then the test fails on line 6 - [ $x -gt 0 ]


    You could probably just quote your variable so test doesnt think you are...
  2. Replies
    5
    Views
    341

    Re: Creating a Hashtable

    Hash table -that's gonna take a lot of hash!
  3. Replies
    10
    Views
    1,102

    Re: Shell Script Programming Advice Needed

    This is how I would troubleshoot.

    Edit- Looking at the script keeping the error in mind. The error is saying that we are using a decreasing range.

    For example:
    this works


    $ echo...
  4. Replies
    3
    Views
    842

    [SOLVED] Re: execution permission in script for-loop

    It's because $() means execute what commands between the braces and the results are what is returned.

    So it will attempt to execute each file testsuite/good/*.jl and the result of each execution...
  5. Replies
    10
    Views
    1,102

    Re: Shell Script Programming Advice Needed

    I'd like to hear your progress.

    I wanted to let you know some issues with the script I posted,


    I don't have all possible characters in the first grep. For example double quotes are missing....
  6. Replies
    10
    Views
    1,102

    Re: Shell Script Programming Advice Needed

    I found this challenging, while not perfect here is what I came up with.
    It uses a "+" sign as the flag. So if there are "+" in your text either change the flag or take them out first.

    Use at...
  7. Replies
    7
    Views
    407

    [ubuntu] Re: the magic invisible ubuntu.... GRRRRR

    Anything in you cmos settings regarding protecting bios?
  8. Thread: DRM opinions

    by pl@yer
    Replies
    101
    Views
    3,567

    Re: DRM opinions

    *googles Jungian psychology*
    collective unconscious...very interesting stuff.
  9. Replies
    40
    Views
    1,395

    Re: If you made a fortune cookie

    Have your remains fed to a cat to complete the cycle!
  10. Replies
    3
    Views
    1,170

    [xubuntu] Re: No DHCPOFFERS received

    I would run wireshark on another system to see if the DHCP request is hitting the wire.
  11. Replies
    32
    Views
    1,321

    Re: Am I a sad old sod?

    go for it...life's to short
  12. Replies
    40
    Views
    1,395

    Re: If you made a fortune cookie

    "consume recklessly, it's good for the economy"
  13. Replies
    3
    Views
    1,170

    [xubuntu] Re: No DHCPOFFERS received

    Is it setup for DHCP


    cat /etc/network/interfaces
  14. Replies
    46
    Views
    3,102

    Re: What percent of Linux users are female?

    My daughter actually has more experience with Linux than windows.

    She recently bought herself a netbook. She told me "you are not putting linux on it!!"
    She thought she was really missing out not...
  15. Replies
    9
    Views
    1,094

    [ubuntu] Re: SSD disk is a good idea?

    Puppy linux addresses this by having an image file that is expanded to a RAM drive. The image file is only written to when the system is shutdown, to save writes. (at least I think it works that way)...
  16. Replies
    9
    Views
    8,110

    [ubuntu] Re: Package problem in Ubuntu

    to see what PID has this open try


    fuser /var/lib/apt/lists/lock

    or


    lsof|grep /var/lib/apt/lists/lock
  17. Replies
    14
    Views
    1,130

    [all variants] Re: Server Monitoring

    korn shell wont like substitution like this $() afaik I think you need to either use backticks `` or curly braces ${}
  18. Replies
    14
    Views
    1,130

    [all variants] Re: Server Monitoring

    Thanks for the zenety link it is on my list of things to check out.
    ooh found a good link for zenity
    http://linux.byexamples.com/archives/259/a-complete-zenity-dialog-examples-1/
  19. Replies
    14
    Views
    1,130

    [all variants] Re: Server Monitoring

    #!/usr/bin/perl
    #test ping results

    #results of ping are stored in array @pingresult
    #loop through array until finding "loss"
    sub getpingresult () {
    foreach my $curline (@pingresult){...
  20. Replies
    14
    Views
    1,130

    [all variants] Re: Server Monitoring

    yep the html file is the input and output.

    It reads the file into an array then closes it.

    Opens the file again for writing and loops the through array.

    Ping each member of arrays IP.
    ...
  21. Replies
    20
    Views
    1,071

    [all variants] Re: OS for antique PC

    It will fly on "vector linux"
  22. Replies
    14
    Views
    1,130

    [all variants] Re: Server Monitoring

    Since I'm still learning perl, I thought this might be a good little project.
    I know I could have used net::ping module.


    ~$ cat pingtest.perl
    #!/usr/bin/perl
    #test ping results
    sub...
  23. Replies
    7
    Views
    521

    [SOLVED] Re: Learning your OS

    If you are ambitious maybe try LFS (linux from scratch).
  24. Re: What's the OLDEST computer you have installed linux on?

    pentium 233Mhz 64MB ram big old laptop running vector linux, icewm I think was the WM ran very well.
    Compaq armada 1700
  25. Thread: DRM opinions

    by pl@yer
    Replies
    101
    Views
    3,567

    Re: DRM opinions

    I like this, there are lots of inventions that are later discovered to have been re-inventions.
    Also that an idea is somewhat owing to the "foundation of ideas" which made it possible.
Results 1 to 25 of 131
Page 1 of 6 1 2 3 4