| 2011/11/22 17:12 | 0 Comments | |
| 2011/10/23 20:29 | 0 Comments | |
| 2011/10/20 15:05 | 0 Comments | |
| 2011/08/14 23:12 | 0 Comments | |
| 2011/08/04 22:42 | 0 Comments | |
| 2011/08/02 22:38 | 0 Comments | |
| 2011/06/13 17:58 | 0 Comments | |
| 2011/05/30 00:13 | 0 Comments |
| 2010/07/12 09:40 | 0 Comments | |
| 2010/06/02 12:55 | 0 Comments |
| 2009/11/16 11:06 | 0 Comments | |
| 2009/10/28 17:16 | 0 Comments | |
| 2009/10/26 23:38 | 1 Comment | |
| 2009/09/14 02:22 | 0 Comments | |
| 2009/05/18 22:11 | 0 Comments |
SysAdmin'ish Blog Archive || Tag cloud || RSS Feeds: Blog, Comments
Ein User kommt zum Sysadmin und fragt nach Obst.
Der Sysadmin sagt, wir haben Äpfel und Birnen,
alles andere seien Granaten.
Der User antwortet, sie wolle Granatäpfel.
So weit so gut, jeder Sysadmin kennt das zur Genüge.
Nach einem weiteren erfolglosen Erklärungsversuch
nimmt der Sysadmin einen roten Apfel,
spickt ihn mit Rosinen und nennt ihn Granatapfel.
Der User ist vorerst zufrieden.
Das eigentliche Problem aber ist,
dass sie möglicherweise mit dem Granatapfel
Gewisses im Schilde führt.
Und dann könnte sich der Rosinenapfel
schnell zu einem bitteren Bratapfel entwickeln
(um nicht zu sagen Rohrkrepierer).
Ich mag Granatäpfel nicht; einfach weil sie mir nicht schmecken. Aber dass ich sie eines Tages als Sinnbild für verlorenes Vertrauen verwende, überrascht mich doch.
Entry first published 2011-11-22.
Using more than 1 argument (i.e. anything besides -f) in self-contained shebang style sed scripts might not work. The solution is to combine the arguments like in
#!/bin/sed -nuf /Hello world/p
If a script or program produces lots of output, generally, a reduction of the amount of output will make things run faster. The most radical reduction often seen at the command line is a redirection to /dev/null. However, this can be done in various ways with rather varying results.
Whenever I need to research which files are actually read or executed to set up the Bash environment at startup my brain refuses to cooperate. So, I ran my own tests on a fresh new installation of Debian Squeeze.
| Shell type | /etc/profile | /etc/bash.bashrc | ~/.profile | ~/.bashrc |
|---|---|---|---|---|
| Login shells | X | X | X | X |
| Interactive non-login | X | X | ||
| Non-interactive | ||||
/bin/bash --posix | ||||
/bin/sh --login | X | X | X | X |
/bin/sh |
Non-interactive shells either source $BASH_ENV, or in POSIX mode $ENV.
Soon after I wrote about Vertical, sliding panel with auto-hide I had the idea for a more robust version. So, for the fun of trying to figure out how it might work, here is a vertical panel, automatically sliding out of the right side, and disappearing upon a click or after the mouse pointer leaves the panel.
On June 4, I upgraded Debian on one of my servers from "Lenny" to "Squeeze". Before the upgrade, system load of this server was generally low, mostly below 0.1. Once Debian Squeeze was running I quickly observed that the server load was significantly higher. During the following 7 days I reconfigured the server back down to the old load level.
RSS Feeds: Blog Entries, Blog Comments; See also: SysAdmin'ish Blog Archive & Tag cloud
disclaimer & imprint :: copyright :: backlinks :: page history :: index :: recent changes (all) :: go to top ::