Linux Command Line - nothing it's impossible by command line!
Comandos por argumento
Mostrar todos os comandos
Indice dos Comandos de A-Z
Ferramentas
Language
Česká republika - Czech Republic
Deutsch - German
English - English
Español - Spanish
Français - French
Indonesia - Indonesian
Italiano - Italian
Polski - Polish
Português - Brazil Portuguese
ελληνικά - Greek
Па-беларуску - Byelorussian
Русский - Russian
العربية - Arabic
فارسی - Persian
中国 - Chinese
Download offline copy
Créditos
Edit / Translate
Pendências (Ajude-nos)
Termos de Uso e Licença
Sobre o Projeto
Follow us on...
News Letter
Me informar de atualizações deste documento
Version
Linux Command Line
version 1.4
Last modified date: 2009-07-03
Created Date: 2008-01-06
Linux Command Line
Manipulaçao de texto
Linux Command Line:
Manipulaçao de texto
Nesta página você pode ver todos os comandos divididos em argumentos
-- Comandos por argumento --
APT packages tool (Debian, Ubuntu and alike)
Archives and compressed files
Backup
CDROM
Character set and Format file conversion
DEB packages (Debian, Ubuntu and like)
Disk Space
File search
Files and Directory
Filesystem Analysis
Filesystem SWAP
Format a Filesystem
IPTABLES (firewall)
Microsoft Windows networks (samba)
Monitoring and debugging
Mounting a Filesystem
Networking (LAN / WiFi)
Others useful commands
Pacman packages tool (Arch, Frugalware and alike)
Permits on Files
RPM Packages ( Fedora, Red Hat and like)
Shutdown, Restart and Logout of a system
Special Attributes on files
System information
Text Manipulation
Users and Groups
View file content
YUM packages tool (Fedora, RedHat and alike)
Comando
Descrição
# cat example.txt | awk 'NR%2==1'
remove all even lines from example.txt
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# echo a b c | awk '{print $1}'
view the first column of a line
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# echo a b c | awk '{print $1,$3}'
view the first and third column of a line
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# cat -n file1
number row of a file
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# comm -1 file1 file2
compare contents of two files by deleting only unique lines from 'file1'
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# comm -2 file1 file2
compare contents of two files by deleting only unique lines from 'file2'
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# comm -3 file1 file2
compare contents of two files by deleting only the lines that appear on both files
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# diff file1 file2
find differences between two files
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# grep Aug /var/log/messages
look up words "Aug" on file '/var/log/messages'
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# grep ^Aug /var/log/messages
look up words that begin with "Aug" on file '/var/log/messages'
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# grep [0-9] /var/log/messages
select from file '/var/log/messages' all lines that contain numbers
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# grep Aug -R /var/log/*
search string "Aug" at directory '/var/log' and below
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# paste file1 file2
merging contents of two files for columns
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# paste -d '+' file1 file2
merging contents of two files for columns with '+' delimiter on the center
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# sdiff file1 file2
find differences between two files and merge interactively alike "diff"
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# sed 's/string1/string2/g' example.txt
replace "string1" with "string2" in example.txt
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# sed '/^$/d' example.txt
remove all blank lines from example.txt
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# sed '/ *#/d; /^$/d' example.txt
remove comments and blank lines from example.txt
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# sed -e '1d' exampe.txt
eliminates the first line from file example.txt
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# sed -n '/string1/p'
view only lines that contain the word "string1"
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# sed -e 's/ *$//' example.txt
remove empty characters at the end of each row
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# sed -e 's/string1//g' example.txt
remove only the word "string1" from text and leave intact all
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# sed -n '1,5p' example.txt
print from 1th to 5th row of example.txt
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# sed -n '5p;5q' example.txt
print row number 5 of example.txt
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# sed -e 's/00*/0/g' example.txt
replace more zeros with a single zero
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# sort file1 file2
sort contents of two files
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# sort file1 file2 | uniq
sort contents of two files omitting lines repeated
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# sort file1 file2 | uniq -u
sort contents of two files by viewing only unique line
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# sort file1 file2 | uniq -d
sort contents of two files by viewing only duplicate line
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
# echo 'word' | tr '[:lower:]' '[:upper:]'
convert from lower case in upper case
[english]
Não há descrição disponível para este idioma
[Brazil Portuguese?]
Comandos por argumento
Informaçao do Sistema
-
Encerrar , Reiniciar e Sair de um sistema
-
Arquivos e Diretório
-
Procura de arquivo
-
Montando um Sistema de arquivo
-
Espaço em disco
-
Usuários e Grupos
-
Autorizações em arquivos
-
Special Attributes on files
-
Arquivos e arquivos comprimidos
-
RPM Packages ( Fedora, Red Hat and like)
-
Ferramenta de pacotes YUM (Fedora, RedHat e afins
-
Pacotes DEB(Debian, Ubuntu and like)
-
APT packages tool (Debian, Ubuntu and alike)
-
Ver conteúdo do arquivo
-
Manipulaçao de texto
-
Conjunto de caracteres e converção de formato de arquivo
-
Análise do sistema de arquivos
-
Formatar um sistema de arquivo
-
Sistema de arquivo SWAP
-
Cópia de segurança
-
CDROM
-
Redes (LAN / WiFi)
-
Microsoft Windows networks (samba)
-
IPTABLES (firewall)
-
Monitorando e Depurando
-
Outros comandos úteis
-
Pacman packages tool (Arch, Frugalware and alike)
-
Traduzido por:
become translator!
Social Bookmarking
Script Generator
Exceto onde especificado o contrário, o conteúdo do LinuxCmd.org e licenciado pela Licença Creative Commons 2.5 Attribution
Livre Distribuição se devidamente citados os Autores e, usos Não Comercial e, Sem Trabalhos Derivados 2.5
LinuxGuide.it
|
Termos de Uso e Licença
|
Privacy Policies
Our sponsors
|
Become sponsor
Logos e marcas registradas usadas nos links pertencem aos seus respectivos donos