[Ubuntu-BR] Ajuda para criar um alias no .bashrc
Onilton Maciel
oniltonmaciel em gmail.com
Sexta Setembro 18 13:35:36 UTC 2009
Tenta isso aqui cara:
alias conk='ps axu | grep conky | awk '\''{ print $2 }'\'''
2009/9/17 <lista em fg.med.br>
> O comando a seguir funciona bem no terminal:
>
> $ ps axu | grep conky | awk '{ print $2 }'
> 4728
> 4770
>
> Porém se coloco no .bashrc ele não funciona tão bem:
>
> alias con="ps axu | grep conky | awk '{ print $2 }'"
>
> $ con
> dg 4728 2.1 0.1 91792 4344 ? S 21:15 2:18 conky -c /home/dg/.conkyrc
> dg 4770 0.1 0.0 90828 3184 ? S 21:15 0:06 conky -c /home/dg/.conkyrc2
>
> Agradeço.
>
>
> --
> Mais sobre o Ubuntu em português: http://www.ubuntu-br.org/comece
>
> Lista de discussão Ubuntu Brasil
> Histórico, descadastramento e outras opções:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
>
More information about the ubuntu-br
mailing list