srsudar / eg

Useful examples at the command line.
MIT License
1.8k stars 99 forks source link

Add nice, renice and tail #17

Closed maclandrol closed 9 years ago

maclandrol commented 9 years ago

Let me know if I'm correctly following your style guide. Also I want to know if you're it's ok to add distribution specif command line (dpkg, apt-get, etc)

srsudar commented 9 years ago

Style looks great! I'll pull these in in the next couple of days.

I'd be curious to hear what you think we should do on distribution specific commands. I'm not aware of any that would conflict on systems that don't have them. For example, apt-get is an Ubuntu command, but there's no apt-get OSX command, so it including it wouldn't do any harm. Are there others that do that I'm missing? Surely there are, but I can't think of any.

For now, I would move to include them. There are instances where some neat flags to top only work on linux, for example, and it would be nice to include them, but it isn't obvious how with the current system. Maybe a *nix section or something?

Either way, when it becomes a problem, I'd say we can rethink it. For now, the bigger the library of examples, the better.