[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] shell1line
From: |
Tiago Barcellos Peczenyj |
Subject: |
Re: [shell-script] shell1line |
Date: |
Mon, 17 Sep 2007 13:37:53 -0300 |
Ok pessoal, vamos criar um, e utilizar uma ferramenta para isso:
http://pastebin.com/f19872a1f
Tomei a liberdade de adicionar apenas o email do reinaldo e um texto meu pq
agora eu estou com pouco tempo.
A ideia é a seguinte: Cada um adiciona os 1liners que achar melhor e
informa no histórico o que adicionou.
Primeiro vamos verificar as novas entradas "View followups from ..." e,
assim que atingirmos o fim, adicionamos os one liners.
Talvez um wiki fosse melhor, mas não custa tentar :)
On 9/15/07, Reinaldo Carvalho <address@hidden> wrote:
>
> - Bash Expansions
> data=root:x:0:0:root:/root:/bin/bash
> echo ${data#*:} # show after first :
> echo ${data##*:} # show after last :
> echo ${data%:*} # show before last :
> echo ${data%%:*} # show before fisrt :
> echo ${data/:/,} # Switch first match
> echo ${data//:/,} # Switch all matchs
>
> --
> Reinaldo Carvalho
>
> On 9/15/07, Ivan lopes <address@hidden<lopesivan.del%40gmail.com>>
> wrote:
> > Iniciado ....
> >
> >
> > # Extract many files:
> > $ ls *.tgz| sed 's/^/tar xvzf /'| sh
> >
> > # prompt
> > Ctrl + a - Jump to the start of the line
> > Ctrl + b - Move back a char
> > Ctrl + c - Terminate the command
> > Ctrl + d - Delete from under the cursor
> > Ctrl + e - Jump to the end of the line
> > Ctrl + f - Move forward a char
> > Ctrl + k - Delete to EOL
> > Ctrl + l - Clear the screen
> > Ctrl + r - Search the history backwards
> > Ctrl + R - Search the history backwards with multi occurrence
> > Ctrl + u - Delete backward from cursor
> > Ctrl + w - Delete backward a word
> > Ctrl + xx - Move between EOL and current cursor position
> > Ctrl + x @ - Show possible hostname completions
> > Ctrl + z - Suspend/ Stop the command
> >
> > Alt + < - Move to the first line in the history
> > Alt + > - Move to the last line in the history
> > Alt + ? - Show current completion list
> > Alt + * - Insert all possible completions
> > Alt + / - Attempt to complete filename
> > Alt + . - Yank last argument to previous command
> > Alt + b - Move backward
> > Alt + c - Capitalize the word
> > Alt + d - Delete word
> > Alt + f - Move forward
> > Alt + l - Make word lowercase
> > Alt + n - Search the history forwards non-incremental
> > Alt + p - Search the history backwards non-incremental
> > Alt + r - Recall command
> > Alt + t - Move words around
> > Alt + u - Make word uppercase
> > Alt + back-space - Delete backward from cursor
> >
> >
> > ----------------------------------------------------------
> > Esta lista não admite a abordagem de outras liguagens de programação,
> como perl, C etc. Quem insistir em não seguir esta regra será moderado sem
> prévio aviso.
> > ----------------------------------------------------------
> > Sair da lista: address@hidden<shell-script-unsubscribe%40yahoogrupos.com.br>
> > ----------------------------------------------------------
> > Esta lista é moderada de acordo com o previsto em
> http://www.listas-discussao.cjb.net
> > ----------------------------------------------------------
> > Servidor Newsgroup da lista: news.gmane.org
> > Grupo: gmane.org.user-groups.programming.shell.brazil
> >
> >
> > Links do Yahoo! Grupos
> >
> >
> >
>
>
--
Tiago B Peczenyj
Linux User #405772
http://peczenyj.blogspot.com/
[As partes desta mensagem que não continham texto foram removidas]
- shell1line, Ivan lopes, 2007/09/14
- Re: [shell-script] shell1line, Tiago Barcellos Peczenyj, 2007/09/15
- Re: [shell-script] shell1line, Ivan lopes, 2007/09/15
- Re: [shell-script] shell1line, Ivan lopes, 2007/09/15
- Re: [shell-script] shell1line, Reinaldo Carvalho, 2007/09/15
- Re: [shell-script] shell1line, André Saunite, 2007/09/16
- Re: [shell-script] shell1line, Ivan lopes, 2007/09/16
- Re: [shell-script] shell1line, Leandro Santiago da Silva, 2007/09/16
- Re: [shell-script] shell1line, Ivan lopes, 2007/09/16
- Re: [shell-script] shell1line, Ivan lopes, 2007/09/16
- Re: [shell-script] shell1line,
Tiago Barcellos Peczenyj <=
- Re: [shell-script] shell1line, Bruno Gunter Fricke, 2007/09/17
- Re: [shell-script] shell1line, Ivan lopes, 2007/09/17
Re: [shell-script] shell1line, Tiago Barcellos Peczenyj, 2007/09/18
Re: [shell-script] shell1line, anonymous misteryous, 2007/09/27