The UNIX and Linux Forums  


Go Back   El UNIX y Linux Foros > Arriba Foros > UNIX for Dummies Preguntas y Respuestas
.
google unix.com



UNIX for Dummies Preguntas y Respuestas Si no está seguro de que para publicar un UNIX o Linux cuestión, puesto que aquí. Todos los novatos en Linux, UNIX y bienvenida!

Más UNIX y Linux Foro Temas usted puede encontrar útiles
Hilo Hilo para principiantes Foro Respuestas Último mensaje
Bash / Unix Comando Errores wcmmlynn UNIX para usuarios avanzados y expertos 0 11-13-2007 03:47 AM
errores con bm.zip csaunders Puntos de referencia de UNIX 0 04-04-2006 03:41 PM
Adaptador de errores y errores de Enlace mcastill66 AIX 2 08-02-2005 07:51 PM
Adaptador de errores y errores de Enlace mcastill66 UNIX para usuarios avanzados y expertos 0 08-02-2005 07:11 PM
awk errores billy5 Programación de scripts de shell y 4 06-22-2005 07:30 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
Linkback vínculo Herramientas de hilo Buscar en este Hilo Tasa de Hilo Modos de visualización
  #1 (Enlace permanente)  
Old 11-13-2007
wcmmlynn wcmmlynn is offline
Usuario Registrado
  
 

Fecha: noviembre 2007
Mensajes: 9
Gran OS errores / Bash errores ayudar!

Hola a todos, aquí maniquí .... Tengo grandes errores al entrar en el depósito. El ingreso me:

-bash: dircolors: command not found
-bash: tr: command not found
-bash: fgrep: command not found
-bash: grep: command not found
-bash: grep: command not found
-bash: id: command not found
-bash: [: \u003d: operador unario espera
-bash: whoami: command not found
-bash: grep: command not found
-bash: Mesg: command not found
-bash: dircolors: command not found
-bash: que: command not found
-bash: corte: command not found
-bash: corte: command not found
-bash: hostname: command not found
-bash: mail: command not found
-bash: fecha: command not found
-bash: que: command not found
-bash: hostname: command not found
-bash: fecha: command not found
-bash: que: command not found
-bash: hostname: command not found
-bash: fecha: command not found
-bash: que: command not found
-bash: corte: command not found
-bash: corte: command not found
-bash: que: command not found
-bash: mail: command not found
-bash: hostname: command not found
-bash: fecha: command not found
-bash: que: command not found


Uso Centos 4.5 en un servidor con Xeon de doble WHM / CP y algunos rpm.

Esto sucedió después de la instalación de Flash Media Server, que se ha eliminado.

Muchos comandos Unix son cruciales no funciona. No se puede usar o mkdir ping, etc

Alguna idea? ¿Puedo evitar que restaurar un sistema operativo?
  #2 (Enlace permanente)  
Old 11-13-2007
Portero porter is offline Forum Advisor  
Usuario Registrado
  
 

Fecha: enero 2007
Puestos: 2.965
Cita:
Publicado originalmente por wcmmlynn View Post
¿Puedo evitar que restaurar un sistema operativo?
Hm, depende ..

Usted tendrá que trabajar exclusivamente con los comandos bash interna ....


Código:
#see where we are
pwd
# see where commands are supposed to be
echo $PATH
# go to the root 
cd /
# see what root directories there are
echo *
# see if anything is in bin
echo /bin/*
# and usr/bin
echo /usr/bin/*

  #3 (Enlace permanente)  
Old 11-13-2007
wcmmlynn wcmmlynn is offline
Usuario Registrado
  
 

Fecha: noviembre 2007
Mensajes: 9
Usted tendrá que trabajar exclusivamente con los comandos bash interna ....

Ran los comandos, todo griego para mí ...

root @ host [/ bin] #
root @ host [/ bin] # pwd
/ bin
root @ host [/ bin] # # echo camino

root @ host [/ bin] # cd /
root @ host [/] # echo / bin / *
/ bin / arch / bin / cenizas / bin / ash.static / bin / awk / bin / basename / bin / bash / bin / bsh / bin / cat / bin / chgrp / bin / chmod / bin / chown / bin / cp / bin / cpio / bin / csh / bin / cortar / bin / date / bin / dd / bin / df / bin / dmesg / bin / dnsdomainname / bin / doexec / bin / domainname / bin / dumpkeys / bin / echo / bin / ed / bin / egrep / bin / env / bin / ex / bin / false / bin / fgrep / bin / gawk / bin / gettext / bin / grep / bin / gtar / bin / gunzip / bin / gzip / bin / hostname / bin / igawk / bin / ipcalc / bin / kbd_mode / bin / matar / bin / ksh / bin / link / bin / ln / bin / loadkeys / bin / login / bin / ls / bin / mail / bin / mailx / bin / mkdir / bin / mknod / bin / mktemp / bin / más / bin / mount / bin / mt / bin / mv / bin / netstat / bin / agradable / bin / nisdomainname / bin / passwd / bin / pgawk / bin / ping / bin/ping6 / bin / ps / bin / pwd / bin / rojo / bin / rm / bin / rmdir / bin / rpm / bin / RVI / bin / rview / bin /sed / bin / setfont / bin / setserial / bin / sh / bin / sueño / bin / tipo / bin / stty / bin / su / bin / de la suma / bin / sincronización / bin / tar / bin / tcsh / bin / contacto / bin / tracepath / bin/tracepath6 / bin / traceroute / bin/traceroute6 / bin / true / bin / umount / bin / uname / bin / unicode_start / bin / unicode_stop / bin / desenlazar / bin / usleep / bin /vi / bin / ver / bin / ypdomainname / bin / zcat
root @ host [/] # echo / usr / bin *
/ usr / bin
root @ host [/] #
  #4 (Enlace permanente)  
Old 11-13-2007
Portero porter is offline Forum Advisor  
Usuario Registrado
  
 

Fecha: enero 2007
Puestos: 2.965
casi, se "echo $ PATH", no "echo # CAMINO"

y "echo / usr / bin / *" y no "/ echo / usr / bin *"

por lo que parece a todos los comandos existen, pero quizás el PATH es la papelera.

Intentar

si "echo $ PATH" no se imprime nada intente ...


Código:
PATH=/bin:/usr/bin
export PATH

  #5 (Enlace permanente)  
Old 11-13-2007
wcmmlynn wcmmlynn is offline
Usuario Registrado
  
 

Fecha: noviembre 2007
Mensajes: 9
Lo siento ... y gracias por tu ayuda!

root @ host [/] # echo $ PATH
/ usr / local / jdk / bin: / usr / local / jdk / bin: / usr / kerberos / bin: / usr / lib / courier-imap / sbin: / usr / lib / courier-imap / bin: / usr / local / ant / bin: / usr / local / bin: / usr/X11R6/bin: / root / bin: / usr / local / bin: / usr/X11R6/bin

También tomó nota de LS en el directorio / bin redes de una lista de comandos sin embargo son varios redlined.
root @ host [/ bin] # ls
. / Csh @ falso * ln * @ nisdomainname setserial verdadera * *
.. / Corte * @ fgrep loadkeys * passwd @ @ sh umount *
* * arco fecha gawk pgawk login * * * * uname dormir *
* * Cenizas dd gettext ls * * * tipo de ping unicode_start * *
ash.static * DF * * grep mail * ping6 stty * * * unicode_stop
awk @ dmesg gtar * @ @ mailx su ps * * * desenlazar
basename dnsdomainname @ gunzip * * * pwd mkdir * suma usleep @ *
bash doexec * * * gzip mknod * rojo * @ sincronización vi*
BSH @ @ hostname domainname mktemp * * * rm * alquitrán vista @
gato dumpkeys * * * igawk más rmdir * * * ypdomainname tcsh @
chgrp eco * * * ipcalc montar rpm * * * contacto * zcat
chmod ed * * * t * kbd_mode RVI tracepath @ *
* @ chown egrep matar mv * * * rview @ tracepath6
cp * env ksh * * * netstat sed* Traceroute
cpio * ex * @ link setfont agradable * * * traceroute6


Su recomendación es una gran temperatura fija (PATH \u003d / bin: / usr / bin
export PATH), pero cuando me sesión / login se rompe de nuevo. ¿Hay una manera permanente para solucionar este camino?

Última edición por wcmmlynn; al 11-13-2007 03:59 AM.. Motivo: Más datos
  #6 (Enlace permanente)  
Old 11-13-2007
Portero porter is offline Forum Advisor  
Usuario Registrado
  
 

Fecha: enero 2007
Puestos: 2.965
Cita:
Publicado originalmente por wcmmlynn View Post
root @ host [/] # echo $ PATH
/ usr / local / jdk / bin: / usr / local / jdk / bin: / usr / kerberos / bin: / usr / lib / courier-imap / sbin: / usr / lib / courier-imap / bin: / usr / local / ant / bin: / usr / local / bin: / usr/X11R6/bin: / root / bin: / usr / local / bin: / usr/X11R6/bin
Por lo tanto, su PATH tiene todo excepto "/ bin" y "/ usr / bin"!

¿Está funcionando todo como root, o tiene una cuenta de usuario estándar para un trabajo normal?

.... y también deberían tener la raíz "/ sbin" y "/ usr / sbin en el camino.

Parece que usted tiene mucho más de lo que usted necesita para el funcionamiento normal de la raíz, pero todo el fregadero de la cocina (y los directorios que realmente necesitan).
Closed Thread

Marcadores

Etiquetas
cpio, comandos unix

Herramientas de hilo Buscar en este Hilo
Buscar en este Hilo:

Búsqueda avanzada
Modos de visualización Vota a este hilo
Vota a este hilo:

Normas de envío
puede que no nuevo puesto de hilos
puede que no enviar respuestas
puede que no enviar archivos adjuntos
puede que no editar sus puestos

Código BB es Encendido
Emoticones son Encendido
[IMG] código Encendido
Código HTML es Apagado
Trackbacks son Encendido
Pingbacks son Encendido
Refbacks son Encendido




Todas las horas son GMT -4. La hora es 01:06 PM.


Powered by: vBulletin, Copyright © 2000 - 2006, Jelsoft Enterprises Limited. Traducciones de idiomas Powered by .
vBCredits v1.4 Copyright © 2007 - 2008, PixelFX Estudios
El UNIX y Linux Foros Contenido Copyright © 1993-2009. Todos los derechos Reserved.Ad Gestión por RedTyger

Las direcciones URL de contenido vBSEO 3.2.0