On Wed, Jan 04, 2012 at 11:10:11AM +0000, Balint Szigeti wrote: > I found this > : > /var/run/utmp > in /etc/init.d/bootmisc.sh on Debian 6.0.3 > > Can you explain what does " : > " mean?
: is a builtin shell command that does nothing. Thus piping its output (nothing) to /var/run/utmp has the effect of creating /var/run/utmp if absent, and truncating it to zero length if already present. The result is that when the system boot up, /var/run/utmp is present and empty prior to any logins. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please GPG sign your mail. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120104113903.gd18...@codelibre.net