Comandos básicos en linux
diciembre 17, 2009Para los recien llegados, les publico un compendio muy bueno de comandos básicos para manejar una distribución de linux, animo no temais a la consola.
Privilegios
sudo command – run command as root
sudo -s – open a root shell
sudo -s -u user – open a shell as user
sudo -k – forget sudo passwords
gksudo command – visual sudo dialog (GNOME)
kdesudo command – visual sudo dialog (KDE)
sudo visudo – edit /etc/sudoers
gksudo nautilus – root file manager (GNOME)
kdesudo konqueror – root file manager (KDE)
passwd – change your password
Pantalla
sudo /etc/init.d/gdm restart – restart X and return to login (GNOME)
sudo /etc/init.d/kdm restart – restart X and return to login (KDE)
sudo dexconf – reset xorg.conf configuration
Ctrl+Alt+Bksp – restart X display if frozen
Ctrl+Alt+FN – switch to tty N
Ctrl+Alt+F7 – switch back to X display
Servicios del sistema
( anteponer estos comandos con sudo)
start service – start job service (Upstart)
stop service – stop job service (Upstart)
status service – check if service is running (Upstart)
/etc/init.d/service start – start service (SysV)
/etc/init.d/service stop – stop service (SysV)
/etc/init.d/service status – check service (SysV)
/etc/init.d/service restart – restart service (SysV)
runlevel – get current runlevel
Manejador de paquetes
( anteponer estos comandos con sudo)
apt-get update – refresh available updates
apt-get upgrade – upgrade all packages
apt-get dist-upgrade – upgrade with package
replacements; upgrade Ubuntu version
apt-get install pkg – install pkg
apt-get purge pkg – uninstall pkg
apt-get autoremove – remove obsolete packages
apt-get -f install – try to fix broken packages
dpkg –configure -a – try to fix broken packages
dpkg -i pkg.deb – install file pkg.deb
(file) /etc/apt/sources.list – APT repository list
Red
ifconfig – show network information
iwconfig – show wireless information
sudo iwlist scan – scan for wireless networks
sudo /etc/init.d/networking restart – reset
network for manual configurations
(file) /etc/network/interfaces – manual configuration
ifup interface – bring interface online
ifdown interface – disable interface
Paquetes especiales
linux-headers-generic – latest build headers
ubuntu-desktop – standard Ubuntu environment
kubuntu-desktop – KDE desktop
xubuntu-desktop – XFCE desktop
ubuntu-minimal – core Ubuntu utilities
ubuntu-standard – standard Ubuntu utilities
ubuntu-restricted-extras – non-free, but useful
kubuntu-restricted-extras – KDE of the above
xubuntu-restricted-extras – XFCE of the above
build-essential – packages used to compile programs
linux-image-generic – latest generic kernel image
Nombres de aplicaciones
nautilus – file manager (GNOME)
dolphin – file manager (KDE)
konqueror – web browser (KDE)
kate – text editor (KDE)
gedit – text editor (GNOME)
Sistema
lsb_release -a – get Ubuntu version
uname -r – get kernel version
Publicado en linux, manuales, ubuntu | Etiquetado apt-get, comandos basicos, comandos mas usados, consola, distribucion, linux, lista de comandos, odenes, red, servicios del sistema, sudo, terminal, ubuntu |
Comentario…
[..]Articulo Indexado Correctamente[..]…
por Trackback diciembre 26, 2009 at 6:47 pmHello colleagues, its impressive paragraph about educationand entirely defined, keep it up all the time.
por online get paid noviembre 19, 2012 at 8:49 amThis emotion takes place simply because, glucomannan swells
por facts about saffron extract May 20, 2013 at 4:50 pmup once it is uncovered to liquids. Turmeric has anti-inflammatory tendencies, which help decrease suffering in the
joints brought about by rheumatic arthritis and previous age.