Linux: Difference between revisions
(4 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
|- | |- | ||
|| | || | ||
* [[:Category:awk|awk]] | * [[:Category:awk|awk]] | ||
* [[:Category:curl|curl]] | |||
* [[:Category:find|find]] | * [[:Category:find|find]] | ||
* [[:Category:iostat|iostat]] | * [[:Category:iostat|iostat]] | ||
|| | |||
* [[:Category:ldapsearch|ldapsearch]] | |||
* [[:Category:lsof|lsof]] | * [[:Category:lsof|lsof]] | ||
* [[:Category:ncat|ncat]] | |||
* [[:Category:nmap|nmap]] | |||
|| | || | ||
* [[:Category:netstat|netstat]] | * [[:Category:netstat|netstat]] | ||
* [[:Category:nmon|nmon]] | * [[:Category:nmon|nmon]] | ||
* [[:Category:rar|rar]] | |||
* [[:Category:rpm|rpm]] | |||
|| | |||
* [[:Category:tar|tar]] | * [[:Category:tar|tar]] | ||
* [[:Category:top|top]] | * [[:Category:top|top]] | ||
* [[:Category:tcpdump|tcpdump]] | |||
* [[:Category:vmstat|vmstat]] | |||
|| | || | ||
* [[:Category:yum|yum]] | * [[:Category:yum|yum]] | ||
|} | |} | ||
Line 42: | Line 44: | ||
|- | |- | ||
!Purpose of command | !Purpose of command | ||
! | !Linux | ||
!AIX | !AIX | ||
! | !PowerShell | ||
|- | |- | ||
!List contents of current directory | !List contents of current directory | ||
Line 52: | Line 54: | ||
ls -la | ls -la | ||
| | | | ||
ls | ls | ||
|- | |- | ||
!List contents of an ASCII file | !List contents of an ASCII file | ||
Line 64: | Line 66: | ||
cat /etc/hosts | cat /etc/hosts | ||
| | | | ||
Get-Content * | |||
|- | |- | ||
! Determine file type | ! Determine file type | ||
Line 74: | Line 74: | ||
file /usr | file /usr | ||
file / | file /usr/sbin/mount | ||
| | | | ||
file /etc/passwd | file /etc/passwd | ||
Line 82: | Line 82: | ||
file /usr/sbin/mount | file /usr/sbin/mount | ||
| | | | ||
|- | |||
! Seleciona uma String | |||
| | |||
cat * | grep "string" | |||
| | |||
cat * | grep "string" | |||
| | |||
Get-Content * | Select-String "string" | |||
|- | |||
! Conta linhas | |||
| | |||
<nowiki>ls | wc -l</nowiki> | |||
| | |||
<nowiki>ls | wc -l</nowiki> | |||
| | |||
ls | Measure-Object -line | |||
|- | |- | ||
|} | |} |
Latest revision as of 15:54, 4 May 2023
AIX
AIX: Listar arquivos por tamanho ou Human-Readable no AIX
AIX:Configurar ips adicionais no AIX
AIX:Erro "File too large" ao realizar scp de um arquivo para o AIX
AIX: Executar um programa X11 após um sudo
Comandos
Comparativo entre Unix/Linux:
Purpose of command | Linux | AIX | PowerShell |
---|---|---|---|
List contents of current directory |
ls -la |
ls -la |
ls |
List contents of an ASCII file |
cat /etc/passwd cat /etc/hosts |
cat /etc/passwd cat /etc/hosts |
Get-Content * |
Determine file type |
file /etc/passwd file /usr file /usr/sbin/mount |
file /etc/passwd file /usr file /usr/sbin/mount |
|
Seleciona uma String |
cat * | grep "string" |
cat * | grep "string" |
Get-Content * | Select-String "string" |
Conta linhas |
ls | wc -l |
ls | wc -l |
ls | Measure-Object -line |
mais comandos: http://www.unixguide.net/cgi-bin/unixguide.cgi
Dicas e Scripts
Comandos e Shell Scripts
Listando o Hardware
Distribuições: CentOS / Fedora
Alternatives
Install IBM Java on Fedora and config plugin at Firefox
Tecnologias
Configurações
Apache HTTP Server
Artigos sobre o Apache HTTP Server
Apache Tomcat Server
Script que checa se o Tomcat está no Ar
MySQL Server
OpenLDAP Server
OpenLDAP: Instalando e Configurando um servidor OpenLDAP
Squid Proxy Server
Squid autenticando na Rede Windows ou Samba
exemplo: http://en.wikipedia.org/wiki/Comparison_of_virtual_machines