1LINUX_LOGO(1) Debian GNU/Linux Manual LINUX_LOGO(1)
2
3
4
6 linux_logo - Color ANSI penguin logo w/ system information.
7
9 linux_logo [-h | -v ] [-a ] [ -b | -c] [-d] [-D file] [-e file] [-f]
10 [-g | -l] [-k] [-i] [-n] [-p] [-s] [-u] [-x] [-y] [-o Num] [-t string]
11 [-L num | NAME | list | random_xy] [-F format]
12
14 linux_logo is a program that generates a color ANSI picture of a pen‐
15 guin which includes some system information obtained from the /proc
16 filesystem.
17
19 -h Show summary of options.
20
21 -v Show version of program.
22
23 -ascii -a
24 Display the logo as monochrome ascii.
25
26 -banner -b
27 Display the banner-style logo.
28
29 -classic -c
30 Display the original penguin logo.
31
32 -d Disable "prettying" of output
33
34 -D filename
35 Use logo from "filename"
36
37 -e filename
38 Use cpuinfo from "filename" for debugging purposes
39
40 -f Force the screen clear before drawing the logo.
41
42 -F STRING
43 Use custom output STRING for sysinfo. See below for more info.
44
45 -g Display only the system infomation.
46
47 -i Ignore the ~/.linux_logo and /etc/linux_logo.conf config files
48
49 -k Keep sysinfo flushed-left (non-centered)
50
51 -l Display only the logo.
52
53 -L ... Custom logo options. See LOGO SELECTION below
54
55 -o Num Shift output Num spaces to the right
56
57 -p Preserve cursor location
58
59 -s Skip the BogoMips test [ speeds up display on non-Linux plat‐
60 forms ].
61
62 -t string
63 Display an arbitrary string
64
65 -u Display the system uptime.
66
67 -w val Set screen width to val
68
69 -y Display the load average.
70
71
73 CPUINFO
74 The cpuinfo supplied in /proc/cpuinfo is not always usable by
75 linux_logo.
76
77 If the cpuinfo for your microprocessor generates ugly output, send the
78 output from your /proc/cpuinfo to the author.
79
80 FORMAT
81 The format string special sequences start with # (use ## to print #).
82 All other characters, except for \n, are printed as is.
83
84
85 Seq Description Output
86 ────────────────────────────────────────────────────────────────
87 ## #
88 #B Bogomips 374.37
89 #C Compiled Date #47 Fri Jan 8 10:37:09 EST 1999
90 #E User Text My Favorite Linux Distribution
91 Displayed with -t
92 #H Hostname deranged
93 #L Load average Load average 0.04, 0.01, 0.01
94 #M Megahertz 188Mhz
95 where supported
96 #N Number of CPU's Two
97 #O OS Name Linux
98 #P Processor or Processors Processor
99 #R Ram 64M
100 in Megabytes
101 #S Plural s
102 #T Type of CPU K6
103 #U Uptime Uptime 10 hours 59 minutes
104 #V Version of OS 2.2.0-pre5
105 #X CPU Vendor AMD
106 \\n carriage return
107
108 Notes:
109
110 · The letter after the # must be capitalized.
111
112 · Options not available are silently ignored.
113
114 · Megahertz only available on some platforms and newer kernels.
115
116 · See defaults.h on how to have #N report in non-english numbers.
117
118 · Plural [#S] gives nothing if there is 1 cpu, gives 's' otherwise.
119
120 · The "-y" and "-u" [display uptime and load average] command line
121 options don't affect the output if a custom format is used.
122
123 The default banner format is:
124
125 "#O Version #V, Compiled #C\n \
126 #N #M#X#T Processor#S, #R RAM, #B Bogomips Total\n \
127 #H\n"
128
129 The default banner format displays the following on the author's com‐
130 puter:
131
132
133 Linux Version 2.2.0-pre5, Compiled #47 Fri Jan 8 10:37:09 EST 1999
134 One 188MHz AMD K6 Processor, 64M RAM, 374.37 Bogomips Total
135 deranged
136 Another example would be:
137
138 linux_logo -F "Redhat Linux 5.2\nKernel Version #V\n#U\n#L\n"
139
140 which would display:
141
142 Redhat Linux 5.2
143 Kernel Version 2.2.0-pre5
144 Uptime 11 hours 4 minutes
145 Load average 0.00, 0.00, 0.00
146
147
148 LOGO SELECTION
149 The -L command line option is used to choose which logo to use.
150
151
152 · "-L list" will list all of the logos available
153
154 · "-L NAME" will display the logo with name NAME.
155
156 · "-L NUM" will display logo with number NUM (deprecated)
157
158 · "-L random_xy" will pick a logo at random, with criteria xy.
159
160
161 When you replace x with the letter:
162 b : pick a random banner mode logo
163 c : pick a random classic mode logo
164 e : pick a logo from either banner or
165 classic
166
167
168 When you replace y with the letter:
169 a: pick a random ascii logo
170 n: pick a non-ascii logo
171 e: pick either type of logo
172
173
174
175 So to summarize:
176 "-L random_ba" picks a random ascii ban‐
177 ner,
178 "-L random_ce" picks a random classic logo
179 "-L random_ee" picks any logo, etc.
180
181
183 The Debian pre-packaged version of linux_logo includes the Debian logo
184 in addition to the 'Classic' and 'Banner' logos. The Debian logo is the
185 default logo unless one of the other logos is specified on the command
186 line.
187
189 ~/.linux_logo and /etc/linux_logo.conf can be filled with command line
190 options and will be parsed before the actual command line
191
193 /usr/doc/linux_logo, http://www.deater.net/weave
194
196 Vince Weaver
197 <vince@deater.net>.
198
199 This manual page was written by Steve Kostecke <steve@debian.org>, for
200 the Debian GNU/Linux system.
201
202
203
204
205Debian 7 July 2007 LINUX_LOGO(1)