⇤ ← Revision 1 as of 2013-06-14 05:28:38
Size: 645
Comment: todo: write this.
|
Size: 726
Comment: xargs, expr
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
This page describes some common non-standard utilities that should be avoided, and what you should use instead. | This page describes some common utilities that should be avoided, and what you should use instead. |
Line 20: | Line 20: |
== xargs == === Alternatives === == expr == === Alternatives === `(())`, `let` |
This page describes some common utilities that should be avoided, and what you should use instead.
Contents
pidof
pidof is a strange program. It's typically a symlink to the killall5 program that's part of the sysvinit package, and is used by init to send signals to all processes. If invoked as pidof, it returns the pid of the given program. pidof Is highly nonstandard and probably used so frequently due to its intuitive name more than anything.
Alternatives
procps -- pgrep. See ProcessManagement.
killall
Alternatives
which
Alternatives
xargs
Alternatives
expr
Alternatives
(()), let