Archivo de la categoría: Nix

Vi editor

Para navegar se utiliza J K arriba abajo H L izquierda derechaPara buscar un string ‘/’ Para ver la siguiente búsqueda ‘N’ para una búsqueda atras ‘SHIFT + N’Para acceder a la ayuda ‘SHIFT + :help‘ Para regresar ‘SHIFT + :q’Para ver el número de línea ‘CTRL + g’ Para ir al final del archivo… Leer más: Vi editor »

Utilidades Básicas de Linux

uptime  # te dice cuanto tiempo lleva el sistema corriendocat /proc/meminfo #Uso actual de la memoríacat /proc/cpuinfo #información del procesadorfree #total de memoria watch free #Despliega cada determinado tiempo en pantalla un comandotop #combinación de varios comandos muestra por ejemplo número de procesos vmstat #Reporte de memoria virtual  

Navegación Básica en Shell

Variable $PATH El PATH se encuentra en .bash_profile # .bash_profile # Get the aliases and functionsif [ -f ~/.bashrc ]; then        . ~/.bashrcfi # User specific environment and startup programs PATH=$PATH:$HOME/bin:/usr/java/jre1.5.0_07/bin/export PATHunset USERNAME Para aplicar la configuración de path en caso de cambiar las variables se carga con el comando: #source .bash_profile Para mostrar los… Leer más: Navegación Básica en Shell »

Wine Flash Player 8.5 Linux (Ubuntu Dapper Drake)

1.install wine sudo apt-get install wine 2. install msttcorefonts (optional) sudo apt-get install msttcorefonts 3. Download firefox version for windows (yes you heard it well – Thank you macromedia) wget http://ftp-mozilla.netscape.com/pub/mozilla.org/firefox/releases/1.5.0.3/win32/en-US/Firefox%20Setup%201.5.0.3.exe run the setup wine Firefox\ Setup\ 1.5.0.3.exe 4.Download the macromedia flash 8.5 setup wget http://fpdownload.macromedia.com/get/flashplayer/current/fp8-5_beta/install_flash_player_8-5_beta.exe Start the setup with wine wine install_flash_player_8-5_beta.exe point the… Leer más: Wine Flash Player 8.5 Linux (Ubuntu Dapper Drake) »

Php mbstring

Phpmyadmin se quejo de un error con mbstring No se halló la extensión PHP mbstring y al parecer usted está usando tipografía multibyte. phpMyAdmin no puede cortar correctamente las cadenas de caracteres sin la extensión mbstring y podría dar resultados inesperados. Para instalarla : #yum install php-mbstring

Instalar vmmouse para que no este atrapado en ubuntu o fedora con xorg

El problema de tener 2 monitores con vmware es que el mouse se queda trabado y hay que presionar CTRL ALT para destrabarlo. Esto se soluciona de la siguiente manera: Primero copiar manualmente cp /usr/lib/vmware-tools/configurator/XOrg/6.8.x/vmmouse_drv.o /usr/lib/xorg/modules/input/ Despues hay que editar /etc/X11/xorg.conf y buscar algo parecido: Section «InputDevice» Identifier «Mouse0» Driver «vmmouse» Option «Protocol» «ps/2» Option… Leer más: Instalar vmmouse para que no este atrapado en ubuntu o… »

Recover Boot Password

Reset Root Password – Step 1 To solve the «lost root password» problem is to boot your computer from your Linux Installation CD, or from a live-CD such as Knoppix. Using Knoppix, boot the live-CD then go to a terminal and su to root (no password is required) then issue the following commands (be sure… Leer más: Recover Boot Password »