Slashdot Mirror


Learn How UNIX Multitasks

BlueVoodoo writes "On UNIX systems, each system and end-user task is contained within a process. Learn how to control processes and use a number of commands to peer into your system."

26 of 160 comments (clear)

  1. exciting by Anonymous Coward · · Score: 5, Funny

    Wow! ps, top, sleep, kill, PIDs? This is some pretty groundbreaking stuff here!

    1. Re:exciting by PPH · · Score: 2, Funny

      Now, that wasn't very nice.

      --
      Have gnu, will travel.
    2. Re:exciting by morgan_greywolf · · Score: 4, Funny

      I especially liked this one:

      $ ls -l /usr/bin/top
      -r-xr-sr-x 1 root tty 19388 Mar 20 2005 /usr/bin/wall

      Wow. That's a neat trick.

    3. Re:exciting by Matt+Perry · · Score: 4, Funny

      Don't forget to set the I_WANT_A_BROKEN_PS [rt.com] environment variable!
      POSIX_ME_HARDER would have been a much better variable name.
      --
      Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
  2. Next... by ari_j · · Score: 4, Funny

    Learn how UNIX stores files. This revolutionary new article will show you how to use ls and cd, and you will walk away with a complete understanding of how files are stored. More magic demystified, indeed!

    1. Re:Next... by drinkypoo · · Score: 1, Funny

      We had to eliminate that command because it was giving pedophiles ideas. From now on, touch will be replaced with echo redirected into a file. Just redirect nothing onto the end of a file to update the mtime... Won't someone think of the children?

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  3. know your sysadmin by Anonymous Coward · · Score: 1, Funny

    alias renice 'echo Renice\? You must mean kill -9.; kill -9 \!*'

  4. please, hepl by Anonymous Coward · · Score: 5, Funny

    I get
    "ps: Command not found"

    What do to? Heeeeeelp.

    1. Re:please, hepl by EricTheGreen · · Score: 4, Funny

      Try this instead:

      "c:\program files\internet explorer\iexplore.exe" http://www.ubuntu.com/getubuntu/download

      Hope this hepls....

  5. Incredible! by Wuhao · · Score: 5, Funny

    With several businesses now owning their own Unix mainframes, and with some futurists speculating that hobbyists may one day have full-fledged Unix systems in their basements, a detailed understanding of Unix operation -- including its intricacies, like these "processes" -- becomes increasingly important, even for people not charged with the operation of one of these computational goliaths. I for one plan to study these "processes" carefully.

    1. Re:Incredible! by 0racle · · Score: 3, Funny

      Na, not behind the times, just missing something.

      It's called a sense of humour.

      --
      "I use a Mac because I'm just better than you are."
    2. Re:Incredible! by Wuhao · · Score: 3, Funny

      I envision there one day being a vast network of computers, accessible to all, containing limitless mountains of data -- and on this network, the common man will finally be able to communicate with his kinsmen worldwide and transcend all borders. Finally, free of the tyranny of governments and liberated from the logistics of contemporary communication, Mankind shall at last realize his full artistic potential. No more need a man hide his drawings of the horribly mutated, furry Mr. Spock and Captain Kirk engaged in sadomasochistic intercourse as they eject feces from their hermaphroditic nipples; it shall be available to all, stumbled across by those just trying to fi--

      You know, now that I think about it, you're right. If you can get some torches and pitchforks together, I'll rally the townspeople, and we can storm Bell Labs.

  6. random? by flynt · · Score: 4, Funny

    Is it just me, or is this one of the most random Slashdot articles ever posted? A link to Chapter 8 of an IBM manual on Unix development, really?

  7. Re:Use the Firehose! by gEvil+(beta) · · Score: 5, Funny

    Mod Parent Up! Vote Article Down!

    --
    This guy's the limit!
  8. Digg? by loconet · · Score: 5, Funny

    Did I mistype the URL? No, it does say slashdot.org. Odd... I should go back to bed.

    --
    [alk]
  9. In Other News... by Ikcor · · Score: 5, Funny

    How to master the "other half" of the keyboard using the newly discovered SHIFT key.

  10. Segfaults by Anonymous Coward · · Score: 5, Funny

    If it helps, you can think of a process as its own sovereign nation, with borders, resources, and gross domestic product.
    Does this mean that illegal immigrants are responsible for my processes segfaulting?

    1. Re:Segfaults by Anonymous Coward · · Score: 2, Funny

      This is the traditional method. However, the new school of thinking is to use the "wall" program to limit access. E.g.,:

      [gwb@usa] wall
      Stay out, all of you!
      ^D

      Message from gwb@usa:
      Stay out, all of you!

      On a side note, the new school of thinking works great with typical hack attempts. For example, if a user from systema (afgst) launches a remote exploit attempt, the new school suggests that you launch an attack against systemIRQ (interrupt request, for example). SystemIRQ has nothing to do with the attack, but that doesn't matter.

  11. I need some help by corecaptain · · Score: 2, Funny

    I tried this program:

    int main()
    {
        while(1) fork();
    }

    but nothing happens?

    1. Re:I need some help by fuo · · Score: 2, Funny

      this should fix it: int main() { while(fork() || !fork()) fork(); }

  12. Re:How to learn unix... by bberens · · Score: 3, Funny

    Switch your shell to one with auto-completion and go through each letter of the alphabet, hitting tab after each one and then viewing the manual page for each command you don't already know.

    How about: Bathe, get a girlfriend, go outside, read a 20 minute FAQ and learn more than most *nix sysadmins seem to know.
    --
    Check out my lame java blog at www.javachopshop.com
  13. IBM had better be careful.. by Morky · · Score: 5, Funny

    Doesn't SCO own the rights to this information?

  14. Re:How to learn unix... by Anonymous Coward · · Score: 0, Funny

    How about: Bathe, get a girlfriend, go outside, read a 20 minute FAQ and learn more than most *nix sysadmins seem to know.

    Ahhh, jealousy. How about you get off Slashdot and go do those pointless home improvements (or other activity) that your GF has been nagging about?

    BTW: Enjoy your role as a Windows admin, bet the job satisfaction is overwhelming!

  15. Re:Gee Whizzes by loconet · · Score: 4, Funny

    It offers our Windows-centric Slashdot breatheren a nice overview

    John and Mark don't have net access on Mondays so they wouldn't have been able to read this article anyways.

    --
    [alk]
  16. Re:How to learn unix... by Ngarrang · · Score: 4, Funny

    How about: Bathe, get a girlfriend, go outside, read a 20 minute FAQ and learn more than most *nix sysadmins seem to know. My wife might have a problem with the second item...
    --
    Bearded Dragon
  17. A few days ago by Tyr_7BE · · Score: 4, Funny

    I saw slashdot transformed into Digg, with "slashdotit" links everywhere. That was supposed to be a joke, right? Because it's only funny the first time.