Linux: Difference between revisions

From Wiki
 
(14 intermediate revisions by the same user not shown)
Line 13: Line 13:
= Comandos =
= Comandos =


*[[Linux:Comando Awk|Awk]]
{|
 
|-
*[[Linux:Comando Find|Find]]
||
 
* [[:Category:awk|awk]]
* Tar
* [[:Category:curl|curl]]
** [[Linux:Backup em Linux|Backup em Linux]]
* [[:Category:find|find]]
 
* [[:Category:iostat|iostat]]
*[[Linux:Rar no Linux|Rar]]
||
 
* [[:Category:ldapsearch|ldapsearch]]
*[[Linux:Dicas sobre RPM|Rpm]]
* [[:Category:lsof|lsof]]
 
* [[:Category:ncat|ncat]]
*[[Linux:Comando Xargs|Xargs]]
* [[:Category:nmap|nmap]]
 
||
* Yum
* [[:Category:netstat|netstat]]
** [[Linux:Usando YUM apenas com o DVD ou CD|Usando YUM apenas com o DVD ou CD]]
* [[:Category:nmon|nmon]]
** [[Yum:Configurando repositorios]]
* [[:Category:rar|rar]]
 
* [[:Category:rpm|rpm]]
||
* [[:Category:tar|tar]]
* [[:Category:top|top]]
* [[:Category:tcpdump|tcpdump]]
* [[:Category:vmstat|vmstat]]
||
* [[:Category:yum|yum]]
|}


'''Comparativo entre Unix/Linux:'''
'''Comparativo entre Unix/Linux:'''
Line 36: Line 44:
|-
|-
!Purpose of command  
!Purpose of command  
!Solaris
!Linux
!AIX  
!AIX  
!HP-UX
!PowerShell
|-
|-
!List contents of current directory
!List contents of current directory
Line 46: Line 54:
ls -la
ls -la
|
|
ls -la
ls
|-
|-
!List contents of an ASCII file
!List contents of an ASCII file
Line 58: Line 66:
cat /etc/hosts
cat /etc/hosts
|
|
cat /etc/passwd
Get-Content *
 
cat /etc/hosts
|-
|-
! Determine file type
! Determine file type
Line 68: Line 74:
file /usr
file /usr


file /etc/mount
file /usr/sbin/mount
|
|
file /etc/passwd
file /etc/passwd
Line 76: Line 82:
file /usr/sbin/mount
file /usr/sbin/mount
|
|
file /etc/passwd


file /usr
|-
 
! Seleciona uma String
file /usr/sbin/mount
|
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
|-
|-
|}
|}
Line 154: Line 172:


== OpenLDAP Server ==
== OpenLDAP Server ==
[[OpenLDAP: Instalando e Configurando um servidor OpenLDAP]]


[[OpenLDAP:Configurando um LDAP Proxy|Configurando um LDAP Proxy]]
[[OpenLDAP:Configurando um LDAP Proxy|Configurando um LDAP Proxy]]

Latest revision as of 15:54, 4 May 2023

AIX

AIX: Memória Livre no 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

Configurando o MySQL

OpenLDAP Server

OpenLDAP: Instalando e Configurando um servidor OpenLDAP

Configurando um LDAP Proxy

Squid Proxy Server

Squid autenticando na Rede Windows ou Samba

Limpando o Cache do Squid

exemplo: http://en.wikipedia.org/wiki/Comparison_of_virtual_machines