LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   strange things to the monitor (https://www.linuxquestions.org/questions/linux-general-1/strange-things-to-the-monitor-109046/)

porous 10-27-2003 08:55 AM

strange things to the monitor
 
why is my monitor showing strange things when i try to view the file

#vi /proc/kcore .
is there any other way to see this file....

jim mcnamara 10-27-2003 09:07 AM

try using od - octal dump - to see what is in the file

The monitor is unhappy with some of the characters in the file.
vi will try to edit most types of files except executables.

porous 10-28-2003 06:23 AM

thanks you for that ...

i have some new problem now..
i have rh9 , but i am not able to dump directories using od ,
but i was able to dumb directories on freebsd4.7 using od
can someone tell me a way to do this on rh9

thx

jim mcnamara 10-28-2003 09:11 AM

I have no idea what you're trying to do....

Try
> cd somedirectory
> cat * | od | pg

will dump all of the files in the directory somedirectory
Change the * to something more useful.

porous 10-29-2003 08:05 AM

i was really trying to do

#od <directory name>

this works in bsd which will dumb the contents of the directory,
(which includes the inode nos of the files in the directory and the names of files etc)
but i am not able to do this in rh9 ,
so i was thinking is there any way to do thin in rh9 ...


All times are GMT -5. The time now is 05:36 AM.