LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-27-2003, 08:55 AM   #1
porous
Member
 
Registered: Oct 2003
Distribution: redhat 9
Posts: 147

Rep: Reputation: 15
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....
 
Old 10-27-2003, 09:07 AM   #2
jim mcnamara
Member
 
Registered: May 2002
Posts: 964

Rep: Reputation: 34
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.
 
Old 10-28-2003, 06:23 AM   #3
porous
Member
 
Registered: Oct 2003
Distribution: redhat 9
Posts: 147

Original Poster
Rep: Reputation: 15
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
 
Old 10-28-2003, 09:11 AM   #4
jim mcnamara
Member
 
Registered: May 2002
Posts: 964

Rep: Reputation: 34
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.
 
Old 10-29-2003, 08:05 AM   #5
porous
Member
 
Registered: Oct 2003
Distribution: redhat 9
Posts: 147

Original Poster
Rep: Reputation: 15
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 ...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
UT2004 and INI. strange things jerome23 Linux - Games 0 05-23-2005 04:09 AM
Strange things a foot with AC97 sound card dimension8300 Linux - Newbie 9 02-22-2005 04:23 AM
What funny things can we do with a monitor+tv-out? Linux.tar.gz Linux - Hardware 1 11-27-2004 04:49 PM
strange things connecting to wireless net hostprotect Linux - Wireless Networking 2 11-18-2004 04:16 AM
strange things you bring home when drunk. qwijibow General 11 06-25-2004 07:00 PM


All times are GMT -5. The time now is 03:29 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration