Beruflich Dokumente
Kultur Dokumente
1 de 4
http://www.ajpdsoft.com/modules.php?name=news&file=article&sid=155
COMANDO
DESCRIPCIN
EJEMPLO
su nombreusuario
who -u
who -u
who -b
ps -A
ps -A | grep bash
ps -A | grep bash
ps -fu oracle
ps -fu oracle
pstree
pstree
kill -9 numeroproceso
Cierra
el
proceso
(numeroproceso)
kill -9 745
ls -l
ls -l
ls -lSrh
ls -lSrh
en
ejecucin
especificado
por
el
who -b
el
PID
ps -A
sh nombreficherosh
sh prueba.sh
./nombrefichero
./mysql
apt-get update
apt-get upgrade
apt-get install -f
apt-get install -f
apt-get clean
apt-get clean
cp nombrefichero carpetadestino
cp * /usr/bin
mv nombrecarpeta carpetadestino
mv /home/alonso /etc
whoami
whoami
pwd
pwd
ifconfig
ifconfig
iwconfig
iwconfig wlan0
ping host
ping 192.168.1.5
ifconfig id_tarjeta up
ifconfig eth0 up
route
passwd nombreusuario
passwd alonso
cat nombrefichero
cat /etc/mysql/my.cnf
apt-get update
rm nombrefichero
rm /home/alonso/hola.txt
rm -f -v
rm -f -v fernando*
shred -u nombre_fichero
date
cal mes ao
date
cal 12 2005
man comando
man ifconfig
cd nombredirectorio
cd /usr/bin
mkdir nombredirectorio
Crea un directorio
mkdir prueba
rmdir nombredirectorio
rmdir prueba
rm -r nombredirectorio
rm -r prueba
file cdrom
31/08/2009 12:39
2 de 4
http://www.ajpdsoft.com/modules.php?name=news&file=article&sid=155
find expresionbusqueda
cksum nombrefichero
cksum isoinfo
df -h
df . -h
df -h
df . -h
uname -a
uname -a
arp
date --set=15:30
date --set=15:30
deluser nombreusuario
deluser alonso
discover ethernet
discover ethernet
echo $NOMBREVARIABLE
echo $HOSTNAME
env
env
fdisk -l
fdisk -l
free
fsck /dev/hda1
fsck /dev/hda1
groups
free
groupadd nombregrupo
groupadd leerayuda
gzip fichero
gzip mysql
head nombrefichero
head mysql
history
history
nombreservicio -k restart
httpd -k restart
ifdown eth0
ifdown eth0
ifup eth0
ifup eth0
netstat -a
netstat -a
type comando
type ifconfig
umount /dispositivo
umount /cdrom
umount -a
wc nombrefichero
wc prueba
whois nombredominio
whois ajpdsoft.com
xvncviewer ip
xvncviewer 192.168.1.3
which comando
which ls
wget direccionftp/nombrefichero
addgroup nombregrupo
addgroup accesored
top
top
tail nombrefichero
tail my.cnf
31/08/2009 12:39
3 de 4
http://www.ajpdsoft.com/modules.php?name=news&file=article&sid=155
shutdown -h now
shutdown -r now
shutdown -r now
shutdown -r hh:mm
shutdown -r 20:00
sqlplus /nolog
hwbrowser&
hwbrowser&
watch "comando"
whereis
whereis ls
Busca los archivos ejecutables, las fuentes y el manual
de un comando
whereis man
ifdown eth0
ifdown eth0
ifup eth0
ifup eth0
chkconfig
modprobe
modprobe qla2300
vmstat
free
lsmod
cd /etc/init.d
ls -l
cd /etc/init.d
ls -l
export nombrevariable=valor
export $PATH=/home/oracle/bin
echo nombrevariable
echo $PATH
set
set
$ORACLE_HOME/bin/rman target=/
$ORACLE_HOME/bin/rman target=/
hostname -i
hostname -i
ethtool eth0
ethtool eth0
Aade una nueva IP al interfaz de red indicado, en este ip addr add 192.168.1.100 brd +
caso "eth0"
dev eth0
ip addr show
ip addr show
cal -3
cal -3
last reboot
last reboot
alias comando
lspci -tv
lspci -tv
lsusb -tv
lsusb -tv
visudo
visudo
telnet IP Puerto
nano nombre_fichero
nano /etc/sudoers
ftp
ftp
id nombre_usuario
id root
adduser -u 0 -o -g 0 -G 0,1,2,3,4,6,10 -M
nombre_usuario
adduser -u 0 -o -g 0 -G
0,1,2,3,4,6,10 -M fernando
crontab -e
init numero_nivel
ld
init 5
31/08/2009 12:39
4 de 4
http://www.ajpdsoft.com/modules.php?name=news&file=article&sid=155
runlevel
halt
poweroff
poweroff
reboot
reboot
runlevel
31/08/2009 12:39