copy - copiar para a área de transferência
Publicado por Perfil removido (última atualização em 31/05/2017)
[ Hits: 4.643 ]
Copia para a área de trabalho (clipboard) os parâmetros enviados ao script ou os lê via STDIN.
Exemplos:
./copy string
./copy <ENTER> this is a string <^d>
./copy < string
./copy < filepath
#!/bin/sh # # if no args are given it reads stdin for input # redirection can be used to read from another process or via pipe # there is no need to quote as it takes all args # # examples: # copy string # copy <Return>, this is a string <^d> # copy < string # copy < filepath # # depends: xsel if test -n "$1"; then printf "%s" "$*" | xsel -bi exit $? fi printf "%s" "$(cat)" | xsel -bi
script testador de ips para rede wireless
[wgetreload] Evitando conexão "staled" (parada) no wget
Nenhum comentário foi encontrado.
Resolver problemas de Internet
Como compartilhar a tela do Ubuntu com uma Smart TV (LG, Samsung, etc.)
Descritores de Arquivos e Swappiness
Solução rápida para o problema do Network Manager conectar mas não navegar
Como instalar no Linux Jogos da Steam só para Windows
Instalando o Team Viewer no Debian Trixie - problema no Policykit
Ajuda Pra Melhoria do NFTABLES. (5)
Sunshine e Moonlight Linux (0)