Differences between revisions 1 and 2
Revision 1 as of 2013-06-14 05:28:38
Size: 645
Editor: ormaaj
Comment: todo: write this.
Revision 2 as of 2013-06-14 05:43:48
Size: 726
Editor: ormaaj
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.

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

BadUtils (last edited 2022-01-11 14:21:47 by emanuele6)