Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All, I'm not good at programming at all so I have a really simple request that I'm hoping someone can write up for me. What I want A simple ...
  1. #1
    Linux Guru jmadero's Avatar
    Join Date
    Jul 2007
    Location
    California
    Posts
    1,958

    really simple script request

    Hi All,
    I'm not good at programming at all so I have a really simple request that I'm hoping someone can write up for me. What I want

    A simple program that allows me to have a terminal display incrementing numbers every X seconds. So, something like

    increase of 3 every 1 second displayed every minute, so after 1 minute it would be displaying 180. Thanks all!
    Bodhi 1.3 & Bodhi 1.4 using E17
    Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17

    "The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"

  2. #2
    Just Joined!
    Join Date
    Nov 2008
    Posts
    15
    for i in $(seq 0 3 177);do echo -n $i;echo -en "\b\b\b"; sleep 0.1;done
    something like that

    good luck

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...