Linux: Difference between revisions
No edit summary |
|||
| Line 1: | Line 1: | ||
== Dicas e Scripts == | |||
*[[Linux:Comando Find]] | *[[Linux:Comando Find]] | ||
| Line 4: | Line 6: | ||
*[[Linux:Pegando o endereço IP via shell]] | *[[Linux:Pegando o endereço IP via shell]] | ||
*[[Linux:Pegando o diretório onde o script está sendo executado via shell]] | |||
== Configurações == | == Configurações == | ||
Revision as of 14:01, 12 February 2009
Dicas e Scripts
Configurações
Apache HTTP Server
Protegendo Servidores internos através do Apache
Apache Tomcat Server
Script que checa se o Tomcat está no Ar
Squid Proxy Server
Squid autenticando na Rede Windows ou Samba
Backup em Linux
Comandos
| Purpose of command | Solaris | AIX | HP-UX |
|---|---|---|---|
| List contents of current directory |
ls -la |
ls -la |
ls -la |
| List contents of an ASCII file |
cat /etc/passwd cat /etc/hosts |
cat /etc/passwd cat /etc/hosts |
cat /etc/passwd cat /etc/hosts |
| Determine file type |
file /etc/passwd file /usr file /etc/mount |
file /etc/passwd file /usr file /usr/sbin/mount |
file /etc/passwd file /usr file /usr/sbin/mount |
mais comandos: http://www.unixguide.net/cgi-bin/unixguide.cgi
exemplo: http://en.wikipedia.org/wiki/Comparison_of_virtual_machines