[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] Re: Ifconfig
From: |
Aurelio Marinho Jargas |
Subject: |
Re: [shell-script] Re: Ifconfig |
Date: |
Sun, 28 Sep 2003 09:40:14 -0300 (ART) |
oi luciano,
--- Luciano ES <address@hidden> escreveu:
> Quando uso ipconfig /all, ele retorna um tipo de --help
> Se eu não usar nenhum "switch", aparece o que eu esperava.
coisas do windows.
se não me engano isso acontece no win98.
no 2000 tem que usar /all
no 95 tem que usar winipcfg
no ...
anti offtopic:
os possuidores de UNIXes/solaris & cia que não têm as opções
das ferramentas GNU, poderiam me confirmar se o grep possui
as opções -q e -s?
é que ao invés de fazer:
if grep bla arquivo.txt >/dev/null 2>&1
no linux é possível fazer
if grep -qs bla arquivo.txt
as opções são:
-q Quiet
-s Silent
por falar nisso, alguém conhece algum site que libere shell
gratuito nessas máquinas para fazer esse tipo de teste?
falou.
=====
--
Aurelio Marinho Jargas - Floripa
Area nova sobre o Cygwin http://aurelio.net/cygwin
Apostila de Shell a venda http://aurelio.net/shell/apostila
Em Outubro, se mudando de volta para Curitiba
- Ifconfig, Alexander, 2003/09/26
- Re: Ifconfig, Luciano ES, 2003/09/27
- Re: [shell-script] Re: Ifconfig,
Aurelio Marinho Jargas <=