Page MenuHomeFreeBSD

D53748.id166420.diff
No OneTemporary

D53748.id166420.diff

diff --git a/usr.bin/fortune/datfiles/freebsd-tips b/usr.bin/fortune/datfiles/freebsd-tips
--- a/usr.bin/fortune/datfiles/freebsd-tips
+++ b/usr.bin/fortune/datfiles/freebsd-tips
@@ -860,3 +860,11 @@
$ netstat -I bge0 8
%
+Using vt(4) on a laptop? Try this sh(1) function. It provides an "h"
+command that prints the last 22 commands executed, the time, remaining
+battery life, and current working directory:
+
+h() { fc -l -22; printf "%s\n" "`date +%H:%M` -- `apm -l`% -- `pwd`"; }
+
+ -- Alexander Ziaee <ziaee@FreeBSD.org>
+%

File Metadata

Mime Type
text/plain
Expires
Fri, Apr 10, 8:12 AM (7 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31212349
Default Alt Text
D53748.id166420.diff (537 B)

Event Timeline