1) telnet
Telnet allows you to login remotely from a remote computer to a host
server running any unix or unix clone system. Other variation is called
RLOGIN/rlogin. A newer variation also allows you to login more securely
using the secure shell (SSH).
2) who
Shows you who else is currently logged in on your ISP’s LAN. Other good
commands to explore the other users on your LAN are “w,” “rwho, ” “users.”
3) netstat
All sorts of statistics on your LAN, including all Internet connections.
For real fun, try “netstat -r” to see the kernel routing table. However,
be careful. I was teaching a friend the basics of summing up a Unix
system and I told her to do that and ‘ifconfig’. She was booted off the
system the next day for ‘hacker suspicion’ even though both are legitimate
commands for users.”
4) whois
Get lots of information on Internet hosts outside you LAN.
5) nslookup
Get a whole bunch more information on other Internet hosts.
6) dig
Even more info on other Internet hosts. Nslookup and dig are not
redundant. Try to get a shell account that lets you use both.
7) finger
Not only can you use finger inside your LAN. It will sometimes get you
valuable information about users on other Internet hosts.
8) ping
Find out if a distant computer is alive and run diagnostic tests -- or
just plain be a meanie and clobber people with pings. (I strongly advise
*against* using ping to annoy or harm others.)
9) traceroute
Kind of like ping with attitude. Maps Internet connections, reveals
routers and boxes running firewalls.
10) ftp
Use it to upload and download files to and from other computers.
Once you get your shell account, you will probably want to supplement the
“man” command with a good Unix book .
Otra lista:
who lista de usuarios conectados
finger información sobre usuario
mail sencillo programa de correo
write manda un mensaje a la pantalla de un usuario
mesg bloqueo de mensajes de write
wall mensaje a todos los usuarios
talk establecer una charla con otro usuario
banner saca letrero en pantalla con el texto que se le pase
cal saca el calendario en pantalla
clear limpia la pantalla
date saca fecha y hora actuales
passwd cambiar contraseña de un usuario
Enlaces simbólicos
Unix tiene un tipo de fichero que no existe bajo DOS: el enlace simbólico. Puede pensar en él como un puntero o enlace a un fichero o a un directorio y que puede utilizarse en lugar del fichero o del directorio al que apunta; es similar a los «Accesos Directos» de Windows. Ejemplos de enlaces simbólicos son /usr/X11, que apunta a /usr/X11R6; /dev/modem, que apunta a /dev/ttyS0 o a /dev/ttyS1.
Para crear un enlace simbólico:
$ ln -s
Ejemplo:
$ ln -s /usr/doc/g77/DOC g77manual.txt
Ahora puede referirse a g77manual.txt en lugar de /usr/doc/g77/DOC. Los enlaces aparecen en los listados de directorio así:
$ ls -F
g77manual.txt@
$ ls -l
l(muchas cosas...) g77manual.txt -> /usr/doc/g77/DOC
Configurar la red UMB en linux
# ifconfig eth0 172.16.14.X netmask 255.255.255.0 up
#ifconfig
# route add -net 0.0.0.0 gw 172.16.140.2
#ping 172.16.14.12
Entorno gráfico xwindow
Iniciar X : startx
Abrir nuevas sesiones: startx -- :2 , :3 , :4 , etc.
Configuración de XF86: /etc/X11/XF86Config
Configuración de servidor X: /etc/X11/Xserver
Configurar X XF86Setup (entorno gráfico, tienes que instalar xserver_vga) /usr/sbin/xbase-configure
(entorno línea de comandos)
Salir de las X: ctrl-alt-backspace
Fichero donde está el programa que arranca las X /etc/X11/window-managers
Ejecución de programas en sistemas remotos
Para ejecutar un programa en una máquina remota cuyo nombre es maquina.remota.edu, teclee:
$ telnet maquina.remota.edu
Tras introducir su nombre de usuario y contraseña, arranque su programa favorito. Obviamente, debe tener una cuenta en la máquina remota.
Si tiene X11, puede incluso ejecutar una aplicación X en un ordenador remoto, mostrándolo en su pantalla de X. Supongamos maquina.remota.edu la máquina X remota y sistema.linux.yo su máquina Linux. Para ejecutar desde sistema.linux.yo un programa X que reside en maquina.remota.edu, haga lo siguiente:
arranque X, arranque un xterm o un emulador de terminal equivalente, y después teclee:
$ xhost +maquina.remota.edu
$ telnet maquina.remota.edu
tras introducir su nombre y contraseña, teclee:
remote:$ DISPLAY=sistema.linux.yo:0.0
remote:$ programa &
(en vez de DISPLAY..., puede que tenga que escribir setenv DISPLAY sistema.linux.yo:0.0. Depende del intérprete de órdenes remoto).
Comprimir y descomprimir
Descomprimir un *.tar.gz tar -xvzf
Descomprimir un *.tar
(el tar es un tar_gz al que
se le ha pasado gunzip) tar -xvf
Descomprimir un *.gz gzip -d
Empaquetar sin comprimir tar
Comprimir ficheros empaquetados gzip
Instalación y manejo de paquetes en Debian
dpkg -i Instalar paquete
dpkg --info Información del paquete
dpkg -c Muestra la lista de ficheros contenidos
dpkg --contents Lista todos los ficheros contenidos con sus
directorios
dpkg -f Muestra información de versión del paquete
dpkg --unpack Desempaqueta
dpkg --purge Borra un paquete incluidos los ficheros de
configuración
dpkg -r Borra un paquete pero no borra los ficheros
de configuración
dpkg -L Lista el paquete si está instalado
dpkg -l Lista los paquetes instalados
Convertir paquetes de RedHat a Debian
alien -d fichero.rpm convierte fichero rpm a deb
alien -d fichero.tgz convierte fichero tgz a deb
alien -i fichero.rpm convierte fichero rpm a deb y lo instala
alien -i fichero.tgz convierte fichero tgz a deb y lo instala
Tomado de:http://gazeek.com/linux/the-complete-linux-introduction--part-1_5.html Esta es una traducción hecha por DAVID ARENAS http://www.linuxparatodos.net/geeklog/staticpages/index.php?page=08-parametros-red