[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Numerar linha saia de comando
From: |
Leandro Costa |
Subject: |
Numerar linha saia de comando |
Date: |
Sat, 02 May 2009 19:32:46 -0300 |
User-agent: |
Thunderbird 2.0.0.21 (Windows/20090302) |
Fala PessoALL,
Estou com o comando abaixo:
root@shadowcat:/mnt# cat boot/grub/menu.lst | grep ^title
title Debian GNU/Linux, kernel 2.6.26-2-686
title Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode)
title Debian GNU/Linux, kernel 2.6.26-1-686
title Debian GNU/Linux, kernel 2.6.26-1-686 (single-user mode)
title Other operating systems:
title Ubuntu 8.04.2, kernel 2.6.24-23-server (on /dev/hdc1)
title Ubuntu 8.04.2, kernel 2.6.24-23-server (recovery mode)
(on /dev/hdc1)
title Ubuntu 8.04.2, memtest86+ (on /dev/hdc1)
queria uma saida numerada do tipo:
0- title Debian GNU/Linux, kernel 2.6.26-2-686
1 -title Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode)
2- title Debian GNU/Linux, kernel 2.6.26-1-686
3- title Debian GNU/Linux, kernel 2.6.26-1-686 (single-user mode)
4 - title Other operating systems:
5 - title Ubuntu 8.04.2, kernel 2.6.24-23-server (on /dev/hdc1)
6 - title Ubuntu 8.04.2, kernel 2.6.24-23-server (recovery
mode) (on /dev/hdc1)
7 - title Ubuntu 8.04.2, memtest86+ (on /dev/hdc1)
--
[ ]s,
LRU #391067
Analista de Rede
Leandro Costa
:wq
http://www.centosbr.org
Fundadores:
lscosta, sl4vezero, menck
...... __@
...._ \ >_
...(_)/ (_)_________
- Numerar linha saia de comando,
Leandro Costa <=