shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Existe algum comando no Shell (bash)?


From: Junior
Subject: Existe algum comando no Shell (bash)?
Date: Sat, 06 Jul 2013 09:48:37 -0300
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130620 Thunderbird/17.0.7

...para descobrir se o script está sendo executado no Ubuntu 12.04ou posterior e se a barra do Unity está sendo usada?

Antigamente eu usava o Ubuntu 12.04 mas havia removido o Unity, usando o Gnome 3, emtão, meu script não seria utilizado, caso contrário ele iria prosseguir nas próximas linhas... Entenderam?

if ubuntu 12.04 ; if unity ...
senão sai fora...

grato


reply via email to

[Prev in Thread] Current Thread [Next in Thread]